ToolMap
Loading...
Searching...
No Matches
projectdefmemory.h File Reference

Storing project properties in memory. More...

#include <wx/wxprec.h>
#include <wx/wx.h>
#include "../gui/listgenreport.h"

Go to the source code of this file.

Classes

class  ProjectDefMemoryFieldsCodedVal
 Storing coded val linked to a field in memory. More...
 
class  ProjectDefMemoryObjects
 Storing object properties in memory. More...
 
class  ProjectDefMemoryFields
 Storing Fields property in memory. More...
 
class  ProjectDefMemoryLayers
 Storing layers properties in memory. More...
 
class  ProjectDefMemoryScale
 

Enumerations

enum  PRJDEF_EXPORT_TYPE { EXPORT_SHAPEFILE = 0 , EXPORT_GRAPHIC }
 Type of export we want. More...
 
enum  PRJDEF_UNIT_TYPE { UNIT_METERS = 0 , UNIT_DD , UNIT_DMS }
 
enum  PRJDEF_PROJ_TYPE { PROJ_SWISS_CH1903 = 0 , PROJ_SWISS_CH1903PLUS , PROJ_WORLD_WGS84 }
 
enum  PRJDEF_FIELD_TYPE {
  TM_FIELD_ENUMERATION = 0 , TM_FIELD_TEXT , TM_FIELD_INTEGER , TM_FIELD_FLOAT ,
  TM_FIELD_DATE
}
 
enum  PRJDEF_FIELD_ORIENTATION { TM_FIELD_ORIENT_YES = 0 , TM_FIELD_ORIENT_NO }
 
enum  PRJDEF_LAYERS_TYPE { LAYER_LINE = 0 , LAYER_POINT , LAYER_POLYGON }
 
enum  PRJDEF_OBJECTS_FREQ { OBJECT_LESS_FREQUENT = 0 , OBJECT_FREQUENT }
 

Functions

 WX_DECLARE_OBJARRAY (ProjectDefMemoryFieldsCodedVal *, PrjMemFieldCodedValArray)
 
 WX_DECLARE_OBJARRAY (ProjectDefMemoryObjects *, PrjMemObjectsArray)
 
 WX_DECLARE_OBJARRAY (ProjectDefMemoryFields *, PrjMemFieldArray)
 
 WX_DECLARE_OBJARRAY (ProjectDefMemoryLayers *, PrjMemLayersArray)
 
 WX_DECLARE_OBJARRAY (ProjectDefMemoryScale, PrjMemScaleArray)
 

Variables

const wxString TABLE_COMMENT_ENUMERATION = _T("ENUMERATION")
 

Detailed Description

Storing project properties in memory.

During the process of creating a new project or editing an existing one, we have to keep all layers, objects, fields, in memory to allow an undo process.

Author
Lucien Schreiber (c) CREALP 2007
Date
18 December 2007

Enumeration Type Documentation

◆ PRJDEF_EXPORT_TYPE

Type of export we want.

Todo:
Maybe this must be defined elsewhere ?
Enumerator
EXPORT_SHAPEFILE 

shapefile is selected (default)

EXPORT_GRAPHIC 

we specify export to graphical format