![]() |
Orfeo Toolbox
3.16
|
Provide an unique instance of a GDALDataSet. More...
#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 GDALDriverManagerWrapper & | GetInstance () |
Private Member Functions | |
| GDALDriverManagerWrapper () | |
| ~GDALDriverManagerWrapper () | |
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 75 of file otbGDALDriverManagerWrapper.h.
|
private |
Definition at line 44 of file otbGDALDriverManagerWrapper.cxx.
|
private |
Definition at line 56 of file otbGDALDriverManagerWrapper.cxx.
| GDALDatasetWrapper::Pointer otb::GDALDriverManagerWrapper::Create | ( | std::string | driverShortName, |
| std::string | filename, | ||
| int | nXSize, | ||
| int | nYSize, | ||
| int | nBands, | ||
| GDALDataType | eType, | ||
| char ** | papszOptions | ||
| ) | const |
Definition at line 78 of file otbGDALDriverManagerWrapper.cxx.
References GetDriverByName(), otb::GDALDatasetWrapper::New(), and NULL.
Referenced by otb::GDALImageIO::InternalWriteImageInformation().
| GDALDriver * otb::GDALDriverManagerWrapper::GetDriverByName | ( | std::string | driverShortName | ) | const |
Definition at line 103 of file otbGDALDriverManagerWrapper.cxx.
Referenced by otb::GDALImageIO::CanStreamWrite(), otb::GDALImageIO::CanWriteFile(), Create(), and otb::GDALImageIO::Write().
|
inlinestatic |
Definition at line 80 of file otbGDALDriverManagerWrapper.h.
Referenced by otb::GDALImageIO::CanReadFile(), otb::GDALImageIO::CanStreamWrite(), otb::GDALImageIO::CanWriteFile(), otb::GDALImageIO::InternalReadImageInformation(), otb::GDALImageIO::InternalWriteImageInformation(), and otb::GDALImageIO::Write().
| GDALDatasetWrapper::Pointer otb::GDALDriverManagerWrapper::Open | ( | std::string | filename | ) | const |
Definition at line 63 of file otbGDALDriverManagerWrapper.cxx.
References otb::GDALDatasetWrapper::New(), and NULL.
Referenced by otb::GDALImageIO::CanReadFile(), otb::GDALImageIO::InternalReadImageInformation(), and otb::GDALImageIO::InternalWriteImageInformation().