OpenSceneGraph 2.8.4
Public Types | Public Member Functions | Public Attributes
osgDB::IntLookup Class Reference

List of all members.

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

Member Typedef Documentation

typedef std::map<std::string, Value> osgDB::IntLookup::StringToValue
typedef std::map<Value, std::string> osgDB::IntLookup::ValueToString

Constructor & Destructor Documentation

osgDB::IntLookup::IntLookup ( Value  defaultValue) [inline]

Member Function Documentation

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]

Member Data Documentation

Referenced by getString(), and getValue().

Referenced by add(), and getValue().

Referenced by add(), and getString().


The documentation for this class was generated from the following file:

osg logo
Generated at Sun Jan 8 2012 13:16:32 for the OpenSceneGraph by doxygen 1.7.4.