Public Types | |
typedef int | Value |
typedef std::map< std::string, Value > | StringToValue |
typedef std::map< Value, std::string > | ValueToString |
Public Member Functions | |
IntLookup (Value defaultValue) | |
void | add (Value value, const char *str) |
Value | getValue (const char *str) |
const std::string & | getString (Value value) |
Public Attributes | |
StringToValue | _stringToValue |
ValueToString | _valueToString |
Value | _default |
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 | ( | Value | defaultValue | ) | [inline] |
void osgDB::IntLookup::add | ( | Value | value, | |
const char * | str | |||
) | [inline] |
const std::string& osgDB::IntLookup::getString | ( | Value | value | ) | [inline] |
Value osgDB::IntLookup::getValue | ( | const char * | str | ) | [inline] |
Referenced by getString(), and getValue().
Referenced by add(), and getValue().
Referenced by add(), and getString().
![]() | Generated at Mon Feb 23 17:55:34 2009 for the OpenSceneGraph by doxygen 1.5.8. |