OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
osgDB::IntLookup Class Reference

#include <Serializer.h>

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
 

Detailed Description

Definition at line 39 of file Serializer.h.

Member Typedef Documentation

typedef std::map<std::string, Value> osgDB::IntLookup::StringToValue

Definition at line 43 of file Serializer.h.

Definition at line 42 of file Serializer.h.

typedef std::map<Value, std::string> osgDB::IntLookup::ValueToString

Definition at line 44 of file Serializer.h.

Constructor & Destructor Documentation

osgDB::IntLookup::IntLookup ( )
inline

Definition at line 46 of file Serializer.h.

Member Function Documentation

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

Definition at line 49 of file Serializer.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 75 of file Serializer.h.

Here is the caller graph for this function:

StringToValue& osgDB::IntLookup::getStringToValue ( )
inline

Definition at line 89 of file Serializer.h.

const StringToValue& osgDB::IntLookup::getStringToValue ( ) const
inline

Definition at line 90 of file Serializer.h.

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

Definition at line 61 of file Serializer.h.

Here is the caller graph for this function:

ValueToString& osgDB::IntLookup::getValueToString ( )
inline

Definition at line 92 of file Serializer.h.

Here is the caller graph for this function:

const ValueToString& osgDB::IntLookup::getValueToString ( ) const
inline

Definition at line 93 of file Serializer.h.

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

Definition at line 47 of file Serializer.h.

Member Data Documentation

StringToValue osgDB::IntLookup::_stringToValue
protected

Definition at line 96 of file Serializer.h.

ValueToString osgDB::IntLookup::_valueToString
protected

Definition at line 97 of file Serializer.h.


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