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