ECF 1.7
FunctionSet.h
1#ifndef FunctionSet_h
2#define FunctionSet_h
3#include "Function.h"
4
5
6namespace Cartesian
7{
11 class FunctionSet
12 {
13 public:
14 FunctionSet();
15
16 bool initialize(StateP state);
17
23 bool addFunction(std::string name);
24
25 ~FunctionSet() {}
26
27 std::map <std::string, FunctionP> mAllFunctions; //<! map of existing (implemented) functions
28 std::vector <FunctionP> vFunctions; //<! vector of active (actual used) functions
29 std::map <std::string, unsigned int> mFunctionSet;
30
31 StateP state_;
32 };
33 typedef std::shared_ptr<FunctionSet> FunctionSetP;
34 typedef std::map <std::string, FunctionP>::iterator func_iter;
35}
36
37#endif /* FunctionSet_h */
std::map< std::string, unsigned int > mFunctionSet
map of indexes of active (actual used) functions
Definition FunctionSet.h:29
bool addFunction(std::string name)