OpenSceneGraph  3.4.0
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)
StringToValuegetStringToValue ()
const StringToValuegetStringToValue () const
ValueToStringgetValueToString ()
const ValueToStringgetValueToString () const

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


Member Function Documentation

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

References _stringToValue.

References _stringToValue.

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

References _valueToString.

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

References _stringToValue.


Member Data Documentation

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

Referenced by add(), getString(), and getValueToString().


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

osg logo
Generated at Tue Dec 8 2015 00:14:28 for the OpenSceneGraph by doxygen 1.7.6.1.