OpenSceneGraph
3.0.1
|
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 |
osgDB::IntLookup::IntLookup | ( | ) | [inline] |
void osgDB::IntLookup::add | ( | const char * | str, |
Value | value | ||
) | [inline] |
References _stringToValue, _valueToString, osg::notify(), and osg::WARN.
Referenced by osgDB::EnumSerializer< C, P, B >::add().
const std::string& osgDB::IntLookup::getString | ( | Value | value | ) | [inline] |
References _valueToString.
Referenced by osgDB::EnumSerializer< C, P, B >::getString().
Value osgDB::IntLookup::getValue | ( | const char * | str | ) | [inline] |
References _stringToValue.
Referenced by osgDB::EnumSerializer< C, P, B >::getValue().
unsigned int osgDB::IntLookup::size | ( | ) | const [inline] |
References _stringToValue.
StringToValue osgDB::IntLookup::_stringToValue [protected] |
Referenced by add(), getValue(), and size().
ValueToString osgDB::IntLookup::_valueToString [protected] |
Referenced by add(), and getString().
![]() | Generated at Sun May 6 2012 20:34:34 for the OpenSceneGraph by doxygen 1.8.0. |