|
OpenSceneGraph
3.4.0
|

Public Types | |
| typedef TemplateSerializer< P > | ParentType |
| typedef P(C::* | Getter )() const |
| typedef void(C::* | Setter )(P) |
Public Member Functions | |
| BitFlagsSerializer (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 (osgDB::InputStream &is, osg::Object &obj) |
| virtual bool | write (osgDB::OutputStream &os, const osg::Object &obj) |
Public Attributes | |
| Getter | _getter |
| Setter | _setter |
Protected Attributes | |
| osgDB::IntLookup | _lookup |
| typedef P(C::* osgDB::BitFlagsSerializer< C, P >::Getter)() const |
| typedef TemplateSerializer<P> osgDB::BitFlagsSerializer< C, P >::ParentType |
| typedef void(C::* osgDB::BitFlagsSerializer< C, P >::Setter)(P) |
| osgDB::BitFlagsSerializer< C, P >::BitFlagsSerializer | ( | const char * | name, |
| P | def, | ||
| Getter | gf, | ||
| Setter | sf | ||
| ) | [inline] |
| void osgDB::BitFlagsSerializer< C, P >::add | ( | const char * | str, |
| P | value | ||
| ) | [inline] |
References osgDB::BitFlagsSerializer< C, P >::_lookup, and osgDB::IntLookup::add().
| const std::string& osgDB::BitFlagsSerializer< C, P >::getString | ( | P | value | ) | [inline] |
References osgDB::BitFlagsSerializer< C, P >::_lookup, and osgDB::IntLookup::getString().
| P osgDB::BitFlagsSerializer< C, P >::getValue | ( | const char * | str | ) | [inline] |
References osgDB::BitFlagsSerializer< C, P >::_lookup, and osgDB::IntLookup::getValue().
| virtual bool osgDB::BitFlagsSerializer< C, P >::read | ( | osgDB::InputStream & | is, |
| osg::Object & | obj | ||
| ) | [inline, virtual] |
Implements osgDB::TemplateSerializer< P >.
References osgDB::BitFlagsSerializer< C, P >::_lookup, osgDB::TemplateSerializer< P >::_name, osgDB::BitFlagsSerializer< C, P >::_setter, osgDB::InputStream::getFileVersion(), osgDB::IntLookup::getValue(), osgDB::InputStream::isBinary(), osgDB::InputStream::matchString(), and osgDB::split().
| virtual bool osgDB::BitFlagsSerializer< C, P >::write | ( | osgDB::OutputStream & | os, |
| const osg::Object & | obj | ||
| ) | [inline, virtual] |
Implements osgDB::TemplateSerializer< P >.
References osgDB::TemplateSerializer< P >::_defaultValue, osgDB::BitFlagsSerializer< C, P >::_getter, osgDB::BitFlagsSerializer< C, P >::_lookup, osgDB::TemplateSerializer< P >::_name, osgDB::OutputStream::getFileVersion(), osgDB::IntLookup::getValueToString(), osgDB::OutputStream::isBinary(), and osgDB::OutputStream::PROPERTY.
| Getter osgDB::BitFlagsSerializer< C, P >::_getter |
Referenced by osgDB::BitFlagsSerializer< C, P >::write().
osgDB::IntLookup osgDB::BitFlagsSerializer< C, P >::_lookup [protected] |
| Setter osgDB::BitFlagsSerializer< C, P >::_setter |
Referenced by osgDB::BitFlagsSerializer< C, P >::read().
| Generated at Tue Dec 8 2015 00:16:47 for the OpenSceneGraph by doxygen 1.7.6.1. |