OTB  9.0.0
Orfeo Toolbox
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
otb::GDALDriverManagerWrapper Class Reference

#include <otbGDALDriverManagerWrapper.h>

Public Member Functions

GDALDatasetWrapper::Pointer Create (std::string &driverShortName, std::string filename, int nXSize, int nYSize, int nBands, GDALDataType eType, char **papszOptions) const
 
GDALDriver * GetDriverByName (std::string driverShortName) const
 
GDALDatasetWrapper::Pointer Open (std::string filename) const
 

Static Public Member Functions

static GDALDriverManagerWrapperGetInstance ()
 

Private Member Functions

 GDALDriverManagerWrapper ()
 
 ~GDALDriverManagerWrapper ()
 

Detailed Description

Provide an unique instance of a GDALDataSet.

This class provides an unique instance of GDALDataSet which remain available during all the program lifetime. This class automatically allocate and destroy the available gdal drivers.

Definition at line 60 of file otbGDALDriverManagerWrapper.h.

Constructor & Destructor Documentation

◆ GDALDriverManagerWrapper()

otb::GDALDriverManagerWrapper::GDALDriverManagerWrapper ( )
private

◆ ~GDALDriverManagerWrapper()

otb::GDALDriverManagerWrapper::~GDALDriverManagerWrapper ( )
private

Member Function Documentation

◆ Create()

GDALDatasetWrapper::Pointer otb::GDALDriverManagerWrapper::Create ( std::string &  driverShortName,
std::string  filename,
int  nXSize,
int  nYSize,
int  nBands,
GDALDataType  eType,
char **  papszOptions 
) const

◆ GetDriverByName()

GDALDriver* otb::GDALDriverManagerWrapper::GetDriverByName ( std::string  driverShortName) const

◆ GetInstance()

static GDALDriverManagerWrapper& otb::GDALDriverManagerWrapper::GetInstance ( )
inlinestatic

Definition at line 65 of file otbGDALDriverManagerWrapper.h.

◆ Open()

GDALDatasetWrapper::Pointer otb::GDALDriverManagerWrapper::Open ( std::string  filename) const

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