OpenSceneGraph
3.0.1
|
Public Types | |
typedef TemplateSerializer < std::string > | ParentType |
typedef const std::string &(C::* | Getter )() const |
typedef void(C::* | Setter )(const std::string &) |
Public Member Functions | |
StringSerializer (const char *name, const std::string &def, Getter gf, Setter sf) | |
virtual bool | read (InputStream &is, osg::Object &obj) |
virtual bool | write (OutputStream &os, const osg::Object &obj) |
Public Attributes | |
Getter | _getter |
Setter | _setter |
typedef const std::string&(C::* osgDB::StringSerializer< C >::Getter)() const |
typedef TemplateSerializer<std::string> osgDB::StringSerializer< C >::ParentType |
typedef void(C::* osgDB::StringSerializer< C >::Setter)(const std::string &) |
osgDB::StringSerializer< C >::StringSerializer | ( | const char * | name, |
const std::string & | def, | ||
Getter | gf, | ||
Setter | sf | ||
) | [inline] |
virtual bool osgDB::StringSerializer< C >::read | ( | InputStream & | is, |
osg::Object & | obj | ||
) | [inline, virtual] |
Implements osgDB::TemplateSerializer< std::string >.
References osgDB::TemplateSerializer< std::string >::_defaultValue, osgDB::TemplateSerializer< std::string >::_name, osgDB::StringSerializer< C >::_setter, osgDB::InputStream::isBinary(), osgDB::InputStream::matchString(), and osgDB::InputStream::readWrappedString().
virtual bool osgDB::StringSerializer< C >::write | ( | OutputStream & | os, |
const osg::Object & | obj | ||
) | [inline, virtual] |
Getter osgDB::StringSerializer< C >::_getter |
Referenced by osgDB::StringSerializer< C >::write().
Setter osgDB::StringSerializer< C >::_setter |
Referenced by osgDB::StringSerializer< C >::read().
![]() | Generated at Mon Jun 4 2012 14:27:17 for the OpenSceneGraph by doxygen 1.8.0. |