QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Functions
qgsogrutils.h File Reference
#include "qgis_core.h"
#include "qgsfeature.h"
#include "qgsvectordataprovider.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::GDALRelationshipDeleter
 Closes and cleanups GDAL relationship. 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

namespace  gdal
 

Macros

#define SIP_NO_FILE
 

Typedefs

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

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.
 

Macro Definition Documentation

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 19 of file qgsogrutils.h.