This abstract class represents handler to help reading and writing data from/to a dataSource by dividing it into smaller groups. More...
#include <AbstractDataHandler.h>
Public Member Functions | |
AbstractDataHandler () | |
Default constructor. More... | |
virtual void | addFeatureSet (std::size_t groupIndex, std::size_t outputIndex, const te::vp::FeatureSet &featureSet)=0 |
virtual void | finalize (te::common::TaskProgress *taskProgress) |
Gets the datatype associated with the expected output. More... | |
virtual te::vp::FeatureSet | getFeatureSet (std::size_t groupIndex, std::size_t inputIndex) |
Adds a featureSet related to groupIndex-th group the to be added to the outputIndex-th output data access. More... | |
virtual te::vp::FeatureSet | getFeatureSet (std::size_t groupIndex, std::size_t inputIndex, const te::gm::Envelope &filter)=0 |
Returns the inputIndex-th featureSet og the groupIndex-th group. More... | |
virtual std::size_t | getGroupCount () const =0 |
Returns the number of inputs of the data handler. More... | |
virtual std::size_t | getInputCount () const |
Returns the number of output of the data handler. More... | |
virtual const std::vector< te::da::DataAccess * > & | getInputDataAccessVector () const |
virtual std::size_t | getOutputCount () const |
Returns the inputIndex-th featureSet og the groupIndex-th group considering the given filter. More... | |
virtual const std::vector< te::da::DataAccess * > & | getOutputDataAccessVector () const |
virtual const te::da::DataSetType * | getOutputDataType () const |
Returns the number of groups of the data handler. More... | |
virtual void | initialize (te::vp::AbstractParameters *absParams, te::common::TaskProgress *taskProgress) |
Finalizes the data handler. More... | |
virtual | ~AbstractDataHandler ()=default |
Virtual destructor. More... | |
Protected Attributes | |
std::size_t | m_maxCoordinates |
std::vector< te::da::DataAccess * > | m_vecInputData |
std::vector< te::da::DataAccess * > | m_vecOutputData |
This abstract class represents handler to help reading and writing data from/to a dataSource by dividing it into smaller groups.
Definition at line 62 of file AbstractDataHandler.h.
te::vp::AbstractDataHandler::AbstractDataHandler | ( | ) |
Default constructor.
|
virtualdefault |
Virtual destructor.
Initializes the data handler
|
pure virtual |
|
virtual |
Gets the datatype associated with the expected output.
Reimplemented in te::vp::AttributeGroupingDataHandler, te::vp::SubdivideDataHandler, and te::vp::UnorderedGroupingDataHandler.
|
virtual |
Adds a featureSet related to groupIndex-th group the to be added to the outputIndex-th output data access.
|
pure virtual |
Returns the inputIndex-th featureSet og the groupIndex-th group.
Implemented in te::vp::AttributeGroupingDataHandler, te::vp::NoGroupingDataHandler, te::vp::SubdivideDataHandler, and te::vp::UnorderedGroupingDataHandler.
|
pure virtual |
Returns the number of inputs of the data handler.
Implemented in te::vp::AttributeGroupingDataHandler, te::vp::NoGroupingDataHandler, te::vp::SubdivideDataHandler, and te::vp::UnorderedGroupingDataHandler.
|
virtual |
Returns the number of output of the data handler.
|
virtual |
|
virtual |
Returns the inputIndex-th featureSet og the groupIndex-th group considering the given filter.
|
virtual |
|
virtual |
Returns the number of groups of the data handler.
|
virtual |
Finalizes the data handler.
Reimplemented in te::vp::AttributeGroupingDataHandler, te::vp::SubdivideDataHandler, and te::vp::UnorderedGroupingDataHandler.
|
protected |
Definition at line 105 of file AbstractDataHandler.h.
|
protected |
Definition at line 103 of file AbstractDataHandler.h.
|
protected |
Definition at line 104 of file AbstractDataHandler.h.