#include <AggregationMemory.h>
Public Member Functions | |
AggregationMemory () | |
virtual bool | paramsAreValid () |
bool | run () throw ( te::common::Exception ) |
void | setInput (te::da::DataSourcePtr inDsrc, std::string inDsetName, std::auto_ptr< te::da::DataSetType > inDsetType, const te::da::ObjectIdSet *oidSet=0) |
void | setOutput (te::da::DataSourcePtr outDsrc, std::string dsname) |
void | setParams (std::vector< te::dt::Property * > &groupProps, std::map< te::dt::Property *, std::vector< te::stat::StatisticalSummary > > &statSum) |
~AggregationMemory () | |
Protected Member Functions | |
te::gm::GeomType | getGeomResultType (te::gm::GeomType geom) |
Protected Attributes | |
std::vector< te::dt::Property * > | m_groupProps |
std::string | m_inDsetName |
std::auto_ptr < te::da::DataSetType > | m_inDsetType |
te::da::DataSourcePtr | m_inDsrc |
const te::da::ObjectIdSet * | m_oidSet |
std::string | m_outDset |
te::da::DataSourcePtr | m_outDsrc |
std::map< te::dt::Property *, std::vector < te::stat::StatisticalSummary > > | m_statSum |
Private Member Functions | |
std::auto_ptr < te::da::DataSetType > | buildOutDataSetType () |
std::map< std::string, double > | calculateNumStats (const std::vector< te::mem::DataSetItem * > &items, std::string &modeProp, std::string &modeName) |
std::map< std::string, std::string > | calculateStringStats (const std::vector< te::mem::DataSetItem * > &items) |
Definition at line 55 of file AggregationMemory.h.
te::vp::AggregationMemory::AggregationMemory | ( | ) |
Definition at line 66 of file AggregationMemory.cpp.
te::vp::AggregationMemory::~AggregationMemory | ( | ) |
Definition at line 69 of file AggregationMemory.cpp.
|
private |
Definition at line 178 of file AggregationMemory.cpp.
References te::dt::DOUBLE_TYPE, te::dt::GEOMETRY_TYPE, te::gm::GeometryProperty::getGeometryType(), te::gm::GeometryProperty::getSRID(), te::stat::GetStatSummaryShortName(), te::dt::INT32_TYPE, te::stat::MODE, te::gm::GeometryProperty::setGeometryType(), te::gm::GeometryProperty::setSRID(), and te::dt::STRING_TYPE.
|
private |
Definition at line 102 of file AggregationMemory.cpp.
References te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::stat::GetNumericStatisticalSummary(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::stat::NumericStatisticalSummary::m_amplitude, te::stat::NumericStatisticalSummary::m_kurtosis, te::stat::NumericStatisticalSummary::m_maxVal, te::stat::NumericStatisticalSummary::m_mean, te::stat::NumericStatisticalSummary::m_median, te::stat::NumericStatisticalSummary::m_minVal, te::stat::NumericStatisticalSummary::m_mode, te::stat::NumericStatisticalSummary::m_skewness, te::stat::NumericStatisticalSummary::m_stdDeviation, te::stat::NumericStatisticalSummary::m_sum, te::stat::NumericStatisticalSummary::m_varCoeff, te::stat::NumericStatisticalSummary::m_variance, and te::dt::STRING_TYPE.
|
private |
Definition at line 72 of file AggregationMemory.cpp.
References te::stat::GetStringStatisticalSummary(), te::stat::StringStatisticalSummary::m_maxVal, te::stat::StringStatisticalSummary::m_minVal, and te::dt::STRING_TYPE.
|
protectedinherited |
Definition at line 71 of file AggregationOp.cpp.
References te::gm::LineStringType, te::gm::MultiLineStringType, te::gm::MultiPointType, te::gm::MultiPolygonType, te::gm::PointType, and te::gm::PolygonType.
|
virtualinherited |
Definition at line 85 of file AggregationOp.cpp.
Referenced by te::vp::AggregationDialog::onOkPushButtonClicked().
|
virtual |
Implements te::vp::AggregationOp.
Definition at line 235 of file AggregationMemory.cpp.
References te::vp::GeomOpResultType(), te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::vp::GetGeometryUnion(), te::dt::Property::getName(), te::da::GetPropertyPos(), te::mem::DataSetItem::getValue(), te::common::TaskProgress::isActive(), te::common::TaskProgress::pulse(), te::vp::Save(), te::mem::DataSetItem::setDouble(), te::mem::DataSetItem::setGeometry(), te::mem::DataSetItem::setInt32(), te::mem::DataSetItem::setString(), te::common::TaskProgress::setTotalSteps(), te::mem::DataSetItem::setValue(), TE_TR, and te::common::TaskProgress::useTimer().
|
inherited |
Definition at line 47 of file AggregationOp.cpp.
Referenced by te::vp::AggregationDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 65 of file AggregationOp.cpp.
Referenced by te::vp::AggregationDialog::onOkPushButtonClicked().
|
inherited |
Definition at line 58 of file AggregationOp.cpp.
Referenced by te::vp::AggregationDialog::onOkPushButtonClicked().
|
protectedinherited |
Definition at line 88 of file AggregationOp.h.
|
protectedinherited |
Definition at line 84 of file AggregationOp.h.
|
protectedinherited |
Definition at line 85 of file AggregationOp.h.
|
protectedinherited |
Definition at line 83 of file AggregationOp.h.
|
protectedinherited |
Definition at line 86 of file AggregationOp.h.
|
protectedinherited |
Definition at line 92 of file AggregationOp.h.
|
protectedinherited |
Definition at line 91 of file AggregationOp.h.
|
protectedinherited |
Definition at line 89 of file AggregationOp.h.