|
openscenegraph
|
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) |
| Value | getValue (const char *str) |
| const std::string & | getString (Value value) |
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::notify(), and osg::WARN.
Referenced by osgDB::EnumSerializer< C, P, B >::add().
|
inline |
References _valueToString.
Referenced by osgDB::EnumSerializer< C, P, B >::getString().
|
inline |
References _stringToValue.
Referenced by osgDB::EnumSerializer< C, P, B >::getValue().
|
inline |
References _stringToValue.
|
protected |
Referenced by add(), getValue(), and size().
|
protected |
Referenced by add(), and getString().
1.8.6