C++ main module for gpm Package  1.0
MATH_Operator.h
Go to the documentation of this file.
1 #ifndef MATH_Operator_H
2 #define MATH_Operator_H
3 
4 #include "MATH_NodeExpression.h"
5 
16  SP_OBJECT(MATH_Operator);
17 
18  // ATTRIBUTES
19 private:
20  tString mName;
21 
22 protected:
23  // METHODS
24 
25  // CONSTRUCTORS
26 
29  MATH_Operator(void);
30 
31 
32 
33  // DESTRUCTORS
34 
35 
38  virtual ~MATH_Operator(void);
39 
40 
41  // SET methods
42 protected:
45  inline void setName(const tString& n) {mName=n;};
46 
47  // GET methods
48 public:
51  inline const tString& getName() const {return mName;};
52 
53 
54 public:
55  // OTHERS methods
56 
57 };
58 
59 #endif
MATH_Operator(void)
create
Definition: MATH_Operator.cpp:4
This class decribes an operator with a name.
Definition: MATH_Operator.h:15
This class is a node of expression tree with is a parent and a child.
Definition: MATH_NodeExpression.h:18
DEFINE_SPTR(MATH_Operator)
const tString & getName() const
set the operator name
Definition: MATH_Operator.h:51
virtual ~MATH_Operator(void)
destroy
Definition: MATH_Operator.cpp:9
#define tString
Definition: types.h:36
void setName(const tString &n)
set the operator name
Definition: MATH_Operator.h:45
DEFINE_SVPTR(MATH_Operator)