#include <mapplic.h>
Inheritance diagram for Application::
Public Methods | |
Application () | |
virtual void | main (const Array< String > ¶ms) |
virtual void | main () |
void | readConfig (const String &filename) |
const StringMap& | paramMap () const |
const Array<String>& | params () const |
void | setParams (int argc, char **argv) |
Protected Attributes | |
Array<String> | mParams |
StringMap | mParamMap |
int | mArgc |
char** | mArgv |
int | mTried |
If you inherit this, remember to link the app library with switch -lapp. The application framework automatically calls the main() method of this class.
NOTE: The applicatino MUST use the decl_dynamic macro to enable house-RTTI.
Definition at line 28 of file mapplic.h.
|
Always implement this OR the other main (const Array<String>&) above.
|
|
Always implement this OR the other main () below. OBSOLETE.
|
|
Returns a reference to the parameter map of the application.
|
|
Returns a reference to the parameter map of the application.
|
|
Reads a configuration file on top of the parameter map.
|