Changes between Version 3 and Version 4 of rfc54_dataset_transactions


Ignore:
Timestamp:
May 10, 2015, 8:29:41 AM (9 years ago)
Author:
Even Rouault
Comment:

ReadoptFeatureDefn() has been removed

Legend:

Unmodified
Added
Removed
Modified
  • rfc54_dataset_transactions

    v3 v4  
    309309       virtual OGRErr RollbackTransaction(OGRDataSource*& poDSInOut,
    310310                                          int& bOutHasReopenedDS) = 0;
    311 
    312         /** Ask a layer to re-"adopt" its previous feature definition object.
    313         *
    314         * The aim is that the user doesn't see visible object changes.
    315         *
    316         * This method is called if StartTransaction(), CommitTransaction() or
    317         * RollbackTransaction() has closed and reopened a datasource.
    318         *
    319         * The implementation os the method should drop the reference to feature
    320         * definition object it may have currently, assign the poFeatureDefn as
    321         * its current definition object, and take a new reference on it.
    322         *
    323         * The passed poFeatureDefn object is supposed to be the "same" as
    324         * the one the layer has currently (as verified with IsSame()) since
    325         * the emulated datasource wrapper prevents layer structural modifications
    326         * in cases where the user has already called GetLayerDefn()
    327         */
    328         virtual void   ReadoptOldFeatureDefn(OGRDataSource* poDS,
    329                                             OGRLayer* poLayer,
    330                                             OGRFeatureDefn* poFeatureDefn) = 0;   
    331311};
    332312}}}