code::AlgorithmCreator::CommandLineOption Struct Reference

List of all members.

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

Constructor & Destructor Documentation

code::AlgorithmCreator::CommandLineOption::CommandLineOption (  )  [inline]

code::AlgorithmCreator::CommandLineOption::CommandLineOption ( const XML::Element &  optionvalue,
AlgorithmCreator::State creator 
) throw (code::Exception)

Member Function Documentation

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]

Member Data Documentation

std::string code::AlgorithmCreator::CommandLineOption::defaultValue

for boolean, the defaultValue should be "false"

char code::AlgorithmCreator::CommandLineOption::letter

std::string code::AlgorithmCreator::CommandLineOption::name

std::string code::AlgorithmCreator::CommandLineOption::note

bool code::AlgorithmCreator::CommandLineOption::required

Generated on Fri May 4 13:40:22 2012 for WDSS-IIw2algs by  doxygen 1.4.7