40 m_f.reset(static_cast<Function*>(f.
clone()));
60 m_f.reset(rhs.
m_f.get() ?
static_cast<Function*
>(rhs.
m_f->clone()) : 0);
FromFunctionCall & operator=(const FromFunctionCall &rhs)
Function * getFunction() const
It returns the associated function.
An abstract class that models a source of data in a query.
A class that models a Function expression.
std::auto_ptr< Function > m_f
The associated function.
TE_DEFINE_VISITABLE FromFunctionCall(Function *f, const std::string &alias)
Constructor.
void setFunction(Function *f)
It sets the function associated to this object.
Expression * clone() const
It creates a new copy of this expression.
FromItem & operator=(const FromItem &rhs)
FromItem * clone() const
It creates a new copy of this FromItem.
A class that models a Function expression.
~FromFunctionCall()
Destructor.
A function can be used as a source of information in another query.
A Select can be used as a source of information in another query.