C++ main module for gpm Package  1.0
MATH_VectorFunction.h
Go to the documentation of this file.
1 #ifndef MATH_VectorFunction_H
2 #define MATH_VectorFunction_H
3 
4 #include "MATH_FunctionNode.h"
5 
16  SP_OBJECT(MATH_VectorFunction);
17 
18  // ATTRIBUTES
19 public:
20 
21 private:
22 
23 
24 
25 protected:
26  // METHODS
27 
28  // CONSTRUCTORS
29 
32  MATH_VectorFunction(void);
33 
34 
35  // DESTRUCTORS
36 
37 
40  virtual ~MATH_VectorFunction(void);
41 
42 
43 private:
44 
45 public:
46 
47 
48 
51  static inline SP::MATH_VectorFunction New() {
52  SP::MATH_VectorFunction p(new MATH_VectorFunction(),MATH_VectorFunction::Delete());
53  p->setThis(p);
54  return p;
55  }
56 
59  virtual SP::MATH_FunctionNode newInstance() const {
60  return New();
61  }
62 
63 
64 
65  // SET methods
66 
67 public:
68  // OTHERS methods
69 
70 
71 
90  virtual int evaluate(const tFlag& action,MATH_Environment& symbols,MATH_Variable& var) const;
91 
92 
93 
94 };
95 
96 #endif
This class describes a set transformer application of a set in the form AX+B.
Definition: MATH_VectorFunction.h:15
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
virtual SP::MATH_FunctionNode newInstance() const
create a node expression
Definition: MATH_VectorFunction.h:59
DEFINE_SVPTR(MATH_VectorFunction)
virtual ~MATH_VectorFunction(void)
destroy
Definition: MATH_VectorFunction.cpp:9
MATH_VectorFunction(void)
create
Definition: MATH_VectorFunction.cpp:5
virtual int evaluate(const tFlag &action, MATH_Environment &symbols, MATH_Variable &var) const
void evaluate the expression
Definition: MATH_VectorFunction.cpp:12
This class decribes an environment class.
Definition: MATH_Environment.h:14
This class decribes a function.
Definition: MATH_FunctionNode.h:21
static SP::MATH_VectorFunction New()
create a node expression
Definition: MATH_VectorFunction.h:51
DEFINE_SPTR(MATH_VectorFunction)
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14