te::fe::AbstractOp Class Referenceabstract

An abstract interface for operators. More...

#include <AbstractOp.h>

Inheritance diagram for te::fe::AbstractOp:
te::common::BaseVisitable< Visitor > te::fe::ComparisonOp te::fe::LogicOp te::fe::SpatialOp te::fe::BinaryComparisonOp te::fe::PropertyIsBetween te::fe::PropertyIsLike te::fe::PropertyIsNull te::fe::BinaryLogicOp te::fe::UnaryLogicOp te::fe::BBOXOp te::fe::BinarySpatialOp te::fe::DistanceBuffer

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.

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

Private Member Functions

Not Allowed Methods

No copy allowed.

 AbstractOp (const AbstractOp &rhs)
 No copy constructor allowed. More...
 
AbstractOpoperator= (const AbstractOp &rhs)
 No assignment operator allowed. More...
 

Detailed Description

An abstract interface for operators.

See also
Filter, SpatialOp, ComparisonOp, LogicOp

Definition at line 47 of file AbstractOp.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::AbstractOp::AbstractOp ( const char *  opName = 0)

It initializes the operator.

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

Virtual destructor.

te::fe::AbstractOp::AbstractOp ( const AbstractOp rhs)
private

No copy constructor allowed.

Parameters
rhsThe other instance.

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
inline

It returns the operator name.

Returns
The operator name.

Definition at line 82 of file AbstractOp.h.

AbstractOp& te::fe::AbstractOp::operator= ( const AbstractOp rhs)
private

No assignment operator allowed.

Parameters
rhsThe other instance.
Returns
A reference for this.
void te::fe::AbstractOp::setName ( const char *  opName)
inline

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
protected

Operator name.

Definition at line 120 of file AbstractOp.h.


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