Wolframe, 0.0.3

databaseModuleMacros.hpp File Reference

Macros for a module for defining a database interface. More...

#include "appdevel/module/authenticationConstructor.hpp"
#include "module/moduleInterface.hpp"
#include "module/constructor.hpp"
#include <boost/lexical_cast.hpp>

Go to the source code of this file.

Macros

#define WF_DATABASE(NAME, DBCLASS, CONFIGCLASS)
 Defines a simple database (one database object per unit) interface. More...
 
#define WF_TEST_DATABASE(NAME, DBCLASS, CONFIGCLASS, DBINITCLASS)
 Defines a test database interface (simple database with initializer class with configuration as constructor argument that is constructed before the database and destructed after) More...
 

Detailed Description

Macros for a module for defining a database interface.

Macro Definition Documentation

#define WF_DATABASE (   NAME,
  DBCLASS,
  CONFIGCLASS 
)

Defines a simple database (one database object per unit) interface.

#define WF_TEST_DATABASE (   NAME,
  DBCLASS,
  CONFIGCLASS,
  DBINITCLASS 
)

Defines a test database interface (simple database with initializer class with configuration as constructor argument that is constructed before the database and destructed after)