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

#include <otbOGRExtendedFilenameToOptions.h>

+ Inheritance diagram for otb::OGRExtendedFilenameToOptions:
+ Collaboration diagram for otb::OGRExtendedFilenameToOptions:

Classes

struct  CreationOptionType
 
struct  LayerOptionType
 
struct  OpenOptionType
 

Public Types

typedef
OptionMapType::const_iterator 
ConstMapIteratorType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef std::vector< std::string > GDALOptionType
 
typedef Superclass::OptionMapType OptionMapType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
OGRExtendedFilenameToOptions 
Self
 
typedef ExtendedFilenameHelper Superclass
 
- Public Types inherited from otb::ExtendedFilenameHelper
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef std::map< std::string,
std::string > 
OptionMapType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ExtendedFilenameHelper Self
 
typedef itk::Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void AddGDALLayerOptions (const GDALOptionType &options)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
GDALOptionType GetGDALOptions (const std::string &type) const
 
virtual const char * GetNameOfClass () const
 
bool HasGDALLayerOption () const
 
void SetExtendedFileName (const char *extFname) override
 
void SetExtendedFileName (const std::string &extFname) override
 
void SetGDALLayerOptions (const GDALOptionType &options)
 
bool SimpleFileNameIsSet () const
 
GDALOptionType GetGDALOpenOptions () const
 
GDALOptionType GetGDALCreationOptions () const
 
GDALOptionType GetGDALLayerOptions () const
 
- Public Member Functions inherited from otb::ExtendedFilenameHelper
virtual const char * GetExtendedFileName () const
 
std::vector
< ExtendedFilenameHelper::GenericBandRange
GetGenericBandRange (const std::string &bandRange) const
 
const OptionMapTypeGetOptionMap (void) const
 
virtual const char * GetSimpleFileName () const
 
bool ResolveBandRange (const std::string &bandRange, const unsigned int &nbBands, std::vector< unsigned int > &output) const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- 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
 

Static Public Member Functions

static Pointer GetGDALLayerOptionsHelper (const GDALOptionType &options)
 
static Pointer New ()
 
- Static Public Member Functions inherited from otb::ExtendedFilenameHelper
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 OGRExtendedFilenameToOptions ()
 
 OGRExtendedFilenameToOptions (const GDALOptionType &options)
 
 ~OGRExtendedFilenameToOptions () override
 
- Protected Member Functions inherited from otb::ExtendedFilenameHelper
 ExtendedFilenameHelper ()
 
 ~ExtendedFilenameHelper () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

 OGRExtendedFilenameToOptions (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

CreationOptionType m_CreationOptions
 
bool m_HasFileName
 
LayerOptionType m_LayerOptions
 
OpenOptionType m_OpenOptions
 

Additional Inherited Members

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

Detailed Description

This class aim at processing GDAL option that can be pass through extended filename.

Definition at line 39 of file otbOGRExtendedFilenameToOptions.h.

Member Typedef Documentation

typedef OptionMapType::const_iterator otb::OGRExtendedFilenameToOptions::ConstMapIteratorType

Definition at line 49 of file otbOGRExtendedFilenameToOptions.h.

Definition at line 45 of file otbOGRExtendedFilenameToOptions.h.

typedef std::vector<std::string> otb::OGRExtendedFilenameToOptions::GDALOptionType

Definition at line 50 of file otbOGRExtendedFilenameToOptions.h.

typedef Superclass::OptionMapType otb::OGRExtendedFilenameToOptions::OptionMapType

Definition at line 48 of file otbOGRExtendedFilenameToOptions.h.

Definition at line 44 of file otbOGRExtendedFilenameToOptions.h.

Standard class typedefs.

Definition at line 43 of file otbOGRExtendedFilenameToOptions.h.

Definition at line 46 of file otbOGRExtendedFilenameToOptions.h.

Constructor & Destructor Documentation

otb::OGRExtendedFilenameToOptions::OGRExtendedFilenameToOptions ( )
protected
otb::OGRExtendedFilenameToOptions::OGRExtendedFilenameToOptions ( const GDALOptionType options)
protected
otb::OGRExtendedFilenameToOptions::~OGRExtendedFilenameToOptions ( )
inlineoverrideprotected

Definition at line 105 of file otbOGRExtendedFilenameToOptions.h.

otb::OGRExtendedFilenameToOptions::OGRExtendedFilenameToOptions ( const Self )
privatedelete

Member Function Documentation

void otb::OGRExtendedFilenameToOptions::AddGDALLayerOptions ( const GDALOptionType options)

Add GDAL layer option to existing one

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

Reimplemented from otb::ExtendedFilenameHelper.

GDALOptionType otb::OGRExtendedFilenameToOptions::GetGDALCreationOptions ( ) const

Get the deffierent GDAL options

GDALOptionType otb::OGRExtendedFilenameToOptions::GetGDALLayerOptions ( ) const

Get the deffierent GDAL options

static Pointer otb::OGRExtendedFilenameToOptions::GetGDALLayerOptionsHelper ( const GDALOptionType options)
static

Constructor that return a pointer to an OGRExtendedFilename with GDAL layer option as options

GDALOptionType otb::OGRExtendedFilenameToOptions::GetGDALOpenOptions ( ) const

Get the deffierent GDAL options

GDALOptionType otb::OGRExtendedFilenameToOptions::GetGDALOptions ( const std::string &  type) const

Get the GDAL option for type operation

virtual const char* otb::OGRExtendedFilenameToOptions::GetNameOfClass ( ) const
virtual

Reimplemented from otb::ExtendedFilenameHelper.

bool otb::OGRExtendedFilenameToOptions::HasGDALLayerOption ( ) const
static Pointer otb::OGRExtendedFilenameToOptions::New ( )
static
void otb::OGRExtendedFilenameToOptions::operator= ( const Self )
privatedelete
void otb::OGRExtendedFilenameToOptions::SetExtendedFileName ( const char *  extFname)
overridevirtual
Deprecated:
const char* overload of SetExtendedFileName is deprecated, use std::string instead

Reimplemented from otb::ExtendedFilenameHelper.

void otb::OGRExtendedFilenameToOptions::SetExtendedFileName ( const std::string &  extFname)
overridevirtual

Reimplemented from otb::ExtendedFilenameHelper.

void otb::OGRExtendedFilenameToOptions::SetGDALLayerOptions ( const GDALOptionType options)

Set GDAL layer option through a vector of string

bool otb::OGRExtendedFilenameToOptions::SimpleFileNameIsSet ( ) const

Member Data Documentation

CreationOptionType otb::OGRExtendedFilenameToOptions::m_CreationOptions
private

Definition at line 112 of file otbOGRExtendedFilenameToOptions.h.

bool otb::OGRExtendedFilenameToOptions::m_HasFileName
private

Definition at line 114 of file otbOGRExtendedFilenameToOptions.h.

LayerOptionType otb::OGRExtendedFilenameToOptions::m_LayerOptions
private

Definition at line 113 of file otbOGRExtendedFilenameToOptions.h.

OpenOptionType otb::OGRExtendedFilenameToOptions::m_OpenOptions
private

Definition at line 111 of file otbOGRExtendedFilenameToOptions.h.


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