All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::fe::Touches Class Referenceabstract

Binary spatial operator: Touches. More...

#include <Touches.h>

Inheritance diagram for te::fe::Touches:
te::fe::BinarySpatialOp te::fe::SpatialOp te::fe::AbstractOp te::common::BaseVisitable< Visitor >

Public Types

typedef R 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.

 Touches (PropertyName *p, te::gm::Geometry *g)
 Constructor. More...
 
 Touches (PropertyName *p, te::gml::Envelope *e)
 Constructor. More...
 
 ~Touches ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

void setProperty (PropertyName *p)
 It sets the 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 setEnvelope (te::gml::Envelope *e)
 It sets the envelope. More...
 
te::gml::EnvelopegetEnvelope () const
 It returns the envelope. 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::gml::Envelopem_box
 A convenient and more compact way of encoding the very common bounding box constraint. (It must be omitted ig m_box is given) More...
 
te::gm::Geometrym_geom
 A literal geometric value. (It must be omitted if m_envelope is given) More...
 
const char * m_name
 Operator name. More...
 
PropertyNamem_property
 A geometric property. (Mandatory) More...
 

Detailed Description

Binary spatial operator: Touches.

See also
BinarySpatialOp

Definition at line 46 of file Touches.h.

Member Typedef Documentation

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

Definition at line 58 of file BaseVisitable.h.

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

te::fe::Touches::Touches ( PropertyName p,
te::gm::Geometry g 
)
inline

Constructor.

Parameters
pThe property name.
gThe geometric value.
Note
The Touches operator will take the ownership of the given arguments.

Definition at line 65 of file Touches.h.

te::fe::Touches::Touches ( PropertyName p,
te::gml::Envelope e 
)
inline

Constructor.

Parameters
pThe property name.
eThe envelope value.
Note
The Touches operator will take the ownership of the given arguments.

Definition at line 75 of file Touches.h.

te::fe::Touches::~Touches ( )
inline

Destructor.

Definition at line 78 of file Touches.h.

Member Function Documentation

virtual ReturnType te::common::BaseVisitable< Visitor , R >::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.
te::gml::Envelope * te::fe::BinarySpatialOp::getEnvelope ( ) const
inherited

It returns the envelope.

Returns
The envelope.

Definition at line 95 of file BinarySpatialOp.cpp.

Referenced by te::map::QueryEncoder::visit().

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

It returns the geometry.

Returns
The geometry.

Definition at line 84 of file BinarySpatialOp.cpp.

Referenced by te::map::QueryEncoder::visit().

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.

Referenced by GetQualifiedName(), te::map::QueryEncoder::visit(), and te::fe::serialize::AbstractOp::write().

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

It returns the property name.

Returns
The property name.

Definition at line 73 of file BinarySpatialOp.cpp.

Referenced by BinarySpatialOpWriter(), and te::map::QueryEncoder::visit().

void te::fe::BinarySpatialOp::setEnvelope ( te::gml::Envelope e)
inherited

It sets the envelope.

Parameters
eThe envelope.
Note
It will take the ownership of the envelope.

Definition at line 89 of file BinarySpatialOp.cpp.

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

It sets the geometry.

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

Definition at line 78 of file BinarySpatialOp.cpp.

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.

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

It sets the property name.

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

Definition at line 67 of file BinarySpatialOp.cpp.

Member Data Documentation

te::gml::Envelope* te::fe::BinarySpatialOp::m_box
protectedinherited

A convenient and more compact way of encoding the very common bounding box constraint. (It must be omitted ig m_box is given)

Definition at line 178 of file BinarySpatialOp.h.

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

A literal geometric value. (It must be omitted if m_envelope is given)

Definition at line 177 of file BinarySpatialOp.h.

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

Operator name.

Definition at line 120 of file AbstractOp.h.

PropertyName* te::fe::BinarySpatialOp::m_property
protectedinherited

A geometric property. (Mandatory)

Definition at line 176 of file BinarySpatialOp.h.


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