A comparison operator is used to form expressions that evaluate the mathematical comparison between two arguments. More...
#include <ComparisonOp.h>
Public Types | |
typedef R | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
ComparisonOp (const char *opName=0) | |
It initializes the Comparison operator. More... | |
virtual | ~ComparisonOp () |
Virtual destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
const char * | getName () const |
It returns the operator name. More... | |
void | setName (const char *opName) |
It sets the operator name. More... | |
Protected Attributes | |
const char * | m_name |
Operator name. More... | |
A comparison operator is used to form expressions that evaluate the mathematical comparison between two arguments.
If the arguments satisfy the comparison then the expression evaluates to true. Otherwise the expression evaluates to false.
Definition at line 49 of file ComparisonOp.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::fe::ComparisonOp::ComparisonOp | ( | const char * | opName = 0 | ) |
It initializes the Comparison operator.
opName | The operator name. |
Definition at line 29 of file ComparisonOp.cpp.
|
virtual |
Virtual destructor.
Definition at line 34 of file ComparisonOp.cpp.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
inlineinherited |
It returns the operator name.
Definition at line 82 of file AbstractOp.h.
Referenced by GetQualifiedName(), te::map::QueryEncoder::visit(), and te::fe::serialize::AbstractOp::write().
|
inlineinherited |
It sets the operator name.
opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
|
protectedinherited |
Operator name.
Definition at line 120 of file AbstractOp.h.