#include <LineToPolygonOp.h>
Public Member Functions | |
| LineToPolygonOp () | |
| virtual bool | paramsAreValid () |
| virtual bool | run ()=0 |
| void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::unique_ptr< te::da::DataSetTypeConverter > converter, const te::da::ObjectIdSet *oidSet=0) |
| void | setOutput (te::da::DataSourcePtr outDsrc, std::string dsname) |
| void | setParams (bool forceClose=false) |
| virtual | ~LineToPolygonOp () |
Protected Member Functions | |
| std::unique_ptr< te::da::DataSetType > | buildOutDataSetType () |
| te::gm::GeomType | getGeomResultType (te::gm::GeomType geom) |
Protected Attributes | |
| std::unique_ptr< te::da::DataSetTypeConverter > | m_converter |
| bool | m_forceClose |
| std::string | m_inDsetName |
| te::da::DataSourcePtr | m_inDsrc |
| const te::da::ObjectIdSet * | m_oidSet |
| std::string | m_outDset |
| te::da::DataSourcePtr | m_outDsrc |
Definition at line 47 of file LineToPolygonOp.h.
| te::vp::LineToPolygonOp::LineToPolygonOp | ( | ) |
Definition at line 38 of file LineToPolygonOp.cpp.
|
inlinevirtual |
Definition at line 53 of file LineToPolygonOp.h.
|
protected |
Definition at line 79 of file LineToPolygonOp.cpp.
References te::da::PrimaryKey::add(), te::dt::GEOMETRY_TYPE, te::dt::Property::getName(), te::gm::GeometryProperty::getSRID(), m_converter, m_outDset, m_outDsrc, te::gm::MultiPolygonType, p, te::gm::GeometryProperty::setGeometryType(), and te::gm::GeometryProperty::setSRID().
Referenced by te::vp::LineToPolygonQuery::run(), and te::vp::LineToPolygonMemory::run().
|
protected |
Definition at line 145 of file LineToPolygonOp.cpp.
References te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, and te::gm::PolygonType.
|
virtual |
Definition at line 43 of file LineToPolygonOp.cpp.
References m_inDsetName, m_inDsrc, m_outDset, and m_outDsrc.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
pure virtual |
Implemented in te::vp::LineToPolygonMemory, and te::vp::LineToPolygonQuery.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
| void te::vp::LineToPolygonOp::setInput | ( | te::da::DataSourcePtr | inDsrc, |
| std::string | inDsetName, | ||
| std::unique_ptr< te::da::DataSetTypeConverter > | converter, | ||
| const te::da::ObjectIdSet * | oidSet = 0 |
||
| ) |
Definition at line 57 of file LineToPolygonOp.cpp.
References m_converter, m_inDsetName, m_inDsrc, and m_oidSet.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
| void te::vp::LineToPolygonOp::setOutput | ( | te::da::DataSourcePtr | outDsrc, |
| std::string | dsname | ||
| ) |
Definition at line 73 of file LineToPolygonOp.cpp.
References m_outDset, and m_outDsrc.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
| void te::vp::LineToPolygonOp::setParams | ( | bool | forceClose = false | ) |
Definition at line 68 of file LineToPolygonOp.cpp.
References m_forceClose.
Referenced by te::vp::LineToPolygonDialog::onOkPushButtonClicked().
|
protected |
Definition at line 76 of file LineToPolygonOp.h.
Referenced by buildOutDataSetType(), te::vp::LineToPolygonQuery::getSelectQueryClosedLines(), te::vp::LineToPolygonQuery::getSelectQueryForceCloseLines(), te::vp::LineToPolygonMemory::run(), and setInput().
|
protected |
Definition at line 79 of file LineToPolygonOp.h.
Referenced by te::vp::LineToPolygonMemory::getPolygons(), te::vp::LineToPolygonQuery::run(), and setParams().
|
protected |
Definition at line 75 of file LineToPolygonOp.h.
Referenced by te::vp::LineToPolygonQuery::getSelectQueryClosedLines(), te::vp::LineToPolygonQuery::getSelectQueryForceCloseLines(), paramsAreValid(), te::vp::LineToPolygonMemory::run(), and setInput().
|
protected |
Definition at line 74 of file LineToPolygonOp.h.
Referenced by te::vp::LineToPolygonQuery::getSelectQueryClosedLines(), te::vp::LineToPolygonQuery::getSelectQueryForceCloseLines(), paramsAreValid(), te::vp::LineToPolygonQuery::run(), te::vp::LineToPolygonMemory::run(), and setInput().
|
protected |
Definition at line 77 of file LineToPolygonOp.h.
Referenced by te::vp::LineToPolygonQuery::getSelectQueryClosedLines(), te::vp::LineToPolygonQuery::getSelectQueryForceCloseLines(), te::vp::LineToPolygonMemory::run(), and setInput().
|
protected |
Definition at line 82 of file LineToPolygonOp.h.
Referenced by buildOutDataSetType(), paramsAreValid(), and setOutput().
|
protected |
Definition at line 81 of file LineToPolygonOp.h.
Referenced by buildOutDataSetType(), paramsAreValid(), te::vp::LineToPolygonQuery::run(), te::vp::LineToPolygonMemory::run(), and setOutput().