67 assert(m_args.size() == 1);
73 assert(m_args.size() == 1);
A base class for unary functions.
A base class for unary functions.
Expression * clone() const
It creates a new copy of this expression.
Expression * getArgument() const
It returns the function associated argument.
This is an abstract class that models a query expression.
UnaryFunction & operator=(const UnaryFunction &rhs)
void setArgument(Expression *arg)
It sets the function argument.
A class that models a Function expression.
virtual ~UnaryFunction()
Virtual Destructor.
Function & operator=(const Function &rhs)
virtual Expression * clone() const =0
It creates a new copy of this expression.
std::vector< Expression * > m_args
The list of arguments.
TE_DEFINE_VISITABLE UnaryFunction(const std::string &name, Expression *arg)
Constructor.