te::fe::DWithin Class Referenceabstract

DistanceBuffer operator: DWithin. More...

#include <DWithin.h>

Inheritance diagram for te::fe::DWithin:
te::fe::DistanceBuffer te::fe::SpatialOp te::fe::AbstractOp te::common::BaseVisitable< Visitor >

Public Types

typedef void ReturnType
 
typedef Visitor VisitorType
 

Public Member Functions

virtual ReturnType accept (VisitorType &guest) const=0
 It call the visit method from the guest object. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 DWithin (PropertyName *p, te::gm::Geometry *g, te::common::Distance *d)
 Constructor. More...
 
 ~DWithin ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

void setProperty (PropertyName *p)
 It sets property name. More...
 
PropertyNamegetProperty () const
 It returns the property name. More...
 
void setGeometry (te::gm::Geometry *g)
 It sets the geometry. More...
 
te::gm::GeometrygetGeometry () const
 It returns the geometry. More...
 
void setDistance (te::common::Distance *d)
 It sets the distance. More...
 
te::common::DistancegetDistance () const
 It returns the distance. More...
 
SpatialOpclone () const
 It creates a new copy of this object. More...
 
Accessor methods

Methods used to get or set properties.

const char * getName () const
 It returns the operator name. More...
 
void setName (const char *opName)
 It sets the operator name. More...
 

Protected Attributes

te::common::Distancem_d
 Distance. (mandatory) More...
 
te::gm::Geometrym_geom
 Geometry literal. (Mandatory, if m_property is not specified) More...
 
const char * m_name
 Operator name. More...
 
PropertyNamem_property
 A geometric property. (Mandatory, if m_geom is not specified) More...
 

Detailed Description

DistanceBuffer operator: DWithin.

See also
BinarySpatialOp

Definition at line 46 of file DWithin.h.

Member Typedef Documentation

◆ ReturnType

typedef void te::common::BaseVisitable< Visitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

◆ VisitorType

typedef Visitor te::common::BaseVisitable< Visitor , void >::VisitorType
inherited

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

◆ DWithin()

te::fe::DWithin::DWithin ( PropertyName p,
te::gm::Geometry g,
te::common::Distance d 
)
inline

Constructor.

Parameters
pThe property name.
gThe geometry to check its distance.
dThe distance to check.
Note
The DWithin operator will take the ownership of the given arguments.

Definition at line 66 of file DWithin.h.

◆ ~DWithin()

te::fe::DWithin::~DWithin ( )
inline

Destructor.

Definition at line 71 of file DWithin.h.

Member Function Documentation

◆ accept()

virtual ReturnType te::common::BaseVisitable< Visitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.

◆ clone()

SpatialOp* te::fe::DistanceBuffer::clone ( ) const
virtualinherited

It creates a new copy of this object.

Implements te::fe::AbstractOp.

◆ getDistance()

te::common::Distance* te::fe::DistanceBuffer::getDistance ( ) const
inherited

It returns the distance.

Returns
The distance.

◆ getGeometry()

te::gm::Geometry* te::fe::DistanceBuffer::getGeometry ( ) const
inherited

It returns the geometry.

Returns
The geometry.

◆ getName()

const char* te::fe::AbstractOp::getName ( ) const
inlineinherited

It returns the operator name.

Returns
The operator name.

Definition at line 82 of file AbstractOp.h.

◆ getProperty()

PropertyName* te::fe::DistanceBuffer::getProperty ( ) const
inherited

It returns the property name.

Returns
The property name.

◆ setDistance()

void te::fe::DistanceBuffer::setDistance ( te::common::Distance d)
inherited

It sets the distance.

Parameters
dThe distance.
Note
It will take the ownership of the distance.

◆ setGeometry()

void te::fe::DistanceBuffer::setGeometry ( te::gm::Geometry g)
inherited

It sets the geometry.

Parameters
gThe geometry.
Note
It will take the ownership of the geometry.

◆ setName()

void te::fe::AbstractOp::setName ( const char *  opName)
inlineinherited

It sets the operator name.

Parameters
opNameThe operator name.

Definition at line 89 of file AbstractOp.h.

◆ setProperty()

void te::fe::DistanceBuffer::setProperty ( PropertyName p)
inherited

It sets property name.

Parameters
pThe property name.
Note
It will take the ownership of the property name.

Member Data Documentation

◆ m_d

te::common::Distance* te::fe::DistanceBuffer::m_d
protectedinherited

Distance. (mandatory)

Definition at line 159 of file DistanceBuffer.h.

◆ m_geom

te::gm::Geometry* te::fe::DistanceBuffer::m_geom
protectedinherited

Geometry literal. (Mandatory, if m_property is not specified)

Definition at line 158 of file DistanceBuffer.h.

◆ m_name

const char* te::fe::AbstractOp::m_name
protectedinherited

Operator name.

Definition at line 123 of file AbstractOp.h.

◆ m_property

PropertyName* te::fe::DistanceBuffer::m_property
protectedinherited

A geometric property. (Mandatory, if m_geom is not specified)

Definition at line 157 of file DistanceBuffer.h.


The documentation for this class was generated from the following file: