27 #include "../../common/Distance.h" 
   28 #include "../../geometry/Geometry.h" 
   51   m_geom.reset(static_cast<te::gm::Geometry*>(g.
clone()));
 
ST_DistanceBuffer & operator=(const ST_DistanceBuffer &rhs)
 
TE_DEFINE_VISITABLE ST_DistanceBuffer(const std::string &name, Expression *e, te::gm::Geometry *g, te::common::Distance *d)
Constructor. 
 
void setDistance(te::common::Distance *d)
It sets the distance. 
 
This is an abstract class that models a query expression. 
 
Spatial distance buffer operator. 
 
Expression * clone() const 
It creates a new copy of this expression. 
 
Spatial Distance Buffer operator. 
 
te::common::Distance * getDistance() const 
It returns the distance. 
 
te::gm::Geometry * getGeometry() const 
It returns the geometry. 
 
A class that models a Function expression. 
 
std::auto_ptr< te::gm::Geometry > m_geom
Geometry literal. 
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
void setGeometry(te::gm::Geometry *g)
It sets the geometry. 
 
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. 
 
~ST_DistanceBuffer()
Destructor. 
 
virtual AbstractData * clone() const =0
It returns a clone of this object. 
 
std::auto_ptr< te::common::Distance > m_d
Distance. 
 
A given distance has a measurement and a unit-of-measure.