24 #include "wxgis/datasource/gdalinh.h"
25 #include "wxgis/core/pointer.h"
41 virtual wxGISEnumDatasetType GetType(
void)
const;
42 virtual int GetSubType(
void)
const;
43 virtual void SetSubType(
int nSubType);
44 virtual CPLString GetPath(
void)
const;
45 virtual size_t GetSubsetsCount(
void)
const;
46 virtual wxString GetName(
void)
const;
47 virtual bool Open(
bool bUpdate,
bool bShared) = 0;
48 virtual void Close(
void);
49 virtual bool IsOpened(
void)
const;
50 virtual bool IsReadOnly(
void)
const;
51 virtual bool IsCached(
void)
const;
52 virtual bool IsCaching(
void)
const;
55 virtual bool Delete(
ITrackCancel*
const pTrackCancel = NULL);
56 virtual bool Rename(
const wxString &sNewName,
ITrackCancel*
const pTrackCancel = NULL);
57 virtual bool Copy(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel = NULL);
58 virtual bool Move(
const CPLString &szDestPath,
ITrackCancel*
const pTrackCancel = NULL);
59 virtual bool CanDelete(
void);
60 virtual bool CanRename(
void);
61 virtual bool CanCopy(
const CPLString &szDestPath);
62 virtual bool CanMove(
const CPLString &szDestPath);
63 virtual void Cache(
ITrackCancel*
const pTrackCancel = NULL) = 0;
64 virtual void StopCaching(
void);
65 virtual char **GetFileList() = 0;
67 virtual CPLString FixPathSeparator(CPLString &szPath);
68 virtual void* OpenInternal(
const CPLString &szPath,
bool bUpdate,
bool bShared);
71 wxCriticalSection m_CritSect;
73 wxGISEnumDatasetType m_nType;
74 bool m_bIsOpened, m_bIsReadOnly, m_bIsCached;
A TrackCancel interface class.
Definition: core.h:144