OTB  10.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
 
GDALDatasetWrapper::Pointer OpenFromMemory (void *mem_ptr, const uint64_t &width, const uint64_t &height, const GDALDataType pix_type, const uint32_t byte_per_pixel, const uint16_t nb_bands=1, const uint64_t &band_offset=1) 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

◆ Open()

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

◆ OpenFromMemory()

GDALDatasetWrapper::Pointer otb::GDALDriverManagerWrapper::OpenFromMemory ( void *  mem_ptr,
const uint64_t &  width,
const uint64_t &  height,
const GDALDataType  pix_type,
const uint32_t  byte_per_pixel,
const uint16_t  nb_bands = 1,
const uint64_t &  band_offset = 1 
) const

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