#include <parseArgs.h>
|
| parseArgs () |
|
virtual | ~parseArgs () |
|
void | doParseArgs (int argc, char *argv[]) |
|
void | addArg (const std::string &switchstr, const std::string &name, const std::string &defvalue, bool isswitch, bool defset, bool madatory, bool gobbler, const std::string &helpstr) |
|
void | addPositional (const std::string &name, const std::string &defvalue, bool madatory, bool gobbler, const std::string &helpstr) |
|
parsedArg & | getArg (const std::string &, bool check=true) |
|
parsedArg & | getPositional (unsigned, bool check=true) |
|
unsigned | positonals () |
|
unsigned | switches () |
|
void | setHelp (const std::string &) |
|
void | setName (const std::string &) |
|
void | setPreamble (const std::string &) |
|
void | writeHelp () |
|
◆ parseArgs()
◆ ~parseArgs()
parseArgs::~parseArgs |
( |
| ) |
|
|
virtual |
◆ addArg()
void parseArgs::addArg |
( |
const std::string & |
switchstr, |
|
|
const std::string & |
name, |
|
|
const std::string & |
defvalue, |
|
|
bool |
isswitch, |
|
|
bool |
defset, |
|
|
bool |
madatory, |
|
|
bool |
gobbler, |
|
|
const std::string & |
helpstr |
|
) |
| |
◆ addPositional()
void parseArgs::addPositional |
( |
const std::string & |
name, |
|
|
const std::string & |
defvalue, |
|
|
bool |
madatory, |
|
|
bool |
gobbler, |
|
|
const std::string & |
helpstr |
|
) |
| |
◆ doParseArgs()
void parseArgs::doParseArgs |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ getArg()
parsedArg & parseArgs::getArg |
( |
const std::string & |
name, |
|
|
bool |
check = true |
|
) |
| |
◆ getPositional()
parsedArg & parseArgs::getPositional |
( |
unsigned |
pos, |
|
|
bool |
check = true |
|
) |
| |
◆ positonals()
unsigned int parseArgs::positonals |
( |
| ) |
|
◆ setHelp()
void parseArgs::setHelp |
( |
const std::string & |
newhelp | ) |
|
◆ setName()
void parseArgs::setName |
( |
const std::string & |
newname | ) |
|
◆ setPreamble()
void parseArgs::setPreamble |
( |
const std::string & |
newpre | ) |
|
◆ switches()
unsigned int parseArgs::switches |
( |
| ) |
|
◆ writeHelp()
void parseArgs::writeHelp |
( |
| ) |
|
The documentation for this class was generated from the following files: