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< T >::TemplateValueObject | ( | ) | [inline] |
Referenced by osg::TemplateValueObject< T >::clone(), and osg::TemplateValueObject< T >::cloneType().
osg::TemplateValueObject< T >::TemplateValueObject | ( | const std::string & | name, |
const T & | value | ||
) | [inline] |
osg::TemplateValueObject< T >::TemplateValueObject | ( | const TemplateValueObject< T > & | rhs, |
const osg::CopyOp | copyop = osg::CopyOp::SHALLOW_COPY |
||
) | [inline] |
virtual const char* osg::TemplateValueObject< T >::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Implements osg::Object.
virtual Object* osg::TemplateValueObject< T >::clone | ( | const CopyOp & | ) | const [inline, virtual] |
Clone an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
References osg::TemplateValueObject< T >::TemplateValueObject().
virtual Object* osg::TemplateValueObject< T >::cloneType | ( | ) | const [inline, virtual] |
Clone the type of an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
References osg::TemplateValueObject< T >::TemplateValueObject().
virtual bool osg::TemplateValueObject< T >::get | ( | GetValueVisitor & | gvv | ) | const [inline, virtual] |
Reimplemented from osg::ValueObject.
References osg::TemplateValueObject< T >::_value.
const T& osg::TemplateValueObject< T >::getValue | ( | ) | const [inline] |
References osg::TemplateValueObject< T >::_value.
virtual bool osg::TemplateValueObject< T >::isSameKindAs | ( | const Object * | obj | ) | const [inline, virtual] |
Reimplemented from osg::Object.
References NULL.
virtual const char* osg::TemplateValueObject< T >::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< T >::set | ( | SetValueVisitor & | svv | ) | [inline, virtual] |
Reimplemented from osg::ValueObject.
References osg::TemplateValueObject< T >::_value.
void osg::TemplateValueObject< T >::setValue | ( | const T & | value | ) | [inline] |
References osg::TemplateValueObject< T >::_value.
T osg::TemplateValueObject< T >::_value [protected] |
const char* osg::TemplateValueObject< T >::s_TemplateValueObject_className [static, protected] |
![]() | Generated at Fri Apr 27 2012 20:41:25 for the OpenSceneGraph by doxygen 1.8.0. |