|
OpenSceneGraph
3.0.1
|

Public Types | |
| typedef TemplateSerializer< P > | ParentType |
| typedef P(C::* | Getter )() const |
| typedef B(C::* | Setter )(P) |
Public Member Functions | |
| EnumSerializer (const char *name, P def, Getter gf, Setter sf) | |
| void | add (const char *str, P value) |
| P | getValue (const char *str) |
| const std::string & | getString (P value) |
| virtual bool | read (InputStream &is, osg::Object &obj) |
| virtual bool | write (osgDB::OutputStream &os, const osg::Object &obj) |
Public Attributes | |
| Getter | _getter |
| Setter | _setter |
Protected Attributes | |
| IntLookup | _lookup |
| typedef P(C::* osgDB::EnumSerializer::Getter)() const |
| typedef B(C::* osgDB::EnumSerializer::Setter)(P) |
| void osgDB::EnumSerializer::add | ( | const char * | str, |
| P | value | ||
| ) | [inline] |
References _lookup, and osgDB::IntLookup::add().
| const std::string& osgDB::EnumSerializer::getString | ( | P | value | ) | [inline] |
References _lookup, and osgDB::IntLookup::getString().
Referenced by write().
| P osgDB::EnumSerializer::getValue | ( | const char * | str | ) | [inline] |
References _lookup, and osgDB::IntLookup::getValue().
Referenced by read().
| virtual bool osgDB::EnumSerializer::read | ( | InputStream & | is, |
| osg::Object & | obj | ||
| ) | [inline, virtual] |
| virtual bool osgDB::EnumSerializer::write | ( | osgDB::OutputStream & | os, |
| const osg::Object & | obj | ||
| ) | [inline, virtual] |
Referenced by write().
IntLookup osgDB::EnumSerializer::_lookup [protected] |
Referenced by add(), getValue(), and getString().
Referenced by read().
| Generated at Tue Oct 11 2011 20:19:57 for the OpenSceneGraph by doxygen 1.7.5. |