18 #ifndef CLI_PARAMS_GUARD
19 #define CLI_PARAMS_GUARD
39 void add(auto_ptr<Parameter> param);
44 bool hasParam(
const string& name)
const;
51 unsigned int paramCount);
const string & getString(const CliParams ¶ms, const string &name)
unsigned int getInt(const CliParams ¶ms, const string &name)
bool getBool(const CliParams ¶ms, const string &name)
void setBool(CliParams ¶ms, const string &name, bool newValue)
vector< Parameter * > _params
const_iterator end() const
void processOption(const string &optionName, const char **params, unsigned int paramCount)
bool hasParam(const string &name) const
vector< Parameter * >::iterator iterator
vector< Parameter * > _ownedParams
const_iterator begin() const
ElementDeleter< vector< Parameter * > > _paramsDeleter
void parseCommandLine(unsigned int tokenCount, const char **tokens)
vector< Parameter * >::const_iterator const_iterator
const Parameter & getParam(const string &name) const
void add(auto_ptr< Parameter > param)