te::gdal::ScopedDataSetHandle Class Reference

This encapsulates a GDAL dataSet and closes it when it runs out of scope. It also creates a wrapper to the dataSet in the cases which the file has a RPC metadata. More...

#include <ScopedDataSetHandle.h>

Inheritance diagram for te::gdal::ScopedDataSetHandle:

Public Member Functions

GDALDataset * getGDALDataSetHandle () const
 
 ScopedDataSetHandle (GDALDataset *gdalDataSetHandle)
 Default constructor. More...
 
 ~ScopedDataSetHandle ()
 

Private Attributes

GDALDataset * m_gdalDataSetHandle
 
GDALDataset * m_gdalDataSetWrappedHandle
 

Detailed Description

This encapsulates a GDAL dataSet and closes it when it runs out of scope. It also creates a wrapper to the dataSet in the cases which the file has a RPC metadata.

Definition at line 48 of file ScopedDataSetHandle.h.

Constructor & Destructor Documentation

◆ ScopedDataSetHandle()

te::gdal::ScopedDataSetHandle::ScopedDataSetHandle ( GDALDataset *  gdalDataSetHandle)

Default constructor.

◆ ~ScopedDataSetHandle()

te::gdal::ScopedDataSetHandle::~ScopedDataSetHandle ( )

Member Function Documentation

◆ getGDALDataSetHandle()

GDALDataset* te::gdal::ScopedDataSetHandle::getGDALDataSetHandle ( ) const

Member Data Documentation

◆ m_gdalDataSetHandle

GDALDataset* te::gdal::ScopedDataSetHandle::m_gdalDataSetHandle
private

Definition at line 63 of file ScopedDataSetHandle.h.

◆ m_gdalDataSetWrappedHandle

GDALDataset* te::gdal::ScopedDataSetHandle::m_gdalDataSetWrappedHandle
private

Definition at line 64 of file ScopedDataSetHandle.h.


The documentation for this class was generated from the following file: