te::vp::IntersectionMemory Class Reference

#include <IntersectionMemory.h>

Inheritance diagram for te::vp::IntersectionMemory:
te::vp::IntersectionOp

Classes

struct  IntersectionMember
 

Public Member Functions

te::da::DataSetTypegetOutputDsType ()
 
 IntersectionMemory ()
 
virtual bool paramsAreValid ()
 
bool run () throw (te::common::Exception)
 
void setInput (te::da::DataSourcePtr inFirstDsrc, std::string inFirstDsetName, std::unique_ptr< te::da::DataSetTypeConverter > firstConverter, te::da::DataSourcePtr inSecondDsrc, std::string inSecondDsetName, std::unique_ptr< te::da::DataSetTypeConverter > secondConverter, const te::da::ObjectIdSet *firstOidSet=0, const te::da::ObjectIdSet *secondOidSet=0)
 
void setInput (te::da::DataSourcePtr inFirstDsrc, std::string inFirstDsetName, std::unique_ptr< te::da::DataSetType > firstDsType, std::unique_ptr< te::da::DataSet > firstDs, std::unique_ptr< te::da::DataSetTypeConverter > firstConverter, te::da::DataSourcePtr inSecondDsrc, std::string inSecondDsetName, std::unique_ptr< te::da::DataSetType > secondDsType, std::unique_ptr< te::da::DataSet > secondDs, std::unique_ptr< te::da::DataSetTypeConverter > secondConverter, const te::da::ObjectIdSet *firstOidSet=0, const te::da::ObjectIdSet *secondOidSet=0)
 
void setIsFirstQuery ()
 
void setIsSecondQuery ()
 
void setOutput (te::da::DataSourcePtr outDsrc, std::string dsname)
 
void setParams (const std::vector< std::pair< int, std::string > > &attributeVec)
 
 ~IntersectionMemory ()
 

Protected Member Functions

std::vector< te::dt::Property * > getTabularProps (te::da::DataSetType *dsType)
 
bool isSelectedProperty (const int &id, const dt::Property &prop)
 
te::gm::GeomType setGeomResultType (te::gm::GeomType firstGeom, te::gm::GeomType secondGeom)
 

Protected Attributes

std::vector< std::pair< int, std::string > > m_attributeVec
 
std::unique_ptr< te::da::DataSetTypeConverterm_firstConverter
 
std::unique_ptr< te::da::DataSetm_firstDs
 
std::unique_ptr< te::da::DataSetTypem_firstDsType
 
const te::da::ObjectIdSetm_firstOidSet
 
std::string m_inFirstDsetName
 
te::da::DataSourcePtr m_inFirstDsrc
 
std::string m_inSecondDsetName
 
te::da::DataSourcePtr m_inSecondDsrc
 
bool m_isFistQuery
 
bool m_isSecondQuery
 
std::string m_outDsetName
 
te::da::DataSourcePtr m_outDsrc
 
std::unique_ptr< te::da::DataSetTypeConverterm_secondConverter
 
std::unique_ptr< te::da::DataSetm_secondDs
 
std::unique_ptr< te::da::DataSetTypem_secondDsType
 
const te::da::ObjectIdSetm_secondOidSet
 

Private Types

typedef te::sam::rtree::Index< size_t, 8 > * DataSetRTree
 

Private Member Functions

std::pair< te::da::DataSetType *, te::da::DataSet * > pairwiseIntersection (std::string newName, IntersectionMember firstMember, IntersectionMember secondMember)
 

Detailed Description

Definition at line 57 of file IntersectionMemory.h.

Member Typedef Documentation

Definition at line 77 of file IntersectionMemory.h.

Constructor & Destructor Documentation

te::vp::IntersectionMemory::IntersectionMemory ( )
default
te::vp::IntersectionMemory::~IntersectionMemory ( )
default

Member Function Documentation

std::vector< te::dt::Property * > te::vp::IntersectionOp::getTabularProps ( te::da::DataSetType dsType)
protectedinherited
bool te::vp::IntersectionOp::isSelectedProperty ( const int id,
const dt::Property prop 
)
protectedinherited
std::pair< te::da::DataSetType *, te::da::DataSet * > te::vp::IntersectionMemory::pairwiseIntersection ( std::string  newName,
IntersectionMember  firstMember,
IntersectionMember  secondMember 
)
private

Definition at line 124 of file IntersectionMemory.cpp.

References te::mem::DataSet::add(), te::gm::GeometryCollection::add(), DataSet(), te::vp::IntersectionMemory::IntersectionMember::ds, te::vp::IntersectionMemory::IntersectionMember::dt, te::dt::CompositeProperty::findFirstPropertyOfType(), te::dt::GEOMETRY_TYPE, te::da::GetFirstGeomProperty(), te::da::GetFirstSpatialPropertyPos(), te::da::DataSet::getGeometry(), te::gm::GeometryProperty::getGeometryType(), te::vp::IntersectionOp::getOutputDsType(), te::dt::CompositeProperty::getPropertyPosition(), te::gm::GeometryProperty::getSRID(), te::da::DataSet::getValue(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::insert(), te::common::TaskProgress::isActive(), te::mem::DataSetItem::isNull(), te::da::DataSet::isNull(), te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, te::da::DataSet::move(), te::da::DataSet::moveBeforeFirst(), te::mem::DataSet::moveBeforeFirst(), te::da::DataSet::moveNext(), te::mem::DataSet::moveNext(), te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::PointKdType, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, te::vp::IntersectionMemory::IntersectionMember::props, te::common::TaskProgress::pulse(), te::sam::rtree::Index< DATATYPE, MAXNODES, MINNODES >::search(), te::mem::DataSetItem::setGeometry(), te::mem::DataSetItem::setInt32(), te::common::TaskProgress::setTotalSteps(), te::mem::DataSetItem::setValue(), te::dt::CompositeProperty::size(), te::da::DataSet::size(), TE_CORE_LOG_DEBUG, TE_LOG_INFO, TE_TR, and te::common::TaskProgress::useTimer().

Referenced by run().

te::gm::GeomType te::vp::IntersectionOp::setGeomResultType ( te::gm::GeomType  firstGeom,
te::gm::GeomType  secondGeom 
)
protectedinherited
void te::vp::IntersectionOp::setInput ( te::da::DataSourcePtr  inFirstDsrc,
std::string  inFirstDsetName,
std::unique_ptr< te::da::DataSetType firstDsType,
std::unique_ptr< te::da::DataSet firstDs,
std::unique_ptr< te::da::DataSetTypeConverter firstConverter,
te::da::DataSourcePtr  inSecondDsrc,
std::string  inSecondDsetName,
std::unique_ptr< te::da::DataSetType secondDsType,
std::unique_ptr< te::da::DataSet secondDs,
std::unique_ptr< te::da::DataSetTypeConverter secondConverter,
const te::da::ObjectIdSet firstOidSet = 0,
const te::da::ObjectIdSet secondOidSet = 0 
)
inherited
void te::vp::IntersectionOp::setIsFirstQuery ( )
inherited
void te::vp::IntersectionOp::setIsSecondQuery ( )
inherited
void te::vp::IntersectionOp::setParams ( const std::vector< std::pair< int, std::string > > &  attributeVec)
inherited

Member Data Documentation

std::vector<std::pair<int, std::string> > te::vp::IntersectionOp::m_attributeVec
protectedinherited
std::unique_ptr<te::da::DataSetTypeConverter> te::vp::IntersectionOp::m_firstConverter
protectedinherited
std::unique_ptr<te::da::DataSet> te::vp::IntersectionOp::m_firstDs
protectedinherited

Definition at line 119 of file IntersectionOp.h.

Referenced by run(), and te::vp::IntersectionOp::setInput().

std::unique_ptr<te::da::DataSetType> te::vp::IntersectionOp::m_firstDsType
protectedinherited
const te::da::ObjectIdSet* te::vp::IntersectionOp::m_firstOidSet
protectedinherited
std::string te::vp::IntersectionOp::m_inFirstDsetName
protectedinherited
te::da::DataSourcePtr te::vp::IntersectionOp::m_inFirstDsrc
protectedinherited
std::string te::vp::IntersectionOp::m_inSecondDsetName
protectedinherited
te::da::DataSourcePtr te::vp::IntersectionOp::m_inSecondDsrc
protectedinherited
bool te::vp::IntersectionOp::m_isFistQuery
protectedinherited

Definition at line 123 of file IntersectionOp.h.

Referenced by run(), and te::vp::IntersectionOp::setIsFirstQuery().

bool te::vp::IntersectionOp::m_isSecondQuery
protectedinherited

Definition at line 124 of file IntersectionOp.h.

Referenced by run(), and te::vp::IntersectionOp::setIsSecondQuery().

std::string te::vp::IntersectionOp::m_outDsetName
protectedinherited
te::da::DataSourcePtr te::vp::IntersectionOp::m_outDsrc
protectedinherited
std::unique_ptr<te::da::DataSetTypeConverter> te::vp::IntersectionOp::m_secondConverter
protectedinherited
std::unique_ptr<te::da::DataSet> te::vp::IntersectionOp::m_secondDs
protectedinherited

Definition at line 121 of file IntersectionOp.h.

Referenced by run(), and te::vp::IntersectionOp::setInput().

std::unique_ptr<te::da::DataSetType> te::vp::IntersectionOp::m_secondDsType
protectedinherited
const te::da::ObjectIdSet* te::vp::IntersectionOp::m_secondOidSet
protectedinherited

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