|
QGIS API Documentation
3.6.0-Noosa (5873452)
|
Classes | |
| struct | GDALDatasetCloser |
| Closes and cleanups GDAL dataset. More... | |
| struct | GDALWarpOptionsDeleter |
| Closes and cleanups GDAL warp options. More... | |
| struct | OGRDataSourceDeleter |
| Destroys OGR data sources. More... | |
| struct | OGRFeatureDeleter |
| Destroys OGR feature. More... | |
| struct | OGRFldDeleter |
| Destroys OGR field definition. More... | |
| struct | OGRGeometryDeleter |
| Destroys OGR geometries. More... | |
Typedefs | |
| using | dataset_unique_ptr = std::unique_ptr< std::remove_pointer< GDALDatasetH >::type, GDALDatasetCloser > |
| Scoped GDAL dataset. More... | |
| using | ogr_datasource_unique_ptr = std::unique_ptr< std::remove_pointer< OGRDataSourceH >::type, OGRDataSourceDeleter > |
| Scoped OGR data source. More... | |
| using | ogr_feature_unique_ptr = std::unique_ptr< std::remove_pointer< OGRFeatureH >::type, OGRFeatureDeleter > |
| Scoped OGR feature. More... | |
| using | ogr_field_def_unique_ptr = std::unique_ptr< std::remove_pointer< OGRFieldDefnH >::type, OGRFldDeleter > |
| Scoped OGR field definition. More... | |
| using | ogr_geometry_unique_ptr = std::unique_ptr< std::remove_pointer< OGRGeometryH >::type, OGRGeometryDeleter > |
| Scoped OGR geometry. More... | |
| using | warp_options_unique_ptr = std::unique_ptr< GDALWarpOptions, GDALWarpOptionsDeleter > |
| Scoped GDAL warp options. More... | |
Functions | |
| void CORE_EXPORT | fast_delete_and_close (dataset_unique_ptr &dataset, GDALDriverH driver, const QString &path) |
| Performs a fast close of an unwanted GDAL dataset handle by deleting the underlying data store. More... | |
| using gdal::dataset_unique_ptr = typedef std::unique_ptr< std::remove_pointer<GDALDatasetH>::type, GDALDatasetCloser > |
Scoped GDAL dataset.
Definition at line 134 of file qgsogrutils.h.
| using gdal::ogr_datasource_unique_ptr = typedef std::unique_ptr< std::remove_pointer<OGRDataSourceH>::type, OGRDataSourceDeleter > |
Scoped OGR data source.
Definition at line 114 of file qgsogrutils.h.
| using gdal::ogr_feature_unique_ptr = typedef std::unique_ptr< std::remove_pointer<OGRFeatureH>::type, OGRFeatureDeleter > |
Scoped OGR feature.
Definition at line 129 of file qgsogrutils.h.
| using gdal::ogr_field_def_unique_ptr = typedef std::unique_ptr< std::remove_pointer<OGRFieldDefnH>::type, OGRFldDeleter > |
Scoped OGR field definition.
Definition at line 124 of file qgsogrutils.h.
| using gdal::ogr_geometry_unique_ptr = typedef std::unique_ptr< std::remove_pointer<OGRGeometryH>::type, OGRGeometryDeleter > |
Scoped OGR geometry.
Definition at line 119 of file qgsogrutils.h.
| using gdal::warp_options_unique_ptr = typedef std::unique_ptr< GDALWarpOptions, GDALWarpOptionsDeleter > |
Scoped GDAL warp options.
Definition at line 149 of file qgsogrutils.h.
| void gdal::fast_delete_and_close | ( | gdal::dataset_unique_ptr & | dataset, |
| GDALDriverH | driver, | ||
| const QString & | path | ||
| ) |
Performs a fast close of an unwanted GDAL dataset handle by deleting the underlying data store.
Use when the resultant dataset is no longer required, e.g. as a result of user cancelation of an operation.
Requires a gdal dataset pointer, the corresponding gdal driver and underlying dataset file path.
Definition at line 62 of file qgsogrutils.cpp.
1.8.13