ECF
1.5
D:
Projekt
ECF_trunk
ECF
cartesian
Function.h
1
#ifndef Function_h
2
#define Function_h
3
#include "Cartesian_c.h"
4
using namespace
std;
5
6
namespace
cart
7
{
8
class
Function
9
{
10
public
:
11
Function
() {}
12
Function
(uint numArgs) {}
13
virtual
~Function
() {}
14
18
virtual
void
evaluate
(voidP inputs,
void
* result) = 0;
19
20
string
getName()
21
{
22
return
name_;
23
}
24
25
uint getNumOfArgs()
26
{
27
return
numOfArgs_;
28
}
29
30
protected
:
31
string
name_;
32
uint numOfArgs_;
33
};
34
35
typedef
boost::shared_ptr<Function> FunctionP;
36
}
37
38
39
#endif
/* Function_h */
cart::Function
Definition:
Function.h:9
cart::Function::evaluate
virtual void evaluate(voidP inputs, void *result)=0
Generated on Wed Aug 3 2022 17:50:41 for ECF by
1.9.4