It tells if two values are identical. More...
#include <PropertyIsEqualTo.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. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| PropertyIsEqualTo (Expression *arg1, Expression *arg2) | |
| Constructor. More... | |
| ~PropertyIsEqualTo () | |
| Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| void | setFirst (Expression *first) |
| It sets the first operand. More... | |
| Expression * | getFirst () const |
| It returns the first operand. More... | |
| void | setSecond (Expression *second) |
| It sets the second operand. More... | |
| Expression * | getSecond () const |
| It returns the second operand. More... | |
| void | enableMatchCase () |
| It enables the match case flag. So comparisons will be case sensitive. More... | |
| void | disableMatchCase () |
| It disables the match case flag. So comparisons will not be case sensitive. 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 | |
| Expression * | m_first |
| first operand (mandatory). More... | |
| bool | m_matchCase |
| Optional (default: true). More... | |
| const char * | m_name |
| Operator name. More... | |
| Expression * | m_second |
| second operand (mandatory). More... | |
It tells if two values are identical.
Definition at line 46 of file PropertyIsEqualTo.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
|
inline |
Constructor.
| arg1 | The first argument. |
| arg2 | The second argument. |
Definition at line 65 of file PropertyIsEqualTo.h.
|
inline |
Destructor.
Definition at line 68 of file PropertyIsEqualTo.h.
|
pure virtualinherited |
It call the visit method from the guest object.
| guest | The guest or visitor. |
|
inherited |
It disables the match case flag. So comparisons will not be case sensitive.
|
inherited |
It enables the match case flag. So comparisons will be case sensitive.
|
inherited |
It returns the first operand.
|
inlineinherited |
|
inherited |
It returns the second operand.
|
inherited |
It sets the first operand.
| first | The first operand. |
|
inlineinherited |
It sets the operator name.
| opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
|
inherited |
It sets the second operand.
| second | The second operand. |
|
protectedinherited |
first operand (mandatory).
Definition at line 156 of file BinaryComparisonOp.h.
|
protectedinherited |
Optional (default: true).
Definition at line 158 of file BinaryComparisonOp.h.
|
protectedinherited |
Operator name.
Definition at line 120 of file AbstractOp.h.
|
protectedinherited |
second operand (mandatory).
Definition at line 157 of file BinaryComparisonOp.h.