te::attributefill::VectorToVectorDialog Class Reference

#include <VectorToVectorDialog.h>

Inheritance diagram for te::attributefill::VectorToVectorDialog:

Public Member Functions

te::map::AbstractLayerPtr getLayer ()
 Get the generated layer. More...
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 Set the layer that can be used. More...
 
void setLogPath (const std::string &path)
 
 VectorToVectorDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~VectorToVectorDialog ()
 

Protected Slots

void onCancelPushButtonClicked ()
 
void onFromLayerComboBoxCurrentIndexChanged (int index)
 
void onOkPushButtonClicked ()
 
void onRejectAllComboBoxChanged (int index)
 
void onSelectAllComboBoxChanged (int index)
 
void onSelectAttrToolButtonPressed ()
 
void onStatisticsListWidgetItemPressed (QListWidgetItem *item)
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 
void onToLayerComboBoxCurrentIndexChanged (int index)
 

Private Types

typedef std::map< te::stat::StatisticalSummary, std::string > StaticalSummaryMap
 

Private Member Functions

te::map::AbstractLayerPtr getCurrentFromLayer ()
 
te::map::AbstractLayerPtr getCurrentToLayer ()
 
te::gm::GeomType getCurrentToLayerGeomType ()
 
std::map< std::string, std::vector< te::attributefill::OperationType > > getSelections ()
 
bool isClassType (const int type)
 
bool isNumProperty (const int type)
 
bool isPoint (te::gm::GeomType type)
 
bool isPolygon (te::gm::GeomType type)
 
bool isValidPropertyType (const int type)
 
void setFunctionsByLayer (te::map::AbstractLayerPtr layer)
 
void setStatisticalSummary ()
 

Private Attributes

std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
std::string m_logPath
 
te::map::AbstractLayerPtr m_outLayer
 
std::vector< std::string > m_outputAttributes
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
std::string m_path
 Output layer path;. More...
 
bool m_toFile
 
std::auto_ptr< Ui::VectorToVectorDialogForm > m_ui
 User interface. More...
 

Detailed Description

Definition at line 59 of file VectorToVectorDialog.h.

Member Typedef Documentation

Constructor & Destructor Documentation

te::attributefill::VectorToVectorDialog::VectorToVectorDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
te::attributefill::VectorToVectorDialog::~VectorToVectorDialog ( )

Member Function Documentation

te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getCurrentFromLayer ( )
private
te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getCurrentToLayer ( )
private
te::gm::GeomType te::attributefill::VectorToVectorDialog::getCurrentToLayerGeomType ( )
private
te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getLayer ( )

Get the generated layer.

Returns
the generated layer.
std::map<std::string, std::vector<te::attributefill::OperationType> > te::attributefill::VectorToVectorDialog::getSelections ( )
private
bool te::attributefill::VectorToVectorDialog::isClassType ( const int  type)
private
bool te::attributefill::VectorToVectorDialog::isNumProperty ( const int  type)
private
bool te::attributefill::VectorToVectorDialog::isPoint ( te::gm::GeomType  type)
private
bool te::attributefill::VectorToVectorDialog::isPolygon ( te::gm::GeomType  type)
private
bool te::attributefill::VectorToVectorDialog::isValidPropertyType ( const int  type)
private
void te::attributefill::VectorToVectorDialog::onCancelPushButtonClicked ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onFromLayerComboBoxCurrentIndexChanged ( int  index)
protectedslot
void te::attributefill::VectorToVectorDialog::onOkPushButtonClicked ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onRejectAllComboBoxChanged ( int  index)
protectedslot
void te::attributefill::VectorToVectorDialog::onSelectAllComboBoxChanged ( int  index)
protectedslot
void te::attributefill::VectorToVectorDialog::onSelectAttrToolButtonPressed ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onStatisticsListWidgetItemPressed ( QListWidgetItem *  item)
protectedslot
void te::attributefill::VectorToVectorDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onTargetFileToolButtonPressed ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onToLayerComboBoxCurrentIndexChanged ( int  index)
protectedslot
void te::attributefill::VectorToVectorDialog::setFunctionsByLayer ( te::map::AbstractLayerPtr  layer)
private
void te::attributefill::VectorToVectorDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr
void te::attributefill::VectorToVectorDialog::setLogPath ( const std::string &  path)
void te::attributefill::VectorToVectorDialog::setStatisticalSummary ( )
private

Member Data Documentation

std::list<te::map::AbstractLayerPtr> te::attributefill::VectorToVectorDialog::m_layers
private

List of layers.

Definition at line 138 of file VectorToVectorDialog.h.

std::string te::attributefill::VectorToVectorDialog::m_logPath
private

Definition at line 142 of file VectorToVectorDialog.h.

te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::m_outLayer
private

Definition at line 140 of file VectorToVectorDialog.h.

std::vector<std::string> te::attributefill::VectorToVectorDialog::m_outputAttributes
private

Definition at line 139 of file VectorToVectorDialog.h.

te::da::DataSourceInfoPtr te::attributefill::VectorToVectorDialog::m_outputDatasource
private

DataSource information.

Definition at line 137 of file VectorToVectorDialog.h.

std::string te::attributefill::VectorToVectorDialog::m_path
private

Output layer path;.

Definition at line 141 of file VectorToVectorDialog.h.

bool te::attributefill::VectorToVectorDialog::m_toFile
private

Definition at line 143 of file VectorToVectorDialog.h.

std::auto_ptr<Ui::VectorToVectorDialogForm> te::attributefill::VectorToVectorDialog::m_ui
private

User interface.

Definition at line 136 of file VectorToVectorDialog.h.


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