OpenSceneGraph  3.5.1
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
osg::ArgumentParser::Parameter Class Reference

Classes

union  ValueUnion
 

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
 

Member Enumeration Documentation

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

bool osg::ArgumentParser::Parameter::assign ( const char *  str)
Parameter& osg::ArgumentParser::Parameter::operator= ( const Parameter param)
inline
bool osg::ArgumentParser::Parameter::valid ( const char *  str) const

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:

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