26#ifndef __TERRALIB_DATAACCESS_INTERNAL_FUNCTION_H
27#define __TERRALIB_DATAACCESS_INTERNAL_FUNCTION_H
#define TE_DEFINE_VISITABLE
TE_DEFINE_VISITABLE Expression()
Default constructor.
Expression * getArg(std::size_t i) const
It returns the i-th function argument.
void add(Expression *arg)
It adds the argument to the function list of arguments.
Function(const Function &rhs)
Copy constructor.
Expression * operator[](std::size_t i) const
It returns the i-th function argument.
virtual ~Function()
Virtual Destructor.
std::string m_name
The function name. May be an operator symbol or just a regular name like ST_Intersects.
Expression * clone() const
It creates a new copy of this expression.
Function & operator=(const Function &rhs)
std::vector< Expression * > m_args
The list of arguments.
const std::string & getName() const
It returns the function name.
std::size_t getNumArgs() const
It returns the number of arguments informed to the function.
TE_DEFINE_VISITABLE Function(const std::string &name)
Constructor.
This is an abstract class that models a query expression.
Namespace for the DataAccess API of TerraLib.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.