te::vp::AbstractOperationCapabilities Class Reference

Abstract class used to define the capabilities of the operation, inclusing number of inputs and outputs. More...

#include <AbstractOperation.h>

Inheritance diagram for te::vp::AbstractOperationCapabilities:
te::vp::DissolveOperationCapabilities te::vp::DissolveSubdivisionOperationCapabilities te::vp::SubdivideOperationCapabilities

Public Member Functions

 AbstractOperationCapabilities (const std::string &operationName, std::size_t numberOfInputs, std::size_t numberOfOutputs, const std::string &dataHandlerName, bool snapGeometries, bool allowCoordinateSubdivision)
 Destructor. More...
 
virtual std::unique_ptr< AbstractParameterscreateParameters () const
 
bool getAllowCoordinateSubdivision () const
 Creates the parameters for this operation. If the concrete operation has specific parameters, it must override this class and instantiate the correct parameters. More...
 
const std::string & getDataHandlerName () const
 Checks if the geometries must be snapped to each other before the operation is executed. More...
 
const std::string & getName () const
 Returns TRUE if the operation supports the subdivision of the geometries. FALSE otherwise. More...
 
std::size_t getNumberOfInputs () const
 Returns the number of outputs of the operation. More...
 
std::size_t getNumberOfOutputs () const
 Returns the name of the operation. More...
 
bool getSnapGeometries () const
 Checks if the operation has the capability to handle geometry coordinate subdivision. More...
 
virtual ~AbstractOperationCapabilities ()
 Returns the number of inputs of the operation. More...
 

Protected Attributes

bool m_allowCoordinateSubdivision
 TRUE if the operation has the capability to handle geometry coordinate subdivision. More...
 
std::string m_dataHandlerName
 TRUE if the operation supports the subdivision of the geometries. FALSE otherwise. More...
 
std::size_t m_numberOfInputs
 The number of inputs of the operation. More...
 
std::size_t m_numberOfOutputs
 The number of outputs of the operation. More...
 
std::string m_operationName
 The name of the operation. More...
 
bool m_snapGeometries
 TRUE if the geometries must be snapped to each other before the operation is executed. FALSE otherwise. Default is TRUE. More...
 

Detailed Description

Abstract class used to define the capabilities of the operation, inclusing number of inputs and outputs.

Definition at line 159 of file AbstractOperation.h.

Constructor & Destructor Documentation

◆ AbstractOperationCapabilities()

te::vp::AbstractOperationCapabilities::AbstractOperationCapabilities ( const std::string &  operationName,
std::size_t  numberOfInputs,
std::size_t  numberOfOutputs,
const std::string &  dataHandlerName,
bool  snapGeometries,
bool  allowCoordinateSubdivision 
)

Destructor.

◆ ~AbstractOperationCapabilities()

virtual te::vp::AbstractOperationCapabilities::~AbstractOperationCapabilities ( )
virtual

Returns the number of inputs of the operation.

Member Function Documentation

◆ createParameters()

virtual std::unique_ptr<AbstractParameters> te::vp::AbstractOperationCapabilities::createParameters ( ) const
virtual

◆ getAllowCoordinateSubdivision()

bool te::vp::AbstractOperationCapabilities::getAllowCoordinateSubdivision ( ) const

Creates the parameters for this operation. If the concrete operation has specific parameters, it must override this class and instantiate the correct parameters.

◆ getDataHandlerName()

const std::string& te::vp::AbstractOperationCapabilities::getDataHandlerName ( ) const

Checks if the geometries must be snapped to each other before the operation is executed.

◆ getName()

const std::string& te::vp::AbstractOperationCapabilities::getName ( ) const

Returns TRUE if the operation supports the subdivision of the geometries. FALSE otherwise.

◆ getNumberOfInputs()

std::size_t te::vp::AbstractOperationCapabilities::getNumberOfInputs ( ) const

Returns the number of outputs of the operation.

◆ getNumberOfOutputs()

std::size_t te::vp::AbstractOperationCapabilities::getNumberOfOutputs ( ) const

Returns the name of the operation.

◆ getSnapGeometries()

bool te::vp::AbstractOperationCapabilities::getSnapGeometries ( ) const

Checks if the operation has the capability to handle geometry coordinate subdivision.

Member Data Documentation

◆ m_allowCoordinateSubdivision

bool te::vp::AbstractOperationCapabilities::m_allowCoordinateSubdivision
protected

TRUE if the operation has the capability to handle geometry coordinate subdivision.

Definition at line 195 of file AbstractOperation.h.

◆ m_dataHandlerName

std::string te::vp::AbstractOperationCapabilities::m_dataHandlerName
protected

TRUE if the operation supports the subdivision of the geometries. FALSE otherwise.

Definition at line 193 of file AbstractOperation.h.

◆ m_numberOfInputs

std::size_t te::vp::AbstractOperationCapabilities::m_numberOfInputs
protected

The number of inputs of the operation.

Definition at line 191 of file AbstractOperation.h.

◆ m_numberOfOutputs

std::size_t te::vp::AbstractOperationCapabilities::m_numberOfOutputs
protected

The number of outputs of the operation.

Definition at line 192 of file AbstractOperation.h.

◆ m_operationName

std::string te::vp::AbstractOperationCapabilities::m_operationName
protected

The name of the operation.

Definition at line 190 of file AbstractOperation.h.

◆ m_snapGeometries

bool te::vp::AbstractOperationCapabilities::m_snapGeometries
protected

TRUE if the geometries must be snapped to each other before the operation is executed. FALSE otherwise. Default is TRUE.

Definition at line 194 of file AbstractOperation.h.


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