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 _valueToString, osg::notify(), osg::WARN, and _stringToValue.
Referenced by osgDB::EnumSerializer::add().
const std::string& osgDB::IntLookup::getString | ( | Value | value | ) | [inline] |
References _valueToString.
Referenced by osgDB::EnumSerializer::getString().
Value osgDB::IntLookup::getValue | ( | const char * | str | ) | [inline] |
References _stringToValue.
Referenced by osgDB::EnumSerializer::getValue().
unsigned int osgDB::IntLookup::size | ( | ) | const [inline] |
References _stringToValue.
StringToValue osgDB::IntLookup::_stringToValue [protected] |
Referenced by size(), add(), and getValue().
ValueToString osgDB::IntLookup::_valueToString [protected] |
Referenced by add(), and getString().
![]() | Generated at Mon Oct 3 2011 12:39:46 for the OpenSceneGraph by doxygen 1.7.5. |