A Select can be used as a source of information in another query. More...
#include <SelectExpression.h>
Public Types | |
typedef void | ReturnType |
typedef QueryVisitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const =0 |
It call the visit method from the guest object. More... | |
Expression * | clone () const |
It creates a new copy of this Expression. More... | |
Select * | getSelect () const |
It returns the associated select expression. More... | |
SelectExpression & | operator= (const SelectExpression &rhs) |
TE_DEFINE_VISITABLE | SelectExpression (Select *s) |
Constructor. More... | |
SelectExpression (const Select &s) | |
Constructor. More... | |
SelectExpression (const SelectExpression &rhs) | |
Copy constructor. More... | |
void | setSelect (Select *s) |
It sets the real SelectExpression associated to this object. More... | |
~SelectExpression () | |
Destructor. More... | |
Private Attributes | |
std::auto_ptr< Select > | m_select |
The associated SelectExpression. More... | |
A Select can be used as a source of information in another query.
Definition at line 49 of file SelectExpression.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
TE_DEFINE_VISITABLE te::da::SelectExpression::SelectExpression | ( | Select * | s | ) |
Constructor.
s | The real Select to be associated to this object. |
te::da::SelectExpression::SelectExpression | ( | const Select & | s | ) |
Constructor.
s | The real Select to be associated to this object. |
te::da::SelectExpression::SelectExpression | ( | const SelectExpression & | rhs | ) |
Copy constructor.
|
inline |
Destructor.
Definition at line 75 of file SelectExpression.h.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
virtual |
It creates a new copy of this Expression.
Implements te::da::Expression.
Select* te::da::SelectExpression::getSelect | ( | ) | const |
It returns the associated select expression.
SelectExpression& te::da::SelectExpression::operator= | ( | const SelectExpression & | rhs | ) |
Assignment operator.
void te::da::SelectExpression::setSelect | ( | Select * | s | ) |
It sets the real SelectExpression associated to this object.
s | The Select to be associated to the Expression object. |
|
private |
The associated SelectExpression.
Definition at line 101 of file SelectExpression.h.