|
Public Member Functions |
| | gzArgumentParser (int argc, char *argv[], const gzString &optionPrefix="-") |
| | Used to create the gzArgumentParser from the parameters given in main(argc,argv).
|
| | gzArgumentParser (const gzString &argString, const gzString &optionPrefix="-") |
| | Used to create the gzArgumentParser from a given generic string.
|
| virtual | ~gzArgumentParser () |
| | Destructor.
|
| gzVoid | setArgumentString (const gzString &argString, const gzString &optionPrefix="-") |
| | Used to parse a new given string.
|
| gzULong | getOptionCount () const |
| | Get number of options.
|
| gzBool | hasOption (const gzString &option, gzBool caseSensitive=FALSE, gzULong *argument=NULL, gzULong *maxArgument=NULL) const |
| | Check if option is present.
|
| gzBool | getOptionValue (const gzString &option, const gzBool &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzByte | getOptionValue (const gzString &option, const gzByte &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzUShort | getOptionValue (const gzString &option, const gzUShort &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzShort | getOptionValue (const gzString &option, const gzShort &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzUInt | getOptionValue (const gzString &option, const gzUInt &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzInt | getOptionValue (const gzString &option, const gzInt &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzULong | getOptionValue (const gzString &option, const gzULong &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzLong | getOptionValue (const gzString &option, const gzLong &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzLongLong | getOptionValue (const gzString &option, const gzLongLong &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzULongLong | getOptionValue (const gzString &option, const gzULongLong &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzDouble | getOptionValue (const gzString &option, const gzDouble &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzString | getOptionValue (const gzString &option, const gzString &defaultValue, gzULong argument=0, gzBool useDefault=TRUE, gzBool caseSensitive=FALSE) const |
| gzString | getOptionString (const gzString &option, gzBool caseSensitive=FALSE) const |
| gzULong | getArgumentCount (gzBool notUsedForOption=TRUE) const |
| gzString | getArgument (gzULong argpos, gzBool notUsedForOption=TRUE) const |
| gzBool | getArgumentValue (gzULong argpos, const gzBool &defaultValue) const |
| gzByte | getArgumentValue (gzULong argpos, const gzByte &defaultValue) const |
| gzUShort | getArgumentValue (gzULong argpos, const gzUShort &defaultValue) const |
| gzShort | getArgumentValue (gzULong argpos, const gzShort &defaultValue) const |
| gzUInt | getArgumentValue (gzULong argpos, const gzUInt &defaultValue) const |
| gzInt | getArgumentValue (gzULong argpos, const gzInt &defaultValue) const |
| gzULong | getArgumentValue (gzULong argpos, const gzULong &defaultValue) const |
| gzLong | getArgumentValue (gzULong argpos, const gzLong &defaultValue) const |
| gzLongLong | getArgumentValue (gzULong argpos, const gzLongLong &defaultValue) const |
| gzULongLong | getArgumentValue (gzULong argpos, const gzULongLong &defaultValue) const |
| gzDouble | getArgumentValue (gzULong argpos, const gzDouble &defaultValue) const |
| gzString | getArgumentValue (gzULong argpos, const gzString &defaultValue) const |
| gzVoid | exitOnError (gzBool on=TRUE) |
| gzBool | hasError () const |
| gzString | getError () const |
| gzVoid | setSyntaxString (const gzString &syntax) |
| gzVoid | checkArgumentCount (gzULong required) |
Classes |
| class | gzArgArgument |
| class | gzArgOption |