Hi,

Please review RFC 97: OGRFeatureDefn, OGRFieldDefn and OGRGeomFieldDefn "sealing"

at https://github.com/OSGeo/gdal/pull/8734

Summary:

This RFC aims at avoiding common misuse of the setter methods of the OGRFeatureDefn, OGRFieldDefn and OGRGeomFieldDefn classes. Indeed, the setter methods of those classes should not be used directly by user code (that is non driver implementations), on instances that are owned by a OGRLayer. It is quite frequent for users (even seasoned ones) to neglect that constraint. Hence this RFC introduces an optional "sealing" capability that drivers can enable to avoid users modifying instances that they should not.

Even

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to