OpenSceneGraph
3.0.1
|
Public Types | |
typedef TemplateSerializer< P > | ParentType |
typedef P(C::* | Getter )() const |
typedef void(C::* | Setter )(P) |
Public Member Functions | |
PropByValSerializer (const char *name, P def, Getter gf, Setter sf, bool useHex=false) | |
virtual bool | read (InputStream &is, osg::Object &obj) |
virtual bool | write (OutputStream &os, const osg::Object &obj) |
Public Attributes | |
Getter | _getter |
Setter | _setter |
Protected Attributes | |
bool | _useHex |
typedef P(C::* osgDB::PropByValSerializer< C, P >::Getter)() const |
typedef TemplateSerializer<P> osgDB::PropByValSerializer< C, P >::ParentType |
typedef void(C::* osgDB::PropByValSerializer< C, P >::Setter)(P) |
osgDB::PropByValSerializer< C, P >::PropByValSerializer | ( | const char * | name, |
P | def, | ||
Getter | gf, | ||
Setter | sf, | ||
bool | useHex = false |
||
) | [inline] |
virtual bool osgDB::PropByValSerializer< C, P >::read | ( | InputStream & | is, |
osg::Object & | obj | ||
) | [inline, virtual] |
Implements osgDB::TemplateSerializer< P >.
References osgDB::TemplateSerializer< P >::_defaultValue, osgDB::TemplateSerializer< P >::_name, osgDB::PropByValSerializer< C, P >::_setter, osgDB::PropByValSerializer< C, P >::_useHex, osgDB::InputStream::isBinary(), and osgDB::InputStream::matchString().
virtual bool osgDB::PropByValSerializer< C, P >::write | ( | OutputStream & | os, |
const osg::Object & | obj | ||
) | [inline, virtual] |
Getter osgDB::PropByValSerializer< C, P >::_getter |
Referenced by osgDB::PropByValSerializer< C, P >::write().
Setter osgDB::PropByValSerializer< C, P >::_setter |
Referenced by osgDB::PropByValSerializer< C, P >::read().
bool osgDB::PropByValSerializer< C, P >::_useHex [protected] |
![]() | Generated at Sat Apr 28 2012 08:44:18 for the OpenSceneGraph by doxygen 1.8.0. |