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:1716
virtual OGRErr SetFID(GIntBig nFIDIn)
Set the feature identifier.
Definition: ogrfeature.cpp:5214
OGRErr SetFrom(OGRFeature *, int=TRUE)
Set one feature from another.
Definition: ogrfeature.cpp:5511
void Release()
Drop a reference to this object, and destroy if no longer referenced.
Definition: ogrfeaturedefn.cpp:160
virtual void AddFieldDefn(OGRFieldDefn *)
Add a new field definition.
Definition: ogrfeaturedefn.cpp:384
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:83
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:97
Definition: ogr_spatialref.h:132
Definition: ogremulatedtransaction.cpp:38
Definition: ogr_geometry.h:118
Definition: ogrsf_frmts.h:68
Convenient string class based on std::string.
Definition: cpl_string.h:338
virtual OGRErr ReorderFieldDefns(int *panMap)
Reorder the field definitions in the array of the feature definition.
Definition: ogrfeaturedefn.cpp:514
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:100
virtual OGRErr DeleteFieldDefn(int iField)
Delete an existing field definition.
Definition: ogrfeaturedefn.cpp:443
#define EQUAL(a, b)
Definition: cpl_port.h:622
void SetPrecision(int nPrecisionIn)
Set the formatting precision for this field in characters.
Definition: ogr_feature.h:101
virtual OGRFieldDefn * GetFieldDefn(int i)
Fetch field definition.
Definition: ogrfeaturedefn.cpp:317
#define ODsCEmulatedTransactions
Definition: ogr_core.h:746
Definition: ogremulatedtransaction.cpp:70
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:291
#define OGRERR_FAILURE
Definition: ogr_core.h:293
virtual OGRErr StartTransaction(OGRDataSource *&poDSInOut, int &bOutHasReopenedDS)=0
Definition: ogr_feature.h:62
Definition: ogrsf_frmts.h:247
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:215
Definition: ogr_feature.h:141
const char * GetNameRef()
Fetch name of this field.
Definition: ogr_feature.h:83
Definition: ogremulatedtransaction.h:40
#define CPLE_NotSupported
Definition: cpl_error.h:110
OGRFieldType GetType() const
Fetch type of this field.
Definition: ogr_feature.h:85
int OGRErr
Definition: ogr_core.h:285
virtual OGRErr CommitTransaction(OGRDataSource *&poDSInOut, int &bOutHasReopenedDS)=0
long long GIntBig
Definition: cpl_port.h:250
OGRwkbGeometryType
Definition: ogr_core.h:312
int Reference()
Increments the reference count by one.
Definition: ogr_feature.h:251
Definition: ogr_feature.h:279
void SetNullable(int bNullableIn)
Set whether this field can receive null values.
Definition: ogr_feature.h:115
int IsNullable() const
Return whether this field can receive null values.
Definition: ogr_feature.h:114
CPLErr
Definition: cpl_error.h:52
virtual OGRFeatureDefn * Clone()
Create a copy of this feature definition.
Definition: ogrfeaturedefn.cpp:201
virtual void AddGeomFieldDefn(OGRGeomFieldDefn *, int bCopy=TRUE)
Add a new geometry field definition.
Definition: ogrfeaturedefn.cpp:708
void SetWidth(int nWidthIn)
Set the formatting width for this field in characters.
Definition: ogr_feature.h:98
#define OGRERR_NONE
Definition: ogr_core.h:287
Definition: ogr_feature.h:207
OGRFieldSubType GetSubType() const
Fetch subtype of this field.
Definition: ogr_feature.h:89
@ wkbUnknown
Definition: ogr_core.h:314
GIntBig GetFID() const
Get feature identifier.
Definition: ogr_feature.h:435
#define CPLE_AppDefined
Definition: cpl_error.h:100
Generated for GDAL by
1.8.17.