JoinConditionUsing class can be used to model a USING clause in a Join. More...
#include <JoinConditionUsing.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... | |
| void | clear () |
| It will release all condition expressions and then it will clear the conteiner. More... | |
| JoinCondition * | clone () const |
| It creates a new copy of this JoinCondition. More... | |
| void | erase (std::size_t i) |
| It releases the i-th condition expression and trim the conteiner. More... | |
| std::size_t | getNumFields () const |
| It returns the number of fields in this join condition. More... | |
| TE_DEFINE_VISITABLE | JoinConditionUsing () |
| Default constructor. More... | |
| JoinConditionUsing (const JoinConditionUsing &rhs) | |
| Copy constructor. More... | |
| JoinConditionUsing & | operator= (const JoinConditionUsing &rhs) |
| const Expression * | operator[] (std::size_t i) const |
| It returns the i-th condition. More... | |
| void | push_back (Expression *e) |
| It adds the condition to the conteiner. More... | |
| ~JoinConditionUsing () | |
| Destructor. More... | |
Private Attributes | |
| boost::ptr_vector< Expression > | m_fields |
| The join column list. More... | |
JoinConditionUsing class can be used to model a USING clause in a Join.
Definition at line 46 of file JoinConditionUsing.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
|
inline |
Default constructor.
Definition at line 53 of file JoinConditionUsing.h.
| te::da::JoinConditionUsing::JoinConditionUsing | ( | const JoinConditionUsing & | rhs | ) |
Copy constructor.
Definition at line 34 of file JoinConditionUsing.cpp.
| te::da::JoinConditionUsing::~JoinConditionUsing | ( | ) |
Destructor.
Definition at line 39 of file JoinConditionUsing.cpp.
|
pure virtualinherited |
It call the visit method from the guest object.
| guest | The guest or visitor. |
| void te::da::JoinConditionUsing::clear | ( | ) |
It will release all condition expressions and then it will clear the conteiner.
Definition at line 75 of file JoinConditionUsing.cpp.
|
virtual |
It creates a new copy of this JoinCondition.
Implements te::da::JoinCondition.
Definition at line 53 of file JoinConditionUsing.cpp.
| void te::da::JoinConditionUsing::erase | ( | std::size_t | i | ) |
It releases the i-th condition expression and trim the conteiner.
| i | The condition to be removed. |
Definition at line 69 of file JoinConditionUsing.cpp.
|
inline |
It returns the number of fields in this join condition.
Definition at line 72 of file JoinConditionUsing.h.
Referenced by te::da::SQLVisitor::visit().
| te::da::JoinConditionUsing & te::da::JoinConditionUsing::operator= | ( | const JoinConditionUsing & | rhs | ) |
| const te::da::Expression * te::da::JoinConditionUsing::operator[] | ( | std::size_t | i | ) | const |
It returns the i-th condition.
| i | The condition position. |
Definition at line 63 of file JoinConditionUsing.cpp.
| void te::da::JoinConditionUsing::push_back | ( | Expression * | e | ) |
It adds the condition to the conteiner.
| e | The condition to be added to the join. |
Definition at line 58 of file JoinConditionUsing.cpp.
|
private |
The join column list.
Definition at line 102 of file JoinConditionUsing.h.
Referenced by operator=().