Bincimap 2.0.16
Easy Imapping
|
#include <argparser.h>
Public Member Functions | |
CommandLineArgs (void) | |
bool | parse (int argc, char *argv[]) |
std::string | errorString (void) const |
int | argc (void) const |
const std::string | operator[] (const std::string &arg) const |
void | addOptional (const std::string &arg, const std::string &desc, bool boolean) |
void | addRequired (const std::string &arg, const std::string &desc, bool boolean) |
bool | hasArg (const std::string &arg) const |
std::string | usageString (void) const |
void | setTail (const std::string &str) |
const std::vector< std::string > & | getUnqualifiedArgs () const |
Definition at line 31 of file argparser.h.
CommandLineArgs | ( | void | ) |
Definition at line 17 of file argparser.cc.
void addOptional | ( | const std::string & | arg, |
const std::string & | desc, | ||
bool | boolean | ||
) |
void addRequired | ( | const std::string & | arg, |
const std::string & | desc, | ||
bool | boolean | ||
) |
Definition at line 231 of file argparser.cc.
int argc | ( | void | ) | const |
string errorString | ( | void | ) | const |
const vector< string > & getUnqualifiedArgs | ( | ) | const |
Definition at line 319 of file argparser.cc.
bool hasArg | ( | const std::string & | arg | ) | const |
Definition at line 253 of file argparser.cc.
const string operator[] | ( | const std::string & | arg | ) | const |
Definition at line 217 of file argparser.cc.
bool parse | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 24 of file argparser.cc.
void setTail | ( | const std::string & | str | ) |
Definition at line 313 of file argparser.cc.
string usageString | ( | void | ) | const |