23 #include "wxgis/datasource/table.h"
37 wxGISFeatureDataset(
const CPLString &sPath,
int nSubType, OGRLayer* poLayer = NULL, OGRCompatibleDataSource* poDS = NULL);
41 virtual void Close(
void);
42 virtual bool Open(
int iLayer = 0,
bool bUpdate =
true,
bool bShared =
true,
bool bCache =
true,
ITrackCancel*
const pTrackCancel = NULL);
44 virtual wxGISDataset* GetSubset(
const wxString & sSubsetName);
45 virtual bool IsCached(
void)
const;
46 virtual bool IsCaching(
void)
const;
47 virtual void Cache(
ITrackCancel*
const pTrackCancel = NULL);
48 virtual void StopCaching(
void);
49 virtual void SetEncoding(
const wxFontEncoding &oEncoding);
50 virtual char **GetFileList();
52 virtual OGRErr DeleteFeature(
long nFID);
56 virtual void SetCached(
bool bCached);
57 virtual OGREnvelope GetEnvelope(
void);
58 virtual OGRwkbGeometryType GetGeometryType(
void)
const;
59 virtual wxString GetGeometryColumn(
void)
const;
60 virtual OGRErr SetFilter(
const wxGISSpatialFilter &SpaFilter = wxGISNullSpatialFilter);
62 virtual wxGISSpatialTreeCursor SearchGeometry(
const OGREnvelope &Env);
64 virtual void SetInternalValues(
void);
65 virtual bool IsContainer()
const;
67 OGREnvelope m_stExtent;
68 OGRwkbGeometryType m_eGeomType;
70 bool m_bOLCFastGetExtent;
86 wxGISFeatureDatasetCached(
const CPLString &sPath,
int nSubType, OGRLayer* poLayer = NULL, OGRCompatibleDataSource* poDS = NULL);
89 virtual void Close(
void);
91 virtual wxGISDataset* GetSubset(
const wxString & sSubsetName);
92 virtual void Cache(
ITrackCancel*
const pTrackCancel = NULL);
93 virtual void SetEncoding(
const wxFontEncoding &oEncoding);
95 virtual OGREnvelope GetEnvelope(
void);
100 virtual void Reset(
void);
104 virtual size_t GetFeatureCount(
bool bForce =
false,
ITrackCancel*
const pTrackCancel = NULL);
105 virtual OGRErr DeleteFeature(
long nFID);
109 std::map<long, wxGISFeature> m_omFeatures;
Definition: featuredataset.h:80
A TrackCancel interface class.
Definition: core.h:144
Definition: gdalinh.h:117
The class represents an array of OGRFeatures, received by some selection.
Definition: cursor.h:33
Definition: spatialtree.h:63
Definition: spatialtree.h:297
Definition: featuredataset.h:32