osg::ArgumentParser::Parameter Class Reference

List of all members.

Public Types

enum  ParameterType {
  BOOL_PARAMETER, FLOAT_PARAMETER, DOUBLE_PARAMETER, INT_PARAMETER,
  UNSIGNED_INT_PARAMETER, STRING_PARAMETER
}

Public Member Functions

 Parameter (bool &value)
 Parameter (float &value)
 Parameter (double &value)
 Parameter (int &value)
 Parameter (unsigned int &value)
 Parameter (std::string &value)
 Parameter (const Parameter &param)
Parameteroperator= (const Parameter &param)
bool valid (const char *str) const
bool assign (const char *str)

Protected Attributes

ParameterType _type
ValueUnion _value

Classes

union  ValueUnion


Member Enumeration Documentation

enum osg::ArgumentParser::Parameter::ParameterType

Enumerator:
BOOL_PARAMETER 
FLOAT_PARAMETER 
DOUBLE_PARAMETER 
INT_PARAMETER 
UNSIGNED_INT_PARAMETER 
STRING_PARAMETER 


Constructor & Destructor Documentation

osg::ArgumentParser::Parameter::Parameter ( bool &  value  )  [inline]

osg::ArgumentParser::Parameter::Parameter ( float &  value  )  [inline]

osg::ArgumentParser::Parameter::Parameter ( double &  value  )  [inline]

osg::ArgumentParser::Parameter::Parameter ( int &  value  )  [inline]

osg::ArgumentParser::Parameter::Parameter ( unsigned int &  value  )  [inline]

osg::ArgumentParser::Parameter::Parameter ( std::string &  value  )  [inline]

osg::ArgumentParser::Parameter::Parameter ( const Parameter param  )  [inline]


Member Function Documentation

Parameter& osg::ArgumentParser::Parameter::operator= ( const Parameter param  )  [inline]

bool osg::ArgumentParser::Parameter::valid ( const char *  str  )  const

bool osg::ArgumentParser::Parameter::assign ( const char *  str  ) 


Member Data Documentation

ParameterType osg::ArgumentParser::Parameter::_type [protected]

ValueUnion osg::ArgumentParser::Parameter::_value [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:04 2007 for the OpenSceneGraph by doxygen 1.5.3.