Represents an IDENTITY operation between two sets of features. More...
#include <UnionOperation.h>
Public Member Functions | |
| void | abort () |
| Returns TRUE if the operation has been aborted. FALSE otherwise. More... | |
| virtual te::vp::Feature * | createOutputFeature (std::size_t outputIndex) |
| It creates the output feature based on the given output dataaccess index. More... | |
| virtual std::vector< te::vp::FeatureSet > | execute (const std::vector< te::vp::FeatureSet > &vecInput) |
| It executes the operation. More... | |
| std::vector< te::vp::FeatureSet > | executeImpl (const std::vector< te::vp::FeatureSet > &vecInput) |
| virtual std::unique_ptr< te::vp::AbstractOperationCapabilities > | getCapabilities () const |
| Makes all the necessaries adaptations to the input dataAccess to avoid duplicate column names. More... | |
| virtual const te::da::DataSetType * | getDataSetType (std::size_t outputIndex) |
| Gets the dataSetType of the 'outputIndex-th' output. More... | |
| const std::string & | getName () const |
| Gets the output geometry type. More... | |
| te::gm::GeomType | getOutputGeometryType () const |
| AbstractParameters * | getParameters () const |
| Gets the operation report. More... | |
| OperationReport * | getReport () const |
| Gets the operation name. More... | |
| bool | handleOutputPropertyNamesChanges (const te::da::DataSetType *baseOutputDataSetType, const te::da::DataSetType *actualOutputDataSetType) |
| virtual void | initialize () override |
| bool | isAborted () const |
| Get the capabilities of the operation. Basically, operation will have 2 inputs, 1 output, and support subdivision. If it is not the case of the concrete class, this function should be overriden. More... | |
| bool | prepareInputData () |
| bool | prepareOutputData () |
| void | setOutputGeometryType (const te::gm::GeomType newType) |
| Set the output geometry type. More... | |
| void | setParameters (AbstractParameters *params) |
| Gets the operation current parameters. More... | |
| UnionOperation () | |
| Constructor. More... | |
| virtual | ~UnionOperation () |
Protected Member Functions | |
| virtual void | addOutputColumns (te::da::DataSetType *outputDataSetType) |
| Initializes the operation input. More... | |
| virtual te::da::DataSetType * | createBasicOutputDataSetType (const std::string &dataSetName, int srid, te::gm::GeomType geometryType, const std::string &geometryColumnName) const |
| < Creates the basic dataSetType for the output containing all the columns that are required More... | |
| virtual bool | initializeInput () |
| Initializes the operation output. More... | |
| virtual bool | initializeOutput () |
| Function that effectivelly executes the operation. It must be implemented by the concrete classes. More... | |
Protected Attributes | |
| bool | m_aborted |
| Becames true if the abort function is called. Concrete classes must check for this value from time to time. More... | |
| std::unique_ptr< te::vp::DifferenceOperation > | m_differenceOperation |
| std::unique_ptr< te::vp::IdentityOperation > | m_identityOperation |
| AbstractOperationImpl * | m_impl |
| Holds all the attributes of the class. More... | |
Represents an IDENTITY operation between two sets of features.
Represents an union operation between two sets of features.
It executes 2 operations (A - B), and (A & B)
It executes 3 operations (A - B), (B - A) and (A & B)
Definition at line 52 of file UnionOperation.h.
| te::vp::UnionOperation::UnionOperation | ( | ) |
Constructor.
Destructor
|
virtual |
|
inherited |
Returns TRUE if the operation has been aborted. FALSE otherwise.
|
protectedvirtualinherited |
Initializes the operation input.
|
protectedvirtualinherited |
< Creates the basic dataSetType for the output containing all the columns that are required
Reimplemented in te::vp::SubdivideOperation.
|
virtualinherited |
It creates the output feature based on the given output dataaccess index.
| outputIndex | The index of the output dataAccess. |
|
virtualinherited |
It executes the operation.
| input | Input vector data to be processed. |
| Exception | It throws an exception if something goes wrong during the execution. |
\Return The output memory data processed.
|
virtual |
Implements te::vp::AbstractOperation.
|
virtualinherited |
Makes all the necessaries adaptations to the input dataAccess to avoid duplicate column names.
Reimplemented in te::vp::SubdivideOperation, te::vp::MakeValidOperation, te::vp::DissolveSubdivisionOperation, and te::vp::DissolveOperation.
|
virtualinherited |
Gets the dataSetType of the 'outputIndex-th' output.
| outputIndex | The index of the output dataAccess. Sets the parameters to be used by the operation |
|
inherited |
Gets the output geometry type.
|
inherited |
|
inherited |
Gets the operation report.
|
inherited |
Gets the operation name.
|
inherited |
|
overridevirtual |
Reimplemented from te::vp::AbstractOperation.
|
protectedvirtualinherited |
Initializes the operation output.
|
protectedvirtualinherited |
Function that effectivelly executes the operation. It must be implemented by the concrete classes.
|
inherited |
Get the capabilities of the operation. Basically, operation will have 2 inputs, 1 output, and support subdivision. If it is not the case of the concrete class, this function should be overriden.
|
inherited |
|
inherited |
|
inherited |
Set the output geometry type.
|
inherited |
Gets the operation current parameters.
|
protectedinherited |
Becames true if the abort function is called. Concrete classes must check for this value from time to time.
Definition at line 303 of file AbstractOperation.h.
|
protected |
Definition at line 70 of file UnionOperation.h.
|
protected |
Definition at line 69 of file UnionOperation.h.
|
protectedinherited |
Holds all the attributes of the class.
Definition at line 302 of file AbstractOperation.h.