QGIS API Documentation  3.17.0-Master (8af46bc54f)
Classes | Namespaces | Macros | Typedefs | Functions
qgsogrutils.h File Reference
#include "qgis_core.h"
#include "qgsfeature.h"
#include <ogr_api.h>
#include <gdal.h>
#include <gdalwarper.h>
#include "cpl_conv.h"
#include "cpl_string.h"
Include dependency graph for qgsogrutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gdal::GDALDatasetCloser
 Closes and cleanups GDAL dataset. More...
 
struct  gdal::GDALWarpOptionsDeleter
 Closes and cleanups GDAL warp options. More...
 
struct  gdal::OGRDataSourceDeleter
 Destroys OGR data sources. More...
 
struct  gdal::OGRFeatureDeleter
 Destroys OGR feature. More...
 
struct  gdal::OGRFldDeleter
 Destroys OGR field definition. More...
 
struct  gdal::OGRGeometryDeleter
 Destroys OGR geometries. More...
 
class  QgsOgrUtils
 Utilities for working with OGR features and layers. More...
 

Namespaces

 gdal
 

Macros

#define SIP_NO_FILE
 

Typedefs

using gdal::dataset_unique_ptr = std::unique_ptr< std::remove_pointer< GDALDatasetH >::type, GDALDatasetCloser >
 Scoped GDAL dataset. More...
 
using gdal::ogr_datasource_unique_ptr = std::unique_ptr< std::remove_pointer< OGRDataSourceH >::type, OGRDataSourceDeleter >
 Scoped OGR data source. More...
 
using gdal::ogr_feature_unique_ptr = std::unique_ptr< std::remove_pointer< OGRFeatureH >::type, OGRFeatureDeleter >
 Scoped OGR feature. More...
 
using gdal::ogr_field_def_unique_ptr = std::unique_ptr< std::remove_pointer< OGRFieldDefnH >::type, OGRFldDeleter >
 Scoped OGR field definition. More...
 
using gdal::ogr_geometry_unique_ptr = std::unique_ptr< std::remove_pointer< OGRGeometryH >::type, OGRGeometryDeleter >
 Scoped OGR geometry. More...
 
using gdal::warp_options_unique_ptr = std::unique_ptr< GDALWarpOptions, GDALWarpOptionsDeleter >
 Scoped GDAL warp options. More...
 

Functions

void CORE_EXPORT gdal::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...
 

Macro Definition Documentation

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 19 of file qgsogrutils.h.