22 #ifndef OptionsParser_h 23 #define OptionsParser_h 66 static bool parse(
int argc,
char** argv);
77 static int check(
const char* arg1,
const char* arg2,
bool& ok);
105 static std::string
convert(
const char* arg);
113 static std::string
convert(
char abbr);
static int check(const char *arg1, const char *arg2, bool &ok)
parses the previous arguments
static bool checkParameter(const char *arg1)
Returns the whether the given token is an option.
static bool processNonBooleanSingleSwitch(OptionsCont &oc, const char *arg)
Extracts the parameter directly attached to an option.
Parses command line arguments.
static bool parse(int argc, char **argv)
Parses the given command line arguments.
static bool isAbbreviation(const char *arg1)
returns the whether the given token is an abbreviation
A storage for options typed value containers)
static std::string convert(const char *arg)
Converts char* to string.