#include <tableview.h>
Public Member Functions | |
wxGISTable (const CPLString &sPath, int nSubType, OGRLayer *poLayer=NULL, OGRCompatibleDataSource *poDS=NULL) | |
virtual wxString | GetName (void) const |
virtual void | Close (void) |
virtual bool | Open (bool bUpdate=true, bool bShared=true) |
virtual bool | Open (int iLayer=0, bool bUpdate=true, bool bShared=true, bool bCache=true, ITrackCancel *const pTrackCancel=NULL) |
virtual size_t | GetSubsetsCount (void) const |
virtual wxGISDataset * | GetSubset (size_t nIndex) |
virtual wxGISDataset * | GetSubset (const wxString &sSubsetName) |
virtual char ** | GetFileList () |
virtual void | Cache (ITrackCancel *const pTrackCancel=NULL) |
virtual size_t | GetFeatureCount (bool bForce=false, ITrackCancel *const pTrackCancel=NULL) |
virtual bool | CanDeleteFeature (void) const |
virtual OGRErr | DeleteFeature (long nFID) |
virtual OGRErr | StoreFeature (wxGISFeature &Feature) |
virtual wxGISFeature | CreateFeature (void) |
virtual OGRErr | SetFeature (const wxGISFeature &Feature) |
virtual OGRErr | CommitTransaction (void) |
virtual OGRErr | StartTransaction (void) |
virtual OGRErr | RollbackTransaction (void) |
virtual bool | CanDeleteField (void) const |
virtual OGRErr | DeleteField (int nIndex) |
virtual void | Reset (void) |
virtual wxGISFeature | Next (void) |
virtual wxGISFeature | GetFeatureByID (long nFID) |
virtual wxGISFeature | GetFeature (long nIndex) |
virtual wxString | GetFIDColumn (void) const |
virtual wxFontEncoding | GetEncoding (void) const |
virtual void | SetEncoding (const wxFontEncoding &oEncoding) |
virtual bool | HasFID (void) const |
virtual bool | HasFilter (void) const |
virtual wxArrayString | GetFieldNames (void) const |
virtual wxString | GetFieldName (int nIndex) const |
virtual wxFeatureCursor | Search (const wxGISQueryFilter &QFilter=wxGISNullQueryFilter, bool bOnlyFirst=false, ITrackCancel *const pTrackCancel=NULL) |
virtual OGRErr | SetFilter (const wxGISQueryFilter &QFilter=wxGISNullQueryFilter) |
virtual OGRErr | SetIgnoredFields (const wxArrayString &saIgnoredFields) |
virtual OGRCompatibleDataSource *const | GetDataSourceRef (void) const |
virtual OGRLayer *const | GetLayerRef (int iLayer=0) const |
virtual OGRFeatureDefn *const | GetDefinition (void) |
virtual OGRFeatureDefn *const | GetDefinition (void) const |
Public Member Functions inherited from wxGISDataset | |
wxGISDataset (const CPLString &sPath="") | |
virtual wxGISEnumDatasetType | GetType (void) const |
virtual int | GetSubType (void) const |
virtual void | SetSubType (int nSubType) |
virtual CPLString | GetPath (void) const |
virtual bool | IsOpened (void) const |
virtual bool | IsReadOnly (void) const |
virtual bool | IsCached (void) const |
virtual bool | IsCaching (void) const |
virtual const wxGISSpatialReference | GetSpatialReference (void) |
virtual bool | Delete (ITrackCancel *const pTrackCancel=NULL) |
virtual bool | Rename (const wxString &sNewName, ITrackCancel *const pTrackCancel=NULL) |
virtual bool | Copy (const CPLString &szDestPath, ITrackCancel *const pTrackCancel=NULL) |
virtual bool | Move (const CPLString &szDestPath, ITrackCancel *const pTrackCancel=NULL) |
virtual bool | CanDelete (void) |
virtual bool | CanRename (void) |
virtual bool | CanCopy (const CPLString &szDestPath) |
virtual bool | CanMove (const CPLString &szDestPath) |
virtual void | StopCaching (void) |
Public Member Functions inherited from wxGISPointer | |
virtual wxInt32 | Reference (void) |
virtual wxInt32 | Dereference (void) |
virtual wxInt32 | Release (void) |
Public Member Functions inherited from wxGISConnectionPointContainer | |
virtual long | Advise (wxEvtHandler *pEvtHandler) |
virtual void | Unadvise (long nCookie) |
Protected Member Functions | |
virtual void | SetInternalValues (void) |
virtual bool | IsContainer () const |
Protected Member Functions inherited from wxGISDataset | |
virtual CPLString | FixPathSeparator (CPLString &szPath) |
virtual void * | OpenInternal (const CPLString &szPath, bool bUpdate, bool bShared) |
Protected Member Functions inherited from wxGISConnectionPointContainer | |
virtual void | AddEvent (const wxEvent &event) |
virtual void | PostEvent (wxEvent *event) |
Protected Attributes | |
OGRCompatibleDataSource * | m_poDS |
OGRLayer * | m_poLayer |
wxFontEncoding | m_Encoding |
bool | m_bRecodeToSystem |
long | m_nFeatureCount |
long | m_nCurrentFID |
bool | m_bOLCStringsAsUTF8 |
bool | m_bOLCFastFeatureCount |
bool | m_bHasFID |
bool | m_bHasFilter |
Protected Attributes inherited from wxGISDataset | |
CPLString | m_sPath |
wxCriticalSection | m_CritSect |
int | m_nSubType |
wxGISEnumDatasetType | m_nType |
bool | m_bIsOpened |
bool | m_bIsReadOnly |
bool | m_bIsCached |
wxGISSpatialReference | m_SpatialReference |
Protected Attributes inherited from wxGISPointer | |
wxInt32 | m_RefCount |
Protected Attributes inherited from wxGISConnectionPointContainer | |
wxVector< wxEvtHandler * > | m_pPointsArray |
wxCriticalSection | m_CritSectEvt |
Friends | |
class | wxGISSpatialTree |
The grid of values for dataset
A GIS Table class. This class support basic operations on datasource. No spatial data avaliable, but the OGRFeature is main part of this class, so it's posible to get some spatial information (not recommended).