#include <CLP.h>
Public Member Functions | |
| CLS (std::string name, std::string shortName, std::string description, unsigned numberOfSwitchArguments) | |
| void | setSwitch (void) |
| void | addSwitchArgument (std::string argument) |
| void | resetSwitch () |
| unsigned | getNumberOfSwitchArguments (void) |
| bool | isSet (void) |
| std::string | getSwitchArgument (unsigned index) |
| const std::string | getDescription (void) const |
| const std::string | getShortName (void) const |
Private Attributes | |
| std::string | _name |
| std::string | _shortName |
| std::string | _description |
| unsigned | _numberOfSwitchArguments |
| std::vector< std::string > | _switchArguments |
| bool | _isSet |
| CLS::CLS | ( | std::string | name, | |
| std::string | shortName, | |||
| std::string | description, | |||
| unsigned | numberOfSwitchArguments | |||
| ) |
References _description, _isSet, _name, _numberOfSwitchArguments, and _shortName.
| void CLS::addSwitchArgument | ( | std::string | argument | ) | [inline] |
References _switchArguments.
Referenced by CLP::_setSwitchArguments().
| const std::string CLS::getDescription | ( | void | ) | const [inline] |
References _description.
| unsigned CLS::getNumberOfSwitchArguments | ( | void | ) | [inline] |
References _numberOfSwitchArguments.
Referenced by CLP::_setSwitchArguments().
| const std::string CLS::getShortName | ( | void | ) | const [inline] |
References _shortName.
| std::string CLS::getSwitchArgument | ( | unsigned | index | ) | [inline] |
References _switchArguments.
| bool CLS::isSet | ( | void | ) | [inline] |
References _isSet.
| void CLS::resetSwitch | ( | ) | [inline] |
References _isSet.
Referenced by CLP::_setSwitchArguments().
| void CLS::setSwitch | ( | void | ) | [inline] |
References _isSet.
Referenced by CLP::_setSwitchArguments().
std::string CLS::_description [private] |
Referenced by CLS(), and getDescription().
bool CLS::_isSet [private] |
Referenced by CLS(), isSet(), resetSwitch(), and setSwitch().
std::string CLS::_name [private] |
Referenced by CLS().
unsigned CLS::_numberOfSwitchArguments [private] |
Referenced by CLS(), and getNumberOfSwitchArguments().
std::string CLS::_shortName [private] |
Referenced by CLS(), and getShortName().
std::vector<std::string> CLS::_switchArguments [private] |
Referenced by addSwitchArgument(), and getSwitchArgument().
1.6.2-20100208