application.hpp File Reference


Detailed Description

A class to represent the application.

Author:
Julien Jorge

Definition in file application.hpp.

#include <claw/arguments_table.hpp>

Go to the source code of this file.

Namespaces

namespace  claw

Classes

class  claw::application
 A class to represent the application. More...

Defines

#define CLAW_APPLICATION_IMPLEMENT(App)
 Use this macro to implement your application's class. If you want to implement your application class named my_app, write somewhere in your code (no semi column at the end of the line) : CLAW_APPLICATION_IMPLEMENT(my_app) .


Define Documentation

#define CLAW_APPLICATION_IMPLEMENT ( App   ) 

Value:

int main(int argc, char** argv)               \
  {                                             \
    App app(argc, argv);                        \
    return app.run();                           \
  }                                             \
Use this macro to implement your application's class. If you want to implement your application class named my_app, write somewhere in your code (no semi column at the end of the line) : CLAW_APPLICATION_IMPLEMENT(my_app) .

Precondition:
App must inerhit from claw::application.

Definition at line 42 of file application.hpp.


Generated on Thu Jun 26 09:35:04 2008 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.5.6