JoinConditionOn is a boolean expression and it specifies which items in a join are considered to match. More...
#include <JoinConditionOn.h>
Public Types | |
| typedef R | ReturnType |
| typedef QueryVisitor | VisitorType |
Public Member Functions | |
| virtual ReturnType | accept (VisitorType &guest) const =0 |
| It call the visit method from the guest object. More... | |
| JoinCondition * | clone () const |
| It creates a new copy of this JoinCondition. More... | |
| Expression * | getCondition () const |
| It returns a pointer to a join condition. More... | |
| TE_DEFINE_VISITABLE | JoinConditionOn (Expression *e) |
| Constructor. More... | |
| JoinConditionOn (const Expression &e) | |
| Constructor. More... | |
| JoinConditionOn (const JoinConditionOn &rhs) | |
| Copy constructor. More... | |
| JoinConditionOn & | operator= (const JoinConditionOn &rhs) |
| void | setCondition (Expression *c) |
| It sets the join condition expression. More... | |
| ~JoinConditionOn () | |
| Destructor. More... | |
Private Attributes | |
| std::auto_ptr< Expression > | m_condition |
| The join expression. More... | |
JoinConditionOn is a boolean expression and it specifies which items in a join are considered to match.
Definition at line 49 of file JoinConditionOn.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
| te::da::JoinConditionOn::JoinConditionOn | ( | Expression * | e | ) |
Constructor.
| e | A join condition expression. |
Definition at line 30 of file JoinConditionOn.cpp.
| te::da::JoinConditionOn::JoinConditionOn | ( | const Expression & | e | ) |
Constructor.
| e | A join condition expression. |
Definition at line 35 of file JoinConditionOn.cpp.
References te::da::Expression::clone(), and m_condition.
| te::da::JoinConditionOn::JoinConditionOn | ( | const JoinConditionOn & | rhs | ) |
| te::da::JoinConditionOn::~JoinConditionOn | ( | ) |
Destructor.
Definition at line 47 of file JoinConditionOn.cpp.
|
pure virtualinherited |
It call the visit method from the guest object.
| guest | The guest or visitor. |
|
virtual |
It creates a new copy of this JoinCondition.
Implements te::da::JoinCondition.
Definition at line 62 of file JoinConditionOn.cpp.
| te::da::Expression * te::da::JoinConditionOn::getCondition | ( | ) | const |
It returns a pointer to a join condition.
Definition at line 72 of file JoinConditionOn.cpp.
Referenced by te::da::SQLVisitor::visit().
| te::da::JoinConditionOn & te::da::JoinConditionOn::operator= | ( | const JoinConditionOn & | rhs | ) |
| void te::da::JoinConditionOn::setCondition | ( | Expression * | c | ) |
It sets the join condition expression.
| c | A join condition expression. |
Definition at line 67 of file JoinConditionOn.cpp.
|
private |
The join expression.
Definition at line 101 of file JoinConditionOn.h.
Referenced by JoinConditionOn(), and operator=().