ESA JPIP server
0.1
|
Class that allows to parse and handle the application command line parameters. More...
#include <args_parser.h>
Public Member Functions | |
ArgsParser (AppConfig &_cfg, AppInfo &_app_info) | |
Initializes the object. More... | |
bool | Parse (int argc, char **argv) |
Parses and handles the application command line parameters. More... | |
Private Attributes | |
AppConfig & | cfg |
Application configuration. More... | |
AppInfo & | app_info |
Application run-time information. More... | |
Class that allows to parse and handle the application command line parameters.
Initializes the object.
_cfg | Application configuration. |
_app_info | Application run-time information. |
bool ArgsParser::Parse | ( | int | argc, |
char ** | argv | ||
) |
Parses and handles the application command line parameters.
argc | Number of parameters. |
argv | Command line parameters. |
true
if successful.
|
private |
Application run-time information.
|
private |
Application configuration.