26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_FROMITEM_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_FROMITEM_H
30 #include "../../common/BaseVisitable.h"
61 FromItem(
const std::string& alias) : m_alias(alias) {}
#define TE_DEFINE_VISITABLE
A visitor interface for the Query hierarchy.
The root of all hierarchies that can be visited.
An abstract class that models a source of data in a query.
FromItem(const FromItem &rhs)
Copy constructor.
virtual ~FromItem()
Virtual destructor.
FromItem & operator=(const FromItem &rhs)
const std::string & getAlias() const
It returns the alias associated to the source item.
void setAlias(const std::string &alias)
It sets the alias for a from source item.
TE_DEFINE_VISITABLE FromItem(const std::string &alias)
Constructor.
virtual FromItem * clone() const =0
It creates a new copy of this FromItem.
std::string m_alias
An alias for the output name.
Expression * new_clone(const Expression &a)
For use with boost conteiners.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.