OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
otb::GDALDatasetWrapper Class Reference

#include <otbGDALDatasetWrapper.h>

+ Inheritance diagram for otb::GDALDatasetWrapper:
+ Collaboration diagram for otb::GDALDatasetWrapper:

Public Types

typedef itk::SmartPointer< SelfPointer
 
typedef GDALDatasetWrapper Self
 
typedef itk::LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
unsigned int GetHeight () const
 
virtual const char * GetNameOfClass () const
 
int GetOverviewsCount () const
 
vcl_size_t GetPixelBytes () const
 
unsigned int GetWidth () const
 
bool IsJPEG2000 () const
 
const GDALDataset * GetDataSet () const
 
GDALDataset * GetDataSet ()
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 GDALDatasetWrapper ()
 
 ~GDALDatasetWrapper () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

GDALDataset * m_Dataset
 

Friends

class GDALDriverManagerWrapper
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

Definition at line 38 of file otbGDALDatasetWrapper.h.

Member Typedef Documentation

Definition at line 45 of file otbGDALDatasetWrapper.h.

Definition at line 43 of file otbGDALDatasetWrapper.h.

Definition at line 44 of file otbGDALDatasetWrapper.h.

Constructor & Destructor Documentation

otb::GDALDatasetWrapper::GDALDatasetWrapper ( )
protected
otb::GDALDatasetWrapper::~GDALDatasetWrapper ( )
overrideprotected

Member Function Documentation

virtual::itk::LightObject::Pointer otb::GDALDatasetWrapper::CreateAnother ( void  ) const
virtual

Reimplemented from itk::LightObject.

const GDALDataset* otb::GDALDatasetWrapper::GetDataSet ( ) const

Easy access to the internal GDALDataset object. Don't close it, it will be automatic

GDALDataset* otb::GDALDatasetWrapper::GetDataSet ( )

Easy access to the internal GDALDataset object. Don't close it, it will be automatic

unsigned int otb::GDALDatasetWrapper::GetHeight ( ) const
virtual const char* otb::GDALDatasetWrapper::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::LightObject.

int otb::GDALDatasetWrapper::GetOverviewsCount ( ) const
vcl_size_t otb::GDALDatasetWrapper::GetPixelBytes ( ) const
unsigned int otb::GDALDatasetWrapper::GetWidth ( ) const
bool otb::GDALDatasetWrapper::IsJPEG2000 ( ) const

Test if the dataset corresponds to a Jpeg2000 file format Return true if the dataset exists and has a JPEG2000 driver Return false in all other cases

static Pointer otb::GDALDatasetWrapper::New ( )
static

Method for creation through the object factory.

Friends And Related Function Documentation

friend class GDALDriverManagerWrapper
friend

Definition at line 40 of file otbGDALDatasetWrapper.h.

Member Data Documentation

GDALDataset* otb::GDALDatasetWrapper::m_Dataset
private

Definition at line 87 of file otbGDALDatasetWrapper.h.


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