23 #include "wxgis/catalog/catalog.h"
24 #include "wxgis/catalog/gxobject.h"
25 #include "wxgis/datasource/dataset.h"
26 #include "wxgis/datasource/table.h"
27 #include "wxgis/datasource/featuredataset.h"
43 wxGxDataset(
wxGxObject *oParent,
const wxString &soName = wxEmptyString,
const CPLString &soPath =
"");
46 virtual wxGISEnumDatasetType GetType(
void)
const = 0;
47 virtual int GetSubType(
void)
const = 0;
48 virtual wxULongLong GetSize(
void)
const {
return m_nSize;};
49 virtual wxDateTime GetModificationDate(
void)
const {
return m_dtMod;};
50 virtual void FillMetadata(
bool bForce =
false);
51 virtual bool IsMetadataFilled()
const;
53 virtual void SetPath(
const CPLString &soPath);
55 virtual bool CanDelete(
void);
56 virtual bool CanRename(
void);
57 virtual bool CanCopy(
const CPLString &szDestPath);
58 virtual bool CanMove(
const CPLString &szDestPath);
59 virtual bool Delete(
void);
60 virtual bool Rename(
const wxString &sNewName);
61 virtual bool Copy(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel);
62 virtual bool Move(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel);
70 bool m_bIsMetadataFilled;
90 virtual wxGISEnumDatasetType GetType(
void)
const = 0;
91 virtual int GetSubType(
void)
const = 0;
92 virtual wxULongLong GetSize(
void)
const {
return m_nSize;};
93 virtual wxDateTime GetModificationDate(
void)
const {
return m_dtMod;};
94 virtual void FillMetadata(
bool bForce =
false);
95 virtual bool IsMetadataFilled()
const;
97 virtual void SetPath(
const CPLString &soPath);
99 virtual bool CanDelete(
void);
100 virtual bool CanRename(
void);
101 virtual bool CanCopy(
const CPLString &szDestPath);
102 virtual bool CanMove(
const CPLString &szDestPath);
103 virtual bool Delete(
void);
104 virtual bool Rename(
const wxString &sNewName);
105 virtual bool Copy(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel);
106 virtual bool Move(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel);
114 bool m_bIsMetadataFilled;
129 wxGxTable(wxGISEnumTableType eType,
wxGxObject *oParent,
const wxString &soName = wxEmptyString,
const CPLString &soPath =
"");
132 virtual wxString GetCategory(
void)
const;
135 virtual wxGISEnumDatasetType GetType(
void)
const {
return enumGISTable;};
136 virtual int GetSubType(
void)
const {
return m_eType; };
141 wxGISEnumTableType m_eType;
156 wxGxFeatureDataset(wxGISEnumVectorDatasetType eType,
wxGxObject *oParent,
const wxString &soName = wxEmptyString,
const CPLString &soPath =
"");
159 virtual wxString GetCategory(
void)
const;
162 virtual wxGISEnumDatasetType GetType(
void)
const {
return enumGISFeatureDataset;};
163 virtual int GetSubType(
void)
const {
return m_eType;};
167 wxGISEnumVectorDatasetType m_eType;
182 wxGxRasterDataset(wxGISEnumRasterDatasetType eType,
wxGxObject *oParent,
const wxString &soName = wxEmptyString,
const CPLString &soPath =
"");
185 virtual wxString GetCategory(
void)
const;
188 virtual wxGISEnumDatasetType GetType(
void)
const {
return enumGISRasterDataset;};
189 virtual int GetSubType(
void)
const {
return m_eType;};
193 wxGISEnumRasterDatasetType m_eType;
Definition: catalog.h:103
Definition: gxdataset.h:151
A TrackCancel interface class.
Definition: core.h:144
Definition: gxdataset.h:80
Definition: gxobject.h:78
Definition: gxdataset.h:124
Definition: gxdataset.h:36
Definition: gxdataset.h:177
Definition: gxobject.h:37