OpenSceneGraph
3.0.1
|
Public Member Functions | |
TemplateValueObject () | |
TemplateValueObject (const std::string &name, const T &value) | |
TemplateValueObject (const TemplateValueObject &rhs, const osg::CopyOp copyop=osg::CopyOp::SHALLOW_COPY) | |
virtual Object * | cloneType () const |
Clone the type of an object, with Object* return type. | |
virtual Object * | clone (const CopyOp ©op) const |
Clone an object, with Object* return type. | |
virtual bool | isSameKindAs (const Object *obj) const |
virtual const char * | libraryName () const |
return the name of the object's library. | |
virtual const char * | className () const |
return the name of the object's class type. | |
void | setValue (const T &value) |
const T & | getValue () const |
virtual bool | get (GetValueVisitor &gvv) const |
virtual bool | set (SetValueVisitor &svv) |
Protected Attributes | |
T | _value |
Static Protected Attributes | |
static const char * | s_TemplateValueObject_className |
osg::TemplateValueObject::TemplateValueObject | ( | ) | [inline] |
Referenced by cloneType(), and clone().
osg::TemplateValueObject::TemplateValueObject | ( | const std::string & | name, |
const T & | value | ||
) | [inline] |
osg::TemplateValueObject::TemplateValueObject | ( | const TemplateValueObject & | rhs, |
const osg::CopyOp | copyop = osg::CopyOp::SHALLOW_COPY |
||
) | [inline] |
virtual const char* osg::TemplateValueObject::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Implements osg::Object.
Clone an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
References TemplateValueObject().
virtual Object* osg::TemplateValueObject::cloneType | ( | ) | const [inline, virtual] |
Clone the type of an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
References TemplateValueObject().
virtual bool osg::TemplateValueObject::get | ( | GetValueVisitor & | gvv | ) | const [inline, virtual] |
Reimplemented from osg::ValueObject.
References _value.
const T& osg::TemplateValueObject::getValue | ( | ) | const [inline] |
References _value.
virtual bool osg::TemplateValueObject::isSameKindAs | ( | const Object * | obj | ) | const [inline, virtual] |
Reimplemented from osg::Object.
References NULL.
virtual const char* osg::TemplateValueObject::libraryName | ( | ) | const [inline, virtual] |
return the name of the object's library.
Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Implements osg::Object.
virtual bool osg::TemplateValueObject::set | ( | SetValueVisitor & | svv | ) | [inline, virtual] |
Reimplemented from osg::ValueObject.
References _value.
void osg::TemplateValueObject::setValue | ( | const T & | value | ) | [inline] |
References _value.
T osg::TemplateValueObject::_value [protected] |
Referenced by setValue(), getValue(), get(), and set().
const char* osg::TemplateValueObject::s_TemplateValueObject_className [static, protected] |
![]() | Generated at Mon Oct 3 2011 12:39:45 for the OpenSceneGraph by doxygen 1.7.5. |