30 #ifndef _OGRMUTEXEDLAYER_H_INCLUDED 31 #define _OGRMUTEXEDLAYER_H_INCLUDED 33 #include "ogrlayerdecorator.h" 60 double dfMaxX,
double dfMaxY );
63 double dfMaxX,
double dfMaxY );
91 int bApproxOK = TRUE );
103 virtual OGRErr StartTransaction();
104 virtual OGRErr CommitTransaction();
105 virtual OGRErr RollbackTransaction();
113 #endif // _OGRMUTEXEDLAYER_H_INCLUDED virtual void SetSpatialFilterRect(double dfMinX, double dfMinY, double dfMaxX, double dfMaxY)
Set a new rectangular spatial filter.
Definition: ogrlayerdecorator.cpp:64
virtual void ResetReading()
Reset feature reading to start on the first feature.
Definition: ogrlayerdecorator.cpp:81
virtual OGRErr CreateFeature(OGRFeature *poFeature)
Create and write a new feature within a layer.
Definition: ogrlayerdecorator.cpp:106
virtual OGRErr GetExtent(int iGeomField, OGREnvelope *psExtent, int bForce=TRUE)
Fetch the extent of this layer, on the specified geometry field.
Definition: ogrlayerdecorator.cpp:146
virtual int TestCapability(const char *)
Test if this layer supported the named capability.
Definition: ogrlayerdecorator.cpp:151
virtual OGRSpatialReference * GetSpatialRef()
Fetch the spatial reference system for this layer.
Definition: ogrlayerdecorator.cpp:131
virtual OGRErr CreateField(OGRFieldDefn *poField, int bApproxOK=TRUE)
Create a new field on a layer.
Definition: ogrlayerdecorator.cpp:156
Definition: ogrlayerdecorator.h:35
virtual OGRFeature * GetFeature(long nFID)
Fetch a feature by its identifier.
Definition: ogrlayerdecorator.cpp:96
Definition: ogr_feature.h:167
virtual OGRErr SetFeature(OGRFeature *poFeature)
Rewrite an existing feature.
Definition: ogrlayerdecorator.cpp:101
Definition: ogr_feature.h:52
virtual OGRErr DeleteField(int iField)
Delete an existing field on a layer.
Definition: ogrlayerdecorator.cpp:162
virtual OGRFeatureDefn * GetLayerDefn()
Fetch the schema information for this layer.
Definition: ogrlayerdecorator.cpp:126
OGRwkbGeometryType
Definition: ogr_core.h:308
virtual OGRErr DeleteFeature(long nFID)
Delete feature from layer.
Definition: ogrlayerdecorator.cpp:111
virtual OGRStyleTable * GetStyleTable()
Returns layer style table.
Definition: ogrlayerdecorator.cpp:182
virtual OGRErr SetNextByIndex(long nIndex)
Move read cursor to the nIndex'th feature in the current resultset.
Definition: ogrlayerdecorator.cpp:91
Definition: ogr_geometry.h:79
virtual OGRErr AlterFieldDefn(int iField, OGRFieldDefn *poNewFieldDefn, int nFlags)
Alter the definition of an existing field on a layer.
Definition: ogrlayerdecorator.cpp:172
Definition: ogrmutexedlayer.h:42
virtual void SetStyleTable(OGRStyleTable *poStyleTable)
Set layer style table.
Definition: ogrlayerdecorator.cpp:192
virtual const char * GetGeometryColumn()
This method returns the name of the underlying database column being used as the geometry column...
Definition: ogrlayerdecorator.cpp:217
virtual OGRErr ReorderFields(int *panMap)
Reorder all the fields of a layer.
Definition: ogrlayerdecorator.cpp:167
Definition: ogr_spatialref.h:129
virtual OGRFeature * GetNextFeature()
Fetch the next available feature from this layer.
Definition: ogrlayerdecorator.cpp:86
virtual void SetStyleTableDirectly(OGRStyleTable *poStyleTable)
Set layer style table.
Definition: ogrlayerdecorator.cpp:187
Definition: ogr_core.h:48
Definition: ogrsf_frmts.h:59
Definition: ogr_feature.h:232
Definition: ogr_featurestyle.h:81
virtual OGRwkbGeometryType GetGeomType()
Return the layer geometry type.
Definition: ogrlayerdecorator.cpp:121
virtual OGRErr SetAttributeFilter(const char *)
Set a new attribute query.
Definition: ogrlayerdecorator.cpp:76
virtual int GetFeatureCount(int bForce=TRUE)
Fetch the feature count in this layer.
Definition: ogrlayerdecorator.cpp:136
virtual OGRGeometry * GetSpatialFilter()
This method returns the current spatial filter for this layer.
Definition: ogrlayerdecorator.cpp:49
virtual OGRErr SyncToDisk()
Flush pending changes to disk.
Definition: ogrlayerdecorator.cpp:177
virtual const char * GetFIDColumn()
This method returns the name of the underlying database column being used as the FID column...
Definition: ogrlayerdecorator.cpp:212
virtual void SetSpatialFilter(OGRGeometry *)
Set a new spatial filter.
Definition: ogrlayerdecorator.cpp:54
virtual const char * GetName()
Return the layer name.
Definition: ogrlayerdecorator.cpp:116
virtual OGRErr SetIgnoredFields(const char **papszFields)
Set which fields can be omitted when retrieving features from the layer.
Definition: ogrlayerdecorator.cpp:222