Version: 0.6.0

#include <gdalinh.h>

Inheritance diagram for wxGISFeature:
Collaboration diagram for wxGISFeature:

Public Member Functions

 wxGISFeature (OGRFeature *poFeature=NULL, const wxFontEncoding &oEncoding=wxLocale::GetSystemEncoding(), bool bRecodeToSystem=false)
 
bool IsOk () const
 
bool operator== (const wxGISFeature &obj) const
 
bool operator!= (const wxGISFeature &obj) const
 
 operator OGRFeature * () const
 
const char * GetFieldAsChar (int nField) const
 
OGRField * GetRawField (int nField) const
 
wxString GetFieldAsString (int nField) const
 
wxString GetFieldAsString (const wxString &sFieldName) const
 
wxDateTime GetFieldAsDateTime (int nField) const
 
wxDateTime GetFieldAsDateTime (const wxString &sFieldName) const
 
double GetFieldAsDouble (int nField) const
 
double GetFieldAsDouble (const wxString &sFieldName) const
 
wxArrayString GetFieldAsStringList (int nField) const
 
wxArrayString GetFieldAsStringList (const wxString &sFieldName) const
 
wxArrayDouble GetFieldAsDoubleList (int nIndex) const
 
wxArrayDouble GetFieldAsDoubleList (const wxString &sFieldName) const
 
wxArrayInt GetFieldAsIntegerList (int nIndex) const
 
wxArrayInt GetFieldAsIntegerList (const wxString &sFieldName) const
 
wxGISGeometry GetGeometry (void) const
 
int GetFieldAsInteger (int nIndex) const
 
int GetFieldAsInteger (const wxString &sFieldName) const
 
int GetFieldIndex (const wxString &sFieldName) const
 
wxString GetFieldName (int nIndex) const
 
int GetFieldCount (void) const
 
long GetFID (void) const
 
OGRErr SetFID (long nFID)
 
void SetField (int nIndex, int nValue)
 
void SetField (int nIndex, OGRField *psField)
 
void SetField (int nIndex, double dfValue)
 
void SetField (int nIndex, const wxString &sValue)
 
void SetField (int nIndex, const char *pszStr)
 
void SetField (int nIndex, const wxArrayInt &anValues)
 
void SetField (int nIndex, const wxArrayDouble &adfValues)
 
void SetField (int nIndex, const wxArrayString &asValues)
 
void SetField (int nIndex, const wxDateTime &dt)
 
void SetField (const wxString &sFieldName, int nValue)
 
void SetField (const wxString &sFieldName, double dfValue)
 
void SetField (const wxString &sFieldName, const wxString &sValue)
 
void SetField (const wxString &sFieldName, const wxArrayInt &anValues)
 
void SetField (const wxString &sFieldName, const wxArrayDouble &adfValues)
 
void SetField (const wxString &sFieldName, const wxArrayString &asValues)
 
void SetField (int nIndex, int nYear, int nMonth, int nDay, int nHour=0, int nMinute=0, int nSecond=0, int nTZFlag=0)
 
void SetField (const wxString &sFieldName, int nYear, int nMonth, int nDay, int nHour=0, int nMinute=0, int nSecond=0, int nTZFlag=0)
 
OGRErr SetGeometry (const wxGISGeometry &Geom)
 
OGRErr SetGeometryDirectly (const wxGISGeometry &Geom)
 
void SetStyleString (const wxString &sStyle)
 
void StealGeometry (void)
 
void SetEncoding (const wxFontEncoding &eEnc, bool bRecodeToSystem=false)
 

Protected Member Functions

wxString EncodeString (const char *psz, wxFontEncoding oEncoding) const
 
const char * EncodeString (const wxString &sStr, wxFontEncoding oEncoding) const
 
int GetFieldAsDateTime (int nIndex, int *pnYear, int *pnMonth, int *pnDay, int *pnHour, int *pnMinute, int *pnSecond, int *pnTZFlag) const
 
void SetField (int nIndex, char **papszValues)
 
OGRErr SetGeometry (OGRGeometry *pGeom)
 
virtual wxObjectRefData * CreateRefData () const
 
virtual wxObjectRefData * CloneRefData (const wxObjectRefData *data) const
 

Detailed Description

An OGRFeature wrapper class.

Library:  wxGISDatasource

The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/datasource/gdalinh.h
  • /home/bishop/work/projects/nextgismanager/src/datasource/gdalinh.cpp