|
openscenegraph
|
#include <Serializer>
Public Types | |
| typedef int | Value |
| typedef std::map< std::string, Value > | StringToValue |
| typedef std::map< Value, std::string > | ValueToString |
Public Member Functions | |
| IntLookup () | |
| unsigned int | size () const |
| void | add (const char *str, Value value) |
| void | add2 (const char *str, const char *newStr, Value value) |
| Value | getValue (const char *str) |
| const std::string & | getString (Value value) |
| StringToValue & | getStringToValue () |
| const StringToValue & | getStringToValue () const |
| ValueToString & | getValueToString () |
| const ValueToString & | getValueToString () const |
Protected Attributes | |
| StringToValue | _stringToValue |
| ValueToString | _valueToString |
| typedef std::map<std::string, Value> osgDB::IntLookup::StringToValue |
| typedef int osgDB::IntLookup::Value |
| typedef std::map<Value, std::string> osgDB::IntLookup::ValueToString |
|
inline |
|
inline |
References _stringToValue, _valueToString, osg::INFO, and osg::notify().
Referenced by osgDB::EnumSerializer< C, P, B >::add(), and osgDB::BitFlagsSerializer< C, P >::add().
|
inline |
References _stringToValue, _valueToString, osg::INFO, and osg::notify().
|
inline |
References _valueToString.
Referenced by osgDB::EnumSerializer< C, P, B >::getString(), and osgDB::BitFlagsSerializer< C, P >::getString().
|
inline |
References _stringToValue.
|
inline |
References _stringToValue.
|
inline |
References _stringToValue.
Referenced by osgDB::EnumSerializer< C, P, B >::getValue(), osgDB::BitFlagsSerializer< C, P >::getValue(), and osgDB::BitFlagsSerializer< C, P >::read().
|
inline |
References _valueToString.
Referenced by osgDB::BitFlagsSerializer< C, P >::write().
|
inline |
References _valueToString.
|
inline |
References _stringToValue.
|
protected |
Referenced by add(), add2(), getStringToValue(), getStringToValue(), getValue(), and size().
|
protected |
Referenced by add(), add2(), getString(), getValueToString(), and getValueToString().