#include <IntersectionQuery.h>
Public Member Functions | |
IntersectionQuery () | |
virtual bool | paramsAreValid () |
bool | run () throw (te::common::Exception) |
void | setInput (te::da::DataSourcePtr inFirstDsrc, std::string inFirstDsetName, std::auto_ptr< te::da::DataSetType > inFirstDsetType, te::da::DataSourcePtr inSecondDsrc, std::string inSecondDsetName, std::auto_ptr< te::da::DataSetType > inSecondDsetType, const te::da::ObjectIdSet *firstOidSet=0, const te::da::ObjectIdSet *secondOidSet=0) |
void | setOutput (te::da::DataSourcePtr outDsrc, std::string dsname) |
void | setParams (const bool ©InputColumns, std::size_t inSRID) |
~IntersectionQuery () | |
Protected Member Functions | |
te::gm::GeomType | getGeomResultType (te::gm::GeomType geom) |
std::vector< te::dt::Property * > | getTabularProps (te::da::DataSetType *dsType) |
Protected Attributes | |
bool | m_copyInputColumns |
const te::da::ObjectIdSet * | m_firstOidSet |
std::string | m_inFirstDsetName |
std::auto_ptr < te::da::DataSetType > | m_inFirstDsetType |
te::da::DataSourcePtr | m_inFirstDsrc |
std::string | m_inSecondDsetName |
std::auto_ptr < te::da::DataSetType > | m_inSecondDsetType |
te::da::DataSourcePtr | m_inSecondDsrc |
std::string | m_outDsetName |
te::da::DataSourcePtr | m_outDsrc |
const te::da::ObjectIdSet * | m_secondOidSet |
std::size_t | m_SRID |
Private Member Functions | |
te::da::DataSet * | updateGeomType (te::da::DataSetType *dsType, te::da::DataSet *ds) |
Definition at line 54 of file IntersectionQuery.h.
te::vp::IntersectionQuery::IntersectionQuery | ( | ) |
Definition at line 75 of file IntersectionQuery.cpp.
te::vp::IntersectionQuery::~IntersectionQuery | ( | ) |
Definition at line 78 of file IntersectionQuery.cpp.
|
protectedinherited |
Definition at line 79 of file IntersectionOp.cpp.
References te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, and te::gm::PolygonType.
|
protectedinherited |
Definition at line 113 of file IntersectionOp.cpp.
References te::dt::GEOMETRY_TYPE, te::dt::CompositeProperty::getProperties(), te::dt::CompositeProperty::getProperty(), te::dt::Property::getType(), and te::dt::NUMERIC_TYPE.
|
virtualinherited |
Definition at line 93 of file IntersectionOp.cpp.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
virtual |
Implements te::vp::IntersectionOp.
Definition at line 82 of file IntersectionQuery.cpp.
References te::da::PrimaryKey::add(), te::dt::Property::clone(), te::vp::GeomOpResultType(), te::da::GetFirstGeomProperty(), te::dt::Property::getName(), te::vp::GetSimpleTableName(), te::gm::GeometryProperty::getSRID(), te::da::INNER_JOIN, te::dt::INT32_TYPE, te::vp::Save(), te::dt::SimpleProperty::setAutoNumber(), te::da::Select::setFields(), te::da::Select::setFrom(), te::dt::Property::setName(), te::da::Select::setWhere(), and TE_TR.
|
inherited |
Definition at line 46 of file IntersectionOp.cpp.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 73 of file IntersectionOp.cpp.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 66 of file IntersectionOp.cpp.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
private |
Definition at line 201 of file IntersectionQuery.cpp.
References te::mem::DataSet::add(), te::dt::GEOMETRY_TYPE, te::da::DataSet::getGeometry(), te::dt::CompositeProperty::getProperties(), te::da::DataSet::getValue(), te::da::DataSet::isNull(), te::gm::LineStringType, te::da::DataSet::moveNext(), te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, te::gm::PolygonType, te::mem::DataSetItem::setGeometry(), te::mem::DataSetItem::setInt32(), and te::mem::DataSetItem::setValue().
|
protectedinherited |
Definition at line 97 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 94 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 89 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 90 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 88 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 92 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 93 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 91 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 101 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 100 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 95 of file IntersectionOp.h.
|
protectedinherited |
Definition at line 98 of file IntersectionOp.h.