OpenIndy-Core  0.2.0.43
constructfunction.h
Go to the documentation of this file.
1 #ifndef CONSTRUCTFUNCTION_H
2 #define CONSTRUCTFUNCTION_H
3 
4 #include "function.h"
5 
6 namespace oi{
7 
13 {
14  Q_OBJECT
15 
16 public:
17  ConstructFunction(QObject *parent = 0) : Function(parent){}
18 
19  virtual ~ConstructFunction(){}
20 
21 protected:
22 
23  //####################################
24  //methods that cannot be reimplemented
25  //####################################
26 
27  bool exec(Station &station){ return Function::exec(station); }
28  bool exec(CoordinateSystem &coordinateSystem){ return Function::exec(coordinateSystem); }
29  bool exec(TrafoParam &trafoParam){ return Function::exec(trafoParam); }
30 
31 };
32 
33 }
34 
35 #ifndef STR
36 #define STR(x) #x
37 #endif
38 #ifndef STR2
39 #define STR2(x) STR(x)
40 #endif
41 
42 #ifndef CONCAT
43 #define CONCAT(a, b) a ## b
44 #endif
45 #ifndef CONCAT2
46 #define CONCAT2(a, b) CONCAT(a, b)
47 #endif
48 
49 #define CONSTRUCTFUNCTION_PREFIX de.openIndy.plugin.function.constructFunction.v
50 #define ConstructFunction_iidd STR2(CONCAT2(CONSTRUCTFUNCTION_PREFIX, PLUGIN_INTERFACE_VERSION))
51 
52 #endif // CONSTRUCTFUNCTION_H
ConstructFunction(QObject *parent=0)
Definition: constructfunction.h:17
bool exec(TrafoParam &trafoParam)
Function::exec.
Definition: constructfunction.h:29
The TrafoParam class.
Definition: trafoparam.h:23
bool exec(Station &station)
Function::exec.
Definition: constructfunction.h:27
bool exec(CoordinateSystem &coordinateSystem)
Function::exec.
Definition: constructfunction.h:28
Definition: coordinatesystem.h:15
The ConstructFunction class Function that solves geometries by constructing them from other elements...
Definition: constructfunction.h:12
The Station class.
Definition: station.h:23
bool exec(const QPointer< FeatureWrapper > &feature)
Function::exec.
Definition: function.cpp:25
The Function class.
Definition: function.h:170
virtual ~ConstructFunction()
Definition: constructfunction.h:19
The CoordinateSystem class.
Definition: coordinatesystem.h:25
#define OI_CORE_EXPORT
Definition: types.h:11