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

Spatial operators. More...

#include <SpatialOperators.h>

Public Member Functions

Initializer Methods

Methods related to instantiation and destruction.

 SpatialOperators ()
 It initializes a new SpatialOperators. More...
 
 ~SpatialOperators ()
 Destructor. More...
 
Accessor methods

Methods used to get or set properties.

size_t size () const
 It returns the number of operators. More...
 
void push_back (SpatialOperator *sOp)
 It adds the spatial operator to the list. More...
 
const SpatialOperatoroperator[] (size_t i) const
 It returns a specified operator. More...
 

Private Attributes

std::vector< SpatialOperator * > m_spatialOperators
 Mandatory at least one. More...
 

Detailed Description

Spatial operators.

See also
SpatialCapabilities, SpatialOperator

Definition at line 49 of file SpatialOperators.h.

Constructor & Destructor Documentation

te::fe::SpatialOperators::SpatialOperators ( )

It initializes a new SpatialOperators.

Definition at line 34 of file SpatialOperators.cpp.

te::fe::SpatialOperators::~SpatialOperators ( )

Destructor.

Definition at line 38 of file SpatialOperators.cpp.

References te::common::FreeContents().

Member Function Documentation

const te::fe::SpatialOperator * te::fe::SpatialOperators::operator[] ( size_t  i) const

It returns a specified operator.

Parameters
iThe index of desired operator.
Returns
A specified operator.
Note
You must not clear the returned operator.
The method will not check the index range.

Definition at line 54 of file SpatialOperators.cpp.

void te::fe::SpatialOperators::push_back ( SpatialOperator sOp)

It adds the spatial operator to the list.

Parameters
sOpThe spatial operator to be added to the list.
Note
The SpatialOperators object will take the ownership of the operator. So, you must not free it.

Definition at line 48 of file SpatialOperators.cpp.

size_t te::fe::SpatialOperators::size ( ) const

It returns the number of operators.

Returns
The number of available operators.

Definition at line 43 of file SpatialOperators.cpp.

Member Data Documentation

std::vector<SpatialOperator*> te::fe::SpatialOperators::m_spatialOperators
private

Mandatory at least one.

Definition at line 104 of file SpatialOperators.h.


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