claw
1.9.0
|
A class to represent the application. More...
#include <application.hpp>
Public Member Functions | |
application (int &argc, char **&argv) | |
Constructor. More... | |
virtual | ~application () |
Destructor. | |
virtual int | run ()=0 |
Protected Attributes | |
arguments_table | m_arguments |
The arguments passed by the system. | |
A class to represent the application.
The claw::application understand the following command line arguments :
Definition at line 60 of file application.hpp.
claw::application::application | ( | int & | argc, |
char **& | argv | ||
) |
Constructor.
argc | Number of arguments to the program. |
argv | The arguments of the program. |
The constructor removes from argv all supported arguments, and updates the value of argc.
Definition at line 58 of file application.cpp.