#include <CommandLineParser.h>
Public Methods | |
CommandLineParser (int argc, const char **argv) | |
Constructor of the parser of the command line arguments. More... | |
~CommandLineParser () | |
Destructor of the parser of the command line arguments. More... | |
void | parse (void) |
parses the command line and defines the informations needed. More... | |
bool | check_syntax (void) |
Check if the arguments parsed are consistent. More... | |
void | syntax_error (void) |
Display the syntax of TPassGuard. More... | |
string | getOption (string option) |
Returns an option found in the command line arguments. More... | |
string | getMode (void) const |
Returns the mode found in the command line arguments. More... | |
list< string > | getSearchStringList (void) const |
Returns the search strings found in the command line arguments. More... | |
void | setSyntaxErrorString (string error_message) |
Add an error message to the error message list in order to have it displayed by the syntax_error() function. More... |
|
Constructor of the parser of the command line arguments.
|
|
Destructor of the parser of the command line arguments.
|
|
Check if the arguments parsed are consistent.
|
|
Returns the mode found in the command line arguments.
|
|
Returns an option found in the command line arguments.
|
|
Returns the search strings found in the command line arguments.
|
|
parses the command line and defines the informations needed.
|
|
Add an error message to the error message list in order to have it displayed by the syntax_error() function.
|
|
Display the syntax of TPassGuard.
|