OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Protected 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 ()
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

void osgDB::IntLookup::add ( const char *  str,
Value  value 
) [inline]
const std::string& osgDB::IntLookup::getString ( Value  value) [inline]
Value osgDB::IntLookup::getValue ( const char *  str) [inline]
unsigned int osgDB::IntLookup::size ( ) const [inline]

References _stringToValue.


Member Data Documentation

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

Referenced by add(), and getString().


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

osg logo
Generated at Mon Oct 3 2011 12:39:46 for the OpenSceneGraph by doxygen 1.7.5.