#include <tvu_typesdef.h>
Inheritance diagram for CTApplication::

Public Types | |
| enum | { EC_ERROR = -1, EC_PARAMS = -2, EC_INIT = -3, EC_RUN = -4, EC_EXIT = -5, EC_REXIT = -6 } |
| Error codes. More... | |
Public Methods | |
| CTApplication () | |
| Contructors/Destructors. More... | |
| virtual | ~CTApplication () |
| virtual TINT | Run (int argc, char **argv) |
| virtual TINT | Exit (TINT ExitCode=0) |
| virtual LPTVOID | GetParsedParams () |
| virtual TINT | GeterrorCode () |
Static Public Methods | |
| TINT | Main (int argc, char **argv) |
Static Public Attributes | |
| CTApplication* | m_CurrentApplication |
Protected Methods | |
| virtual TINT | ParseParams () |
| virtual TVOID | PrintParameters () |
| Analyse the command line. More... | |
| virtual TVOID | PrintOptions () |
| Print the syntax. More... | |
| virtual TINT | Init () |
| Print parsed parameters. More... | |
| virtual TINT | OnRun () |
| virtual TINT | OnExit () |
| virtual TINT | ReportOnExit () |
Protected Attributes | |
| int | m_pNumParams |
| char** | m_pParams |
| Command line. More... | |
| LPTVOID | m_pParsedParams |
| Command line. More... | |
| TINT | m_ErrorCode |
| Pointer to the parsed parameters. More... | |
|
|
Error codes.
02442 { EC_ERROR = -1, EC_PARAMS = -2, EC_INIT = -3, EC_RUN = -4, EC_EXIT = -5, EC_REXIT = -6 };
|
|
|
Contructors/Destructors.
|
|
|
Print parsed parameters.
02436 { return 0; };
|
|
|
Print the syntax.
02435 {};
|
|
|
Analyse the command line.
02434 {};
|
|
|
Pointer to the parsed parameters.
|
|
|
Command line.
|
|
|
Command line.
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001