All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 onHelpPushButtonClicked ()
 
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::AbstractLayerPtr
m_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 57 of file VectorToVectorDialog.h.

Member Typedef Documentation

Constructor & Destructor Documentation

te::attributefill::VectorToVectorDialog::~VectorToVectorDialog ( )

Definition at line 111 of file VectorToVectorDialog.cpp.

Member Function Documentation

te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getCurrentFromLayer ( )
private

Definition at line 434 of file VectorToVectorDialog.cpp.

te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getCurrentToLayer ( )
private

Definition at line 450 of file VectorToVectorDialog.cpp.

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

Get the generated layer.

Returns
the generated layer.

Definition at line 143 of file VectorToVectorDialog.cpp.

Referenced by te::qt::plugins::attributefill::VectorToVectorAction::onActionActivated().

std::map< std::string, std::vector< te::attributefill::OperationType > > te::attributefill::VectorToVectorDialog::getSelections ( )
private

Definition at line 570 of file VectorToVectorDialog.cpp.

References te::common::Tokenize().

bool te::attributefill::VectorToVectorDialog::isClassType ( const int  type)
private
bool te::attributefill::VectorToVectorDialog::isNumProperty ( const int  type)
private
void te::attributefill::VectorToVectorDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 317 of file VectorToVectorDialog.cpp.

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onFromLayerComboBoxCurrentIndexChanged ( int  index)
protectedslot

Definition at line 322 of file VectorToVectorDialog.cpp.

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onHelpPushButtonClicked ( )
protectedslot

Definition at line 148 of file VectorToVectorDialog.cpp.

void te::attributefill::VectorToVectorDialog::onRejectAllComboBoxChanged ( int  index)
protectedslot

Definition at line 500 of file VectorToVectorDialog.cpp.

References te::common::Tokenize().

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onSelectAllComboBoxChanged ( int  index)
protectedslot

Definition at line 472 of file VectorToVectorDialog.cpp.

References te::common::Tokenize().

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onStatisticsListWidgetItemPressed ( QListWidgetItem *  item)
protectedslot

Definition at line 466 of file VectorToVectorDialog.cpp.

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::attributefill::VectorToVectorDialog::onTargetFileToolButtonPressed ( )
protectedslot

Definition at line 549 of file VectorToVectorDialog.cpp.

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::onToLayerComboBoxCurrentIndexChanged ( int  index)
protectedslot

Definition at line 341 of file VectorToVectorDialog.cpp.

References te::dt::GEOMETRY_TYPE.

Referenced by VectorToVectorDialog().

void te::attributefill::VectorToVectorDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

Definition at line 115 of file VectorToVectorDialog.cpp.

Referenced by te::qt::plugins::attributefill::VectorToVectorAction::onActionActivated().

void te::attributefill::VectorToVectorDialog::setLogPath ( const std::string &  path)

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.

Referenced by VectorToVectorDialog().


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