OpenSceneGraph  3.5.1
Public Types | Public Member Functions | Protected Attributes | List of all members
osgDB::IntLookup Class Reference

Public Types

typedef int Value
 
typedef std::map< std::string, ValueStringToValue
 
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

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
StringToValue& osgDB::IntLookup::getStringToValue ( )
inline
const StringToValue& osgDB::IntLookup::getStringToValue ( ) const
inline
Value osgDB::IntLookup::getValue ( const char *  str)
inline
ValueToString& osgDB::IntLookup::getValueToString ( )
inline
const ValueToString& osgDB::IntLookup::getValueToString ( ) const
inline
unsigned int osgDB::IntLookup::size ( ) const
inline

Member Data Documentation

StringToValue osgDB::IntLookup::_stringToValue
protected
ValueToString osgDB::IntLookup::_valueToString
protected

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

osg logo
Generated at Wed Nov 11 2015 22:14:54 for the OpenSceneGraph by doxygen 1.8.10.