te::fe::SpatialOp Class Referenceabstract

A spatial operator determines whether its geometric arguments satisfy the stated spatial relationship. More...

#include <SpatialOp.h>

Inheritance diagram for te::fe::SpatialOp:
te::fe::AbstractOp te::common::BaseVisitable< Visitor > te::fe::BBOXOp te::fe::BinarySpatialOp te::fe::DistanceBuffer te::fe::Contains te::fe::Crosses te::fe::Disjoint te::fe::Equals te::fe::Intersects te::fe::Overlaps te::fe::Touches te::fe::Within te::fe::Beyond te::fe::DWithin

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.

 SpatialOp (const char *opName=0)
 It initializes the SpatialOp. More...
 
virtual ~SpatialOp ()
 Virtual destructor. 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

const char * m_name
 Operator name. More...
 

Detailed Description

A spatial operator determines whether its geometric arguments satisfy the stated spatial relationship.

The operator evaluates to true if the spatial relationship is satisfied. Otherwise the operator evaluates to false.

See also
AbstractOp, BinarySpatialOp, BBOXOp, DistanceBuffer

Definition at line 49 of file SpatialOp.h.

Member Typedef Documentation

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

Definition at line 58 of file BaseVisitable.h.

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

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

te::fe::SpatialOp::SpatialOp ( const char *  opName = 0)

It initializes the SpatialOp.

Parameters
opNameThe operator name.
Note
The SpatialOp will not take the ownership of the given name.
virtual te::fe::SpatialOp::~SpatialOp ( )
virtual

Virtual destructor.

Member Function Documentation

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

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.

Member Data Documentation

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

Operator name.

Definition at line 120 of file AbstractOp.h.


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