Public Member Functions | |
bool | isBoolean () const |
CommandLineOption () | |
CommandLineOption (const XML::Element &optionvalue, AlgorithmCreator::State &creator) throw (code::Exception) | |
void | addToUsage (std::string &opt, std::string &helps) const |
The first string is an enumeration of the options: "i:o:r" etc. | |
std::string | getOptionSettingSourceCode () const |
Public Attributes | |
char | letter |
std::string | name |
bool | required |
std::string | defaultValue |
for boolean, the defaultValue should be "false" | |
std::string | note |
code::AlgorithmCreator::CommandLineOption::CommandLineOption | ( | ) | [inline] |
code::AlgorithmCreator::CommandLineOption::CommandLineOption | ( | const XML::Element & | optionvalue, | |
AlgorithmCreator::State & | creator | |||
) | throw (code::Exception) |
void code::AlgorithmCreator::CommandLineOption::addToUsage | ( | std::string & | opt, | |
std::string & | helps | |||
) | const |
The first string is an enumeration of the options: "i:o:r" etc.
The second string is a verbose description.
std::string code::AlgorithmCreator::CommandLineOption::getOptionSettingSourceCode | ( | ) | const |
bool code::AlgorithmCreator::CommandLineOption::isBoolean | ( | ) | const [inline] |
for boolean, the defaultValue should be "false"
std::string code::AlgorithmCreator::CommandLineOption::name |
std::string code::AlgorithmCreator::CommandLineOption::note |