|
OpenSceneGraph
3.4.0
|
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) |
| StringToValue & | getStringToValue () |
| const StringToValue & | getStringToValue () const |
| ValueToString & | getValueToString () |
| const ValueToString & | getValueToString () const |
Protected Attributes | |
| StringToValue | _stringToValue |
| ValueToString | _valueToString |
| typedef std::map<std::string, Value> osgDB::IntLookup::StringToValue |
| typedef int osgDB::IntLookup::Value |
| typedef std::map<Value, std::string> osgDB::IntLookup::ValueToString |
| osgDB::IntLookup::IntLookup | ( | ) | [inline] |
| void osgDB::IntLookup::add | ( | const char * | str, |
| Value | value | ||
| ) | [inline] |
References _stringToValue, _valueToString, osg::INFO, and osg::notify().
Referenced by osgDB::EnumSerializer< C, P, B >::add(), and osgDB::BitFlagsSerializer< C, P >::add().
| const std::string& osgDB::IntLookup::getString | ( | Value | value | ) | [inline] |
References _valueToString.
Referenced by osgDB::EnumSerializer< C, P, B >::getString(), and osgDB::BitFlagsSerializer< C, P >::getString().
| StringToValue& osgDB::IntLookup::getStringToValue | ( | ) | [inline] |
References _stringToValue.
| const StringToValue& osgDB::IntLookup::getStringToValue | ( | ) | const [inline] |
References _stringToValue.
| Value osgDB::IntLookup::getValue | ( | const char * | str | ) | [inline] |
References _stringToValue.
Referenced by osgDB::EnumSerializer< C, P, B >::getValue(), osgDB::BitFlagsSerializer< C, P >::getValue(), and osgDB::BitFlagsSerializer< C, P >::read().
| ValueToString& osgDB::IntLookup::getValueToString | ( | ) | [inline] |
References _valueToString.
Referenced by osgDB::BitFlagsSerializer< C, P >::write().
| const ValueToString& osgDB::IntLookup::getValueToString | ( | ) | const [inline] |
References _valueToString.
| unsigned int osgDB::IntLookup::size | ( | ) | const [inline] |
References _stringToValue.
StringToValue osgDB::IntLookup::_stringToValue [protected] |
Referenced by add(), getStringToValue(), getValue(), and size().
ValueToString osgDB::IntLookup::_valueToString [protected] |
Referenced by add(), getString(), and getValueToString().
| Generated at Tue Dec 8 2015 00:16:46 for the OpenSceneGraph by doxygen 1.7.6.1. |