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

◆ DataSetRTree

Definition at line 77 of file IntersectionMemory.h.

Constructor & Destructor Documentation

◆ IntersectionMemory()

te::vp::IntersectionMemory::IntersectionMemory ( )

◆ ~IntersectionMemory()

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

Member Function Documentation

◆ getOutputDsType()

te::da::DataSetType* te::vp::IntersectionOp::getOutputDsType ( )
inherited

◆ getTabularProps()

std::vector<te::dt::Property*> te::vp::IntersectionOp::getTabularProps ( te::da::DataSetType dsType)
protectedinherited

◆ isSelectedProperty()

bool te::vp::IntersectionOp::isSelectedProperty ( const int &  id,
const dt::Property prop 
)
protectedinherited

◆ pairwiseIntersection()

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

◆ paramsAreValid()

virtual bool te::vp::IntersectionOp::paramsAreValid ( )
virtualinherited

◆ run()

bool te::vp::IntersectionMemory::run ( )
throw (te::common::Exception
)
virtual

◆ setGeomResultType()

te::gm::GeomType te::vp::IntersectionOp::setGeomResultType ( te::gm::GeomType  firstGeom,
te::gm::GeomType  secondGeom 
)
protectedinherited

◆ setInput() [1/2]

void te::vp::IntersectionOp::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 
)
inherited

◆ setInput() [2/2]

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

◆ setIsFirstQuery()

void te::vp::IntersectionOp::setIsFirstQuery ( )
inherited

◆ setIsSecondQuery()

void te::vp::IntersectionOp::setIsSecondQuery ( )
inherited

◆ setOutput()

void te::vp::IntersectionOp::setOutput ( te::da::DataSourcePtr  outDsrc,
std::string  dsname 
)
inherited

◆ setParams()

void te::vp::IntersectionOp::setParams ( const std::vector< std::pair< int, std::string > > &  attributeVec)
inherited

Member Data Documentation

◆ m_attributeVec

std::vector<std::pair<int, std::string> > te::vp::IntersectionOp::m_attributeVec
protectedinherited

Definition at line 126 of file IntersectionOp.h.

◆ m_firstConverter

std::unique_ptr<te::da::DataSetTypeConverter> te::vp::IntersectionOp::m_firstConverter
protectedinherited

Definition at line 111 of file IntersectionOp.h.

◆ m_firstDs

std::unique_ptr<te::da::DataSet> te::vp::IntersectionOp::m_firstDs
protectedinherited

Definition at line 119 of file IntersectionOp.h.

◆ m_firstDsType

std::unique_ptr<te::da::DataSetType> te::vp::IntersectionOp::m_firstDsType
protectedinherited

Definition at line 118 of file IntersectionOp.h.

◆ m_firstOidSet

const te::da::ObjectIdSet* te::vp::IntersectionOp::m_firstOidSet
protectedinherited

Definition at line 115 of file IntersectionOp.h.

◆ m_inFirstDsetName

std::string te::vp::IntersectionOp::m_inFirstDsetName
protectedinherited

Definition at line 110 of file IntersectionOp.h.

◆ m_inFirstDsrc

te::da::DataSourcePtr te::vp::IntersectionOp::m_inFirstDsrc
protectedinherited

Definition at line 109 of file IntersectionOp.h.

◆ m_inSecondDsetName

std::string te::vp::IntersectionOp::m_inSecondDsetName
protectedinherited

Definition at line 113 of file IntersectionOp.h.

◆ m_inSecondDsrc

te::da::DataSourcePtr te::vp::IntersectionOp::m_inSecondDsrc
protectedinherited

Definition at line 112 of file IntersectionOp.h.

◆ m_isFistQuery

bool te::vp::IntersectionOp::m_isFistQuery
protectedinherited

Definition at line 123 of file IntersectionOp.h.

◆ m_isSecondQuery

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

Definition at line 124 of file IntersectionOp.h.

◆ m_outDsetName

std::string te::vp::IntersectionOp::m_outDsetName
protectedinherited

Definition at line 129 of file IntersectionOp.h.

◆ m_outDsrc

te::da::DataSourcePtr te::vp::IntersectionOp::m_outDsrc
protectedinherited

Definition at line 128 of file IntersectionOp.h.

◆ m_secondConverter

std::unique_ptr<te::da::DataSetTypeConverter> te::vp::IntersectionOp::m_secondConverter
protectedinherited

Definition at line 114 of file IntersectionOp.h.

◆ m_secondDs

std::unique_ptr<te::da::DataSet> te::vp::IntersectionOp::m_secondDs
protectedinherited

Definition at line 121 of file IntersectionOp.h.

◆ m_secondDsType

std::unique_ptr<te::da::DataSetType> te::vp::IntersectionOp::m_secondDsType
protectedinherited

Definition at line 120 of file IntersectionOp.h.

◆ m_secondOidSet

const te::da::ObjectIdSet* te::vp::IntersectionOp::m_secondOidSet
protectedinherited

Definition at line 116 of file IntersectionOp.h.


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