charon-core
0.3.1
|
Declaration of the base class ParameteredObject. More...
#include <set>
#include "ParameterFile.h"
#include "Parameter.h"
#include "Slots.h"
#include "DllEx.h"
Go to the source code of this file.
Classes | |
class | ParameteredObject |
Base class for serializable objects. More... | |
class | TemplatedParameteredObject< T > |
Base class for templated classes derived from ParameteredObject. More... | |
Macros | |
#define | _addConstructor(x) |
register some constructor More... | |
#define | _addFunction(x) |
register member function More... | |
#define | PARAMETEREDOBJECT_AVOID_REEXECUTION sout << "(WW) using deprecated AVOID_REEXECUTION macro" << std::endl; |
deprecated macro | |
Variables | |
charon_DEPRECATED typedef ParameteredObject::template_type | template_type |
for transition to ParameteredObject::template_type | |
Original file written by Daniel Kondermann, modified by Jens-Malte Gottfried and Stephan Meister.
In most cases, you do not want do include this file directly, use ParameteredObject.hxx instead.
Changes:
Definition in file ParameteredObject.h.
#define _addConstructor | ( | x | ) |
use this hack, if you have multiple templated constructors and want them to be compiled (and exported) into the (dynamic) library.
Example: _addConstructor( myObject(par1,par2,par3) );
Definition at line 262 of file ParameteredObject.h.
#define _addFunction | ( | x | ) |
This hack is useful to get some member functions compiled (and exported into) the (dynamic) library. No code is executed, because this-pointer is always non-zero, but the compiler is forced to compile the given (templated) function and export the symbol.
Example: _addFunction(someFunction);
x | function to export |
Definition at line 244 of file ParameteredObject.h.