|
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< C, P, B >::Getter)() const |
| typedef TemplateSerializer<P> osgDB::EnumSerializer< C, P, B >::ParentType |
| typedef B(C::* osgDB::EnumSerializer< C, P, B >::Setter)(P) |
| osgDB::EnumSerializer< C, P, B >::EnumSerializer | ( | const char * | name, |
| P | def, | ||
| Getter | gf, | ||
| Setter | sf | ||
| ) | [inline] |
| void osgDB::EnumSerializer< C, P, B >::add | ( | const char * | str, |
| P | value | ||
| ) | [inline] |
References osgDB::EnumSerializer< C, P, B >::_lookup, and osgDB::IntLookup::add().
| const std::string& osgDB::EnumSerializer< C, P, B >::getString | ( | P | value | ) | [inline] |
References osgDB::EnumSerializer< C, P, B >::_lookup, and osgDB::IntLookup::getString().
Referenced by osgDB::EnumSerializer< C, P, B >::write().
| P osgDB::EnumSerializer< C, P, B >::getValue | ( | const char * | str | ) | [inline] |
References osgDB::EnumSerializer< C, P, B >::_lookup, and osgDB::IntLookup::getValue().
Referenced by osgDB::EnumSerializer< C, P, B >::read().
| virtual bool osgDB::EnumSerializer< C, P, B >::read | ( | InputStream & | is, |
| osg::Object & | obj | ||
| ) | [inline, virtual] |
| virtual bool osgDB::EnumSerializer< C, P, B >::write | ( | osgDB::OutputStream & | os, |
| const osg::Object & | obj | ||
| ) | [inline, virtual] |
| Getter osgDB::EnumSerializer< C, P, B >::_getter |
Referenced by osgDB::EnumSerializer< C, P, B >::write().
IntLookup osgDB::EnumSerializer< C, P, B >::_lookup [protected] |
| Setter osgDB::EnumSerializer< C, P, B >::_setter |
Referenced by osgDB::EnumSerializer< C, P, B >::read().
| Generated at Thu Sep 27 2012 17:03:13 for the OpenSceneGraph by doxygen 1.7.6.1. |