19#ifndef _TM_EXPORTDATA_H_
20#define _TM_EXPORTDATA_H_
30#include <wx/progdlg.h>
32#include "../database/databaseresult.h"
50 bool m_ExportAttributEnumerationCode;
52 void InitMemberValues();
54 double m_CropBufferDistance;
94 void SetExportAttributEnumeration(
bool useAttributCode) {
95 m_ExportAttributEnumerationCode = useAttributCode;
98 bool DoExportAttributEnumerationCode() {
99 return m_ExportAttributEnumerationCode;
107 virtual bool CreatePrjFile(
ProjectDefMemoryLayers* myLayer,
const wxString& path, PRJDEF_PROJ_TYPE proj) {
111 virtual bool AddOptFields(
const PrjMemFieldArray& myfields) {
115 virtual bool AddGenericFields(
int iSize) {
119 virtual bool AddFIDField() {
123 virtual void SetFrame(wxRealPoint* points,
int nbvertex) {
148 wxProgressDialog* progDlg,
tmPercent* percent) {
168 virtual bool HasFeatures() {
172 virtual void SetEmptyLayer();
178 void SetCropBufferDistance(
double value) {
179 m_CropBufferDistance = value;
182 double GetCropBufferDistance() {
183 return m_CropBufferDistance;
186 void SetOverwrite(
bool value) {
Definition databaseresult.h:30
Definition database_tm.h:80
Definition prjdefmemmanage.h:54
Storing layers properties in memory.
Definition projectdefmemory.h:246
Parent class for exporting data.
Definition tmexportdata.h:48
bool GetAdvancedAttribution(ProjectDefMemoryLayers *layer)
Process the query for getting advanced values from database.
Definition tmexportdata.cpp:276
wxFileName * GetFileName(ProjectDefMemoryLayers *myLayer, const wxString &path)
Create a file name.
Definition tmexportdata.cpp:87
void Create(DataBaseTM *database)
Creator.
Definition tmexportdata.cpp:65
bool GetSimpleAttribDataWithSpatial(PRJDEF_LAYERS_TYPE layertype, long layerindex)
Process query for getting simple attributs and spatial data.
Definition tmexportdata.cpp:232
~tmExportData()
destructor
Definition tmexportdata.cpp:75
int GetSizeOfEnum(const PrjMemFieldCodedValArray &mCodedVal)
Get the max size of the items stored into array.
Definition tmexportdata.cpp:128
int GetSizeOfObjDesc(int layerindex)
Getting size of Object Desc column.
Definition tmexportdata.cpp:148
wxString GetFileExtension()
Return extension without the leading dot.
Definition tmexportdata.cpp:173
bool GetSimpleAttribData(PRJDEF_LAYERS_TYPE layertype, long layerindex)
Process query for getting simple attributs.
Definition tmexportdata.cpp:187
tmExportData()
Constructor.
Definition tmexportdata.cpp:43
wxFileName * GetFileNamePrj(ProjectDefMemoryLayers *myLayer, const wxString &path)
Create a prj file name.
Definition tmexportdata.cpp:108
Definition tmpercent.h:36
Storing project properties in memory.