Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Application Class Reference

An application-class that can be inherited instead of using main(). More...

#include <mapplic.h>

Inheritance diagram for Application:

List of all members.

Public Methods

virtual void main (const Array< String > &params)
virtual void main ()
const StringMap & paramMap () const
const Array< String > & params () const

Detailed Description

An application-class that can be inherited instead of using main().

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 54 of file mapplic.h.


Member Function Documentation

virtual void main   [inline, virtual]
 

Always implement this OR the other main (const Array<String>&) above.

Definition at line 78 of file mapplic.h.

virtual void main const Array< String > &    params [inline, virtual]
 

Always implement this OR the other main () below.

OBSOLETE.

Parameters:
params  Parameters passed from command line. This method is obsolete because these parameters are now a member.

Definition at line 74 of file mapplic.h.

References params().

const StringMap& paramMap   const [inline]
 

Returns the parameter map of the application.

Definition at line 84 of file mapplic.h.

const Array<String>& params   const [inline]
 

Returns the command-line parameter list.

Definition at line 88 of file mapplic.h.

Referenced by main().


The documentation for this class was generated from the following file:
Generated on Thu Feb 10 20:06:43 2005 for LibMagiC by doxygen1.2.18