te::vp::IntersectionOp Class Referenceabstract

#include <IntersectionOp.h>

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

Public Member Functions

te::da::DataSetTypegetOutputDsType ()
 
 IntersectionOp ()
 
virtual bool paramsAreValid ()
 
virtual bool run ()=0
 
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)
 
virtual ~IntersectionOp ()
 

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
 

Detailed Description

Definition at line 55 of file IntersectionOp.h.

Constructor & Destructor Documentation

te::vp::IntersectionOp::IntersectionOp ( )

Definition at line 40 of file IntersectionOp.cpp.

virtual te::vp::IntersectionOp::~IntersectionOp ( )
inlinevirtual

Definition at line 61 of file IntersectionOp.h.

Member Function Documentation

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

Definition at line 219 of file IntersectionOp.cpp.

References te::dt::Property::getName(), m_attributeVec, and p.

te::gm::GeomType te::vp::IntersectionOp::setGeomResultType ( te::gm::GeomType  firstGeom,
te::gm::GeomType  secondGeom 
)
protected
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 
)
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 
)
void te::vp::IntersectionOp::setIsFirstQuery ( )

Definition at line 209 of file IntersectionOp.cpp.

References m_isFistQuery.

Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().

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

Definition at line 214 of file IntersectionOp.cpp.

References m_isSecondQuery.

Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().

void te::vp::IntersectionOp::setOutput ( te::da::DataSourcePtr  outDsrc,
std::string  dsname 
)
void te::vp::IntersectionOp::setParams ( const std::vector< std::pair< int, std::string > > &  attributeVec)

Definition at line 97 of file IntersectionOp.cpp.

References m_attributeVec.

Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().

Member Data Documentation

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

Definition at line 126 of file IntersectionOp.h.

Referenced by getOutputDsType(), isSelectedProperty(), and setParams().

std::unique_ptr<te::da::DataSetTypeConverter> te::vp::IntersectionOp::m_firstConverter
protected
std::unique_ptr<te::da::DataSet> te::vp::IntersectionOp::m_firstDs
protected

Definition at line 119 of file IntersectionOp.h.

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

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

Definition at line 118 of file IntersectionOp.h.

Referenced by getOutputDsType(), and setInput().

const te::da::ObjectIdSet* te::vp::IntersectionOp::m_firstOidSet
protected
std::string te::vp::IntersectionOp::m_inFirstDsetName
protected
te::da::DataSourcePtr te::vp::IntersectionOp::m_inFirstDsrc
protected
std::string te::vp::IntersectionOp::m_inSecondDsetName
protected
te::da::DataSourcePtr te::vp::IntersectionOp::m_inSecondDsrc
protected
bool te::vp::IntersectionOp::m_isFistQuery
protected

Definition at line 123 of file IntersectionOp.h.

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

bool te::vp::IntersectionOp::m_isSecondQuery
protected

Definition at line 124 of file IntersectionOp.h.

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

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

Definition at line 121 of file IntersectionOp.h.

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

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

Definition at line 120 of file IntersectionOp.h.

Referenced by getOutputDsType(), and setInput().

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

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