#include <IntParamDef.h>
Public Member Functions | |
IntParamDef () | |
IntParamDef (const string &nameVal, const string &helpVal, const string &promptVal, bool isRequired, auto_ptr< int > defaultVal, auto_ptr< string > strDefault, auto_ptr< string > unitsVal, auto_ptr< int > maxVal, auto_ptr< int > minVal, auto_ptr< vector< int > > validVals) | |
virtual | ~IntParamDef () |
auto_ptr< int > | getDefault () |
auto_ptr< string > | getStringDefault () |
auto_ptr< string > | getUnits () |
auto_ptr< int > | getMax () |
auto_ptr< int > | getMin () |
auto_ptr< vector< int > > | getValidValues () |
bool | getHasDefault () |
bool | getHasStringDefault () |
bool | getHasUnits () |
bool | getHasMax () |
bool | getHasMin () |
bool | getHasValidValues () |
Private Attributes | |
string | stringDefault_m |
string | units_m |
int | defaultValue_m |
int | max_m |
int | min_m |
vector< int > | validValues_m |
bool | hasDefault_m |
bool | hasStringDefault_m |
bool | hasMax_m |
bool | hasMin_m |
bool | hasValidValues_m |
bool | hasUnits_m |
IntParamDef class used to support OFFLINE tasks
Parameters::IntParamDef::IntParamDef | ( | ) |
Constructor
Parameters::IntParamDef::IntParamDef | ( | const string & | nameVal, | |
const string & | helpVal, | |||
const string & | promptVal, | |||
bool | isRequired, | |||
auto_ptr< int > | defaultVal, | |||
auto_ptr< string > | strDefault, | |||
auto_ptr< string > | unitsVal, | |||
auto_ptr< int > | maxVal, | |||
auto_ptr< int > | minVal, | |||
auto_ptr< vector< int > > | validVals | |||
) |
Constructor.
virtual Parameters::IntParamDef::~IntParamDef | ( | ) | [virtual] |
Destructor
auto_ptr< int > Parameters::IntParamDef::getDefault | ( | ) |
bool Parameters::IntParamDef::getHasDefault | ( | ) |
bool Parameters::IntParamDef::getHasMax | ( | ) |
bool Parameters::IntParamDef::getHasMin | ( | ) |
bool Parameters::IntParamDef::getHasStringDefault | ( | ) |
bool Parameters::IntParamDef::getHasUnits | ( | ) |
bool Parameters::IntParamDef::getHasValidValues | ( | ) |
auto_ptr< int > Parameters::IntParamDef::getMax | ( | ) |
auto_ptr< int > Parameters::IntParamDef::getMin | ( | ) |
auto_ptr< string > Parameters::IntParamDef::getStringDefault | ( | ) |
auto_ptr< string > Parameters::IntParamDef::getUnits | ( | ) |
auto_ptr< vector<int> > Parameters::IntParamDef::getValidValues | ( | ) |
int Parameters::IntParamDef::defaultValue_m [private] |
bool Parameters::IntParamDef::hasDefault_m [private] |
bool Parameters::IntParamDef::hasMax_m [private] |
bool Parameters::IntParamDef::hasMin_m [private] |
bool Parameters::IntParamDef::hasStringDefault_m [private] |
bool Parameters::IntParamDef::hasUnits_m [private] |
bool Parameters::IntParamDef::hasValidValues_m [private] |
int Parameters::IntParamDef::max_m [private] |
int Parameters::IntParamDef::min_m [private] |
string Parameters::IntParamDef::stringDefault_m [private] |
string Parameters::IntParamDef::units_m [private] |
vector<int> Parameters::IntParamDef::validValues_m [private] |