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 Mon Feb 23 17:50:10 2009 for the OpenSceneGraph by doxygen 1.5.8.