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