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 ¶m) | |
Parameter & | operator= (const Parameter ¶m) |
bool | valid (const char *str) const |
bool | assign (const char *str) |
Protected Attributes | |
ParameterType | _type |
ValueUnion | _value |
Classes | |
union | ValueUnion |
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] |
bool osg::ArgumentParser::Parameter::valid | ( | const char * | str | ) | const |
bool osg::ArgumentParser::Parameter::assign | ( | const char * | str | ) |
ParameterType osg::ArgumentParser::Parameter::_type [protected] |
ValueUnion osg::ArgumentParser::Parameter::_value [protected] |