C++ main module for gpm Package  1.0
MATH_EQOperator.h
Go to the documentation of this file.
1 #ifndef MATH_EQOperator_H
2 #define MATH_EQOperator_H
3 
4 #include "MATH_BinaryOperator.h"
5 #include "MATH_Variable.h"
6 
7 
19  SP_OBJECT(MATH_EQOperator);
20 
21  // ATTRIBUTES
22 
23 
24 protected:
25  // METHODS
26 
27  // CONSTRUCTORS
28 
31  MATH_EQOperator(void);
32 
33 
34 
35  // DESTRUCTORS
36 
37 
40  virtual ~MATH_EQOperator(void);
41 
42 private:
43 
44 public:
47  static inline SP::MATH_EQOperator New() {
48  SP::MATH_EQOperator p(new MATH_EQOperator(),MATH_EQOperator::Delete());
49  p->setThis(p);
50  return p;
51  }
52 
55  virtual SP::MATH_NodeExpression newInstance() const {
56  return New();
57  }
58 
59 
60  // SET methods
61 
62 
63  // GET methods
64 
65 public:
66  // OTHERS methods
67  // OTHERS methods
88  virtual int evaluate(const tFlag& action,MATH_Environment& symbols,MATH_Variable& var) const;
89 
90 };
91 
92 #endif
virtual SP::MATH_NodeExpression newInstance() const
create a node expression
Definition: MATH_EQOperator.h:55
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
DEFINE_SPTR(MATH_EQOperator)
static SP::MATH_EQOperator New()
create a node expression
Definition: MATH_EQOperator.h:47
This class describes an EQ operator.
Definition: MATH_EQOperator.h:18
virtual ~MATH_EQOperator(void)
destroy
Definition: MATH_EQOperator.cpp:8
This class decribes a binary operator.
Definition: MATH_BinaryOperator.h:15
MATH_EQOperator(void)
create
Definition: MATH_EQOperator.cpp:3
This class decribes an environment class.
Definition: MATH_Environment.h:14
virtual int evaluate(const tFlag &action, MATH_Environment &symbols, MATH_Variable &var) const
void evaluate the expression
Definition: MATH_EQOperator.cpp:11
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14