30 #ifndef OGREMULATEDTRANSACTION_H_INCLUDED
31 #define OGREMULATEDTRANSACTION_H_INCLUDED
59 int& bOutHasReopenedDS) = 0;
75 int& bOutHasReopenedDS) = 0;
91 int& bOutHasReopenedDS) = 0;
121 OGRDataSource CPL_DLL* OGRCreateEmulatedTransactionDataSourceWrapper(
124 int bTakeOwnershipDataSource,
125 int bTakeOwnershipTransactionBehaviour);
127 #endif // OGREMULATEDTRANSACTION_H_INCLUDED
virtual const char * GetName()
Return the layer name.
Definition: ogrlayer.cpp:1728
virtual OGRErr SetFID(GIntBig nFIDIn)
Set the feature identifier.
Definition: ogrfeature.cpp:5440
void Release()
Drop a reference to this object, and destroy if no longer referenced.
Definition: ogrfeaturedefn.cpp:162
virtual void AddFieldDefn(OGRFieldDefn *)
Add a new field definition.
Definition: ogrfeaturedefn.cpp:433
void SetSubType(OGRFieldSubType eSubTypeIn)
Set the subtype of this field. This should never be done to an OGRFieldDefn that is already part of a...
Definition: ogrfielddefn.cpp:363
void SetName(const char *)
Reset the name of this field.
Definition: ogrfielddefn.cpp:157
Definition: ogr_featurestyle.h:85
void SetType(OGRFieldType eTypeIn)
Set the type of this field. This should never be done to an OGRFieldDefn that is already part of an O...
Definition: ogrfielddefn.cpp:277
int GetWidth() const
Get the formatting width for this field.
Definition: ogr_feature.h:127
Definition: ogr_spatialref.h:157
Definition: ogremulatedtransaction.cpp:39
Definition: ogr_geometry.h:287
Definition: ogrsf_frmts.h:71
Convenient string class based on std::string.
Definition: cpl_string.h:330
virtual OGRErr ReorderFieldDefns(int *panMap)
Reorder the field definitions in the array of the feature definition.
Definition: ogrfeaturedefn.cpp:563
int GetPrecision() const
Get the formatting precision for this field. This should normally be zero for fields of types other t...
Definition: ogr_feature.h:130
virtual OGRErr DeleteFieldDefn(int iField)
Delete an existing field definition.
Definition: ogrfeaturedefn.cpp:492
#define EQUAL(a, b)
Definition: cpl_port.h:569
const char * GetNameRef() const
Fetch name of this field.
Definition: ogr_feature.h:113
void SetPrecision(int nPrecisionIn)
Set the formatting precision for this field in characters.
Definition: ogr_feature.h:131
virtual OGRFieldDefn * GetFieldDefn(int i)
Fetch field definition.
Definition: ogrfeaturedefn.cpp:330
#define ODsCEmulatedTransactions
Definition: ogr_core.h:776
Definition: ogremulatedtransaction.cpp:73
OGRErr SetFrom(const OGRFeature *, int=TRUE)
Set one feature from another.
Definition: ogrfeature.cpp:5737
const char * GetDefault() const
Get default field value.
Definition: ogrfielddefn.cpp:518
virtual OGRErr RollbackTransaction(OGRDataSource *&poDSInOut, int &bOutHasReopenedDS)=0
#define OGRERR_UNSUPPORTED_OPERATION
Definition: ogr_core.h:296
#define OGRERR_FAILURE
Definition: ogr_core.h:298
virtual OGRFeatureDefn * Clone() const
Create a copy of this feature definition.
Definition: ogrfeaturedefn.cpp:201
virtual OGRErr StartTransaction(OGRDataSource *&poDSInOut, int &bOutHasReopenedDS)=0
Definition: ogr_feature.h:93
Definition: ogrsf_frmts.h:318
void SetDefault(const char *)
Set default field value.
Definition: ogrfielddefn.cpp:431
void CPLError(CPLErr eErrClass, CPLErrorNum err_no, const char *fmt,...)
Definition: cpl_error.cpp:308
Definition: ogr_feature.h:183
Definition: ogremulatedtransaction.h:41
#define CPLE_NotSupported
Definition: cpl_error.h:109
OGRFieldType GetType() const
Fetch type of this field.
Definition: ogr_feature.h:115
int OGRErr
Definition: ogr_core.h:290
virtual OGRErr CommitTransaction(OGRDataSource *&poDSInOut, int &bOutHasReopenedDS)=0
long long GIntBig
Definition: cpl_port.h:248
OGRwkbGeometryType
Definition: ogr_core.h:318
int Reference()
Increments the reference count by one.
Definition: ogr_feature.h:307
Definition: ogr_feature.h:355
void SetNullable(int bNullableIn)
Set whether this field can receive null values.
Definition: ogr_feature.h:145
int IsNullable() const
Return whether this field can receive null values.
Definition: ogr_feature.h:144
CPLErr
Definition: cpl_error.h:53
virtual void AddGeomFieldDefn(OGRGeomFieldDefn *, int bCopy=TRUE)
Add a new geometry field definition.
Definition: ogrfeaturedefn.cpp:782
void SetWidth(int nWidthIn)
Set the formatting width for this field in characters.
Definition: ogr_feature.h:128
#define OGRERR_NONE
Definition: ogr_core.h:292
Definition: ogr_feature.h:260
OGRFieldSubType GetSubType() const
Fetch subtype of this field.
Definition: ogr_feature.h:119
@ wkbUnknown
Definition: ogr_core.h:319
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)
Definition: cpl_port.h:997
GIntBig GetFID() const
Get feature identifier.
Definition: ogr_feature.h:712
#define CPLE_AppDefined
Definition: cpl_error.h:99
Generated for GDAL by
1.8.20.