A comparison operator is used to form expressions that evaluate the mathematical comparison between two arguments. More...
#include <ComparisonOp.h>
Public Types | |
typedef void | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const=0 |
It call the visit method from the guest object. | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
ComparisonOp (const char *opName=0) | |
It initializes the Comparison operator. | |
virtual | ~ComparisonOp () |
Virtual destructor. | |
Accessor methods | |
Methods used to get or set properties. | |
AbstractOp * | clone () const |
It creates a new copy of this object. | |
Accessor methods | |
Methods used to get or set properties. | |
const char * | getName () const |
It returns the operator name. | |
void | setName (const char *opName) |
It sets the operator name. | |
Protected Attributes | |
Not Allowed Methods | |
No copy allowed. | |
const char * | m_name |
Operator name. | |
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. |
|
virtual |
Virtual destructor.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
virtual |
It creates a new copy of this object.
Implements te::fe::AbstractOp.
Reimplemented in te::fe::PropertyIsBetween, te::fe::PropertyIsLike, and te::fe::PropertyIsNull.
|
inlineinherited |
|
inlineinherited |
It sets the operator name.
opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
|
protectedinherited |
Operator name.
Definition at line 123 of file AbstractOp.h.