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