|
Fancy argparser
Single file argument parser for c++
|
Class that carries result of real parsing Indicates if parsing is successful and allows to get ArgumentParsed object in that case. More...
#include <argparse.h>
Public Member Functions | |
| bool | IsArgValid () const |
| Indicates if parsing was successful. | |
| const std::string & | GetErrorString () |
| Function to get error message in case of parsing failure. | |
| size_t | ParsedArgsCount () const |
| I don't know when you could need this info. | |
| ArgumentParsed | GetArg (const std::string &name) |
| Getter function to get ArgumentParsed object. | |
Class that carries result of real parsing Indicates if parsing is successful and allows to get ArgumentParsed object in that case.
In case of parsing failure provides error string for first error.
Definition at line 848 of file argparse.h.
|
inline |
Getter function to get ArgumentParsed object.
| name | name of argument object, could be short name, long name or positional name |
Definition at line 875 of file argparse.h.
|
inline |
Function to get error message in case of parsing failure.
Definition at line 860 of file argparse.h.
|
inline |
|
inline |
I don't know when you could need this info.
Definition at line 867 of file argparse.h.