public:
OPTION(const std::string & shortName,
const std::string & longName,
public:
OPTION(const std::string & shortName,
const std::string & longName,
const std::string & description);
OPTION(const std::string & longName,
const std::string & description);
OPTION(const std::string & longName,
void ParseValue(const std::string & value);
bool Check(const char * arg) const;
const std::string & Name() const { return m_longName; }
void ParseValue(const std::string & value);
bool Check(const char * arg) const;
const std::string & Name() const { return m_longName; }
OPTION_BLOCK & Add(const std::string & shortName,
const std::string & longName,
OPTION_BLOCK & Add(const std::string & shortName,
const std::string & longName,
const std::string & description);
OPTION_BLOCK & Add(const std::string & longName,
const std::string & description);
OPTION_BLOCK & Add(const std::string & longName,
public:
OPTION_BLOCK & Add(const std::string & description)
{ m_blocks.push_back(OPTION_BLOCK(description)); return m_blocks.back(); }
public:
OPTION_BLOCK & Add(const std::string & description)
{ m_blocks.push_back(OPTION_BLOCK(description)); return m_blocks.back(); }
void Help(size_t level) const;
PARSER_STATE Parse(int argc, char ** argv);
private:
void Help(size_t level) const;
PARSER_STATE Parse(int argc, char ** argv);
private: