27 #include "../common/STLUtils.h" 69 m_argumentList[i] = argument;
76 m_argumentList.erase(m_argumentList.begin() + i);
std::string m_name
Function name. (Mandatory)
void removeArgument(size_t i)
It removes the n-th argument.
std::vector< Expression * > m_argumentList
Argument list (actually, a list of expressions). (Optional)
A function is a named procedure that performs a distinct computation.
void setName(const std::string &n)
It sets the function name.
virtual Expression * clone() const =0
It returns a clone of this object.
This is an abstract class that models a Filter Encoding expression.
Function(const std::string &name)
It initializes a new Function.
virtual Expression * clone() const
It returns a clone of this object.
const std::string & getName() const
It returns the function name.
void add(Expression *argument)
It adds a new argument to the function.
void setArgument(size_t i, Expression *argument)
It sets the argument in the specified position.
A function is a named procedure that performs a distinct computation.
Expression * getArgument(size_t i) const
It returns the argument in the specified position.
void FreeContents(boost::unordered_map< K, V * > &m)
This function can be applied to a map of pointers. It will delete each pointer in the map...