OpenSceneGraph 2.8.4
|
Public Types | |
typedef const std::string & | P |
typedef P(C::* | GetterFunctionType )() const |
typedef void(C::* | SetterFunctionType )(P) |
Public Member Functions | |
StringSerializer (const char *fieldName, P defaultValue, GetterFunctionType getter, SetterFunctionType setter) | |
bool | write (osgDB::Output &fw, const osg::Object &obj) |
bool | read (osgDB::Input &fr, osg::Object &obj, bool &itrAdvanced) |
Public Attributes | |
std::string | _fieldName |
std::string | _default |
GetterFunctionType | _getter |
SetterFunctionType | _setter |
typedef P(C::* osgDB::StringSerializer< C >::GetterFunctionType)() const |
typedef const std::string& osgDB::StringSerializer< C >::P |
typedef void(C::* osgDB::StringSerializer< C >::SetterFunctionType)(P) |
osgDB::StringSerializer< C >::StringSerializer | ( | const char * | fieldName, |
P | defaultValue, | ||
GetterFunctionType | getter, | ||
SetterFunctionType | setter | ||
) | [inline] |
bool osgDB::StringSerializer< C >::read | ( | osgDB::Input & | fr, |
osg::Object & | obj, | ||
bool & | itrAdvanced | ||
) | [inline, virtual] |
Implements osgDB::Serializer.
References osgDB::StringSerializer< C >::_fieldName, and osgDB::StringSerializer< C >::_setter.
bool osgDB::StringSerializer< C >::write | ( | osgDB::Output & | fw, |
const osg::Object & | obj | ||
) | [inline, virtual] |
std::string osgDB::StringSerializer< C >::_default |
Referenced by osgDB::StringSerializer< C >::write().
std::string osgDB::StringSerializer< C >::_fieldName |
Referenced by osgDB::StringSerializer< C >::read(), and osgDB::StringSerializer< C >::write().
GetterFunctionType osgDB::StringSerializer< C >::_getter |
Referenced by osgDB::StringSerializer< C >::write().
SetterFunctionType osgDB::StringSerializer< C >::_setter |
Referenced by osgDB::StringSerializer< C >::read().
![]() | Generated at Sun Jan 8 2012 13:16:32 for the OpenSceneGraph by doxygen 1.7.4. |