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 ()
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


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 (  )  [inline]


Member Function Documentation

unsigned int osgDB::IntLookup::size (  )  const [inline]

References _stringToValue.

void osgDB::IntLookup::add ( const char *  str,
Value  value 
) [inline]

Value osgDB::IntLookup::getValue ( const char *  str  )  [inline]

const std::string& osgDB::IntLookup::getString ( Value  value  )  [inline]


Member Data Documentation

Referenced by add(), getValue(), and size().

Referenced by add(), and getString().


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

Generated on Fri Mar 19 19:52:54 2010 for openscenegraph by  doxygen 1.5.6