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

#include <otbOGRVectorDataIO.h>

+ Inheritance diagram for otb::OGRVectorDataIO:
+ Collaboration diagram for otb::OGRVectorDataIO:

Public Types

typedef Superclass::ByteOrder ByteOrder
 
typedef
InternalTreeNodeType::ChildrenListType 
ChildrenListType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef DataNodeType::Pointer DataNodePointerType
 
typedef
VectorDataType::DataNodeType 
DataNodeType
 
typedef DataTreeType::ConstPointer DataTreeConstPointerType
 
typedef DataTreeType::Pointer DataTreePointerType
 
typedef
VectorDataType::DataTreeType 
DataTreeType
 
typedef DataTreeType::TreeNodeType InternalTreeNodeType
 
typedef LineType::Pointer LinePointerType
 
typedef DataNodeType::LineType LineType
 
typedef Superclass::PointType OriginType
 
typedef itk::SmartPointer< SelfPointer
 
typedef DataNodeType::PointType PointType
 
typedef PolygonListType::Pointer PolygonListPointerType
 
typedef
DataNodeType::PolygonListType 
PolygonListType
 
typedef PolygonType::Pointer PolygonPointerType
 
typedef DataNodeType::PolygonType PolygonType
 
typedef OGRVectorDataIO Self
 
typedef Superclass::SpacingType SpacingType
 
typedef VectorDataIOBase Superclass
 
typedef
VectorDataType::ConstPointer 
VectorDataConstPointerType
 
typedef VectorDataType::Pointer VectorDataPointerType
 
typedef VectorData< double, 2 > VectorDataType
 
typedef
VertexListType::ConstPointer 
VertexListConstPointerType
 
typedef LineType::VertexListType VertexListType
 
- Public Types inherited from otb::VectorDataIOBase
enum  ByteOrder {
  BigEndian,
  LittleEndian,
  OrderNotApplicable
}
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::Point< double,
VDimension
PointType
 
typedef VectorDataIOBase Self
 
typedef std::streamoff SizeType
 
typedef itk::Vector< double,
VDimension
SpacingType
 
typedef itk::LightProcessObject Superclass
 
- Public Types inherited from itk::LightProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightProcessObject Self
 
typedef 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

virtual bool CanReadFile (const char *) const
 
virtual bool CanWriteFile (const char *) const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void Read (itk::DataObject *data)
 
virtual void Write (const itk::DataObject *data, char **papszOptions=NULL)
 
- Public Member Functions inherited from otb::VectorDataIOBase
virtual bool CanStreamRead () const
 
virtual bool CanStreamWrite () const
 
std::string GetByteOrderAsString (ByteOrder) const
 
virtual void SetFileName (const char *_arg)
 
virtual const char * GetFileName () const
 
virtual void SetByteOrder (const ByteOrder _arg)
 
virtual ByteOrder GetByteOrder () const
 
void SetByteOrderToBigEndian ()
 
void SetByteOrderToLittleEndian ()
 
- Public Member Functions inherited from itk::LightProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
virtual const float & GetProgress () const
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetProgress (float _arg)
 
virtual void UpdateOutputData ()
 
void UpdateProgress (float amount)
 
- 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 (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
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 ITK_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) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- 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 New ()
 
- Static Public Member Functions inherited from itk::LightProcessObject
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

 OGRVectorDataIO ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~OGRVectorDataIO ()
 
- Protected Member Functions inherited from otb::VectorDataIOBase
virtual void Reset (const bool freeDynamic=true)
 
 VectorDataIOBase ()
 
virtual ~VectorDataIOBase ()
 
- Protected Member Functions inherited from itk::LightProcessObject
virtual void GenerateData ()
 
 LightProcessObject ()
 
 ~LightProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
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

std::string GetOGRDriverName (std::string name) const
 
 OGRVectorDataIO (const Self &)
 
void operator= (const Self &)
 

Private Attributes

OGRDataSource * m_DataSource
 

Additional Inherited Members

- Static Public Attributes inherited from otb::VectorDataIOBase
static const unsigned int VDimension = 3
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from otb::VectorDataIOBase
ByteOrder m_ByteOrder
 
std::string m_FileName
 
bool m_Initialized
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

ImageIO object for reading and writing OGR format vector data.

ImageIO object for reading and writing OGR format vector data: it can handle Esri Shapefile (shp), MapInfo (map) and Geography Markup Language (GML) and possibly other OGR formats.

Definition at line 42 of file otbOGRVectorDataIO.h.

Member Typedef Documentation

typedef Superclass::ByteOrder otb::OGRVectorDataIO::ByteOrder

Byte order typedef

Definition at line 57 of file otbOGRVectorDataIO.h.

Definition at line 66 of file otbOGRVectorDataIO.h.

Definition at line 51 of file otbOGRVectorDataIO.h.

Definition at line 70 of file otbOGRVectorDataIO.h.

Definition at line 69 of file otbOGRVectorDataIO.h.

Definition at line 68 of file otbOGRVectorDataIO.h.

Definition at line 67 of file otbOGRVectorDataIO.h.

Definition at line 64 of file otbOGRVectorDataIO.h.

Definition at line 65 of file otbOGRVectorDataIO.h.

Definition at line 75 of file otbOGRVectorDataIO.h.

Definition at line 72 of file otbOGRVectorDataIO.h.

Definition at line 83 of file otbOGRVectorDataIO.h.

Definition at line 50 of file otbOGRVectorDataIO.h.

Definition at line 71 of file otbOGRVectorDataIO.h.

Definition at line 79 of file otbOGRVectorDataIO.h.

Definition at line 78 of file otbOGRVectorDataIO.h.

Definition at line 77 of file otbOGRVectorDataIO.h.

Definition at line 76 of file otbOGRVectorDataIO.h.

Standard class typedefs.

Definition at line 48 of file otbOGRVectorDataIO.h.

typedef Superclass::SpacingType otb::OGRVectorDataIO::SpacingType

Definition at line 82 of file otbOGRVectorDataIO.h.

Definition at line 49 of file otbOGRVectorDataIO.h.

Definition at line 81 of file otbOGRVectorDataIO.h.

Definition at line 80 of file otbOGRVectorDataIO.h.

Data typedef

Definition at line 63 of file otbOGRVectorDataIO.h.

typedef VertexListType::ConstPointer otb::OGRVectorDataIO::VertexListConstPointerType

Definition at line 74 of file otbOGRVectorDataIO.h.

Definition at line 73 of file otbOGRVectorDataIO.h.

Constructor & Destructor Documentation

otb::OGRVectorDataIO::OGRVectorDataIO ( )
protected

Constructor.

virtual otb::OGRVectorDataIO::~OGRVectorDataIO ( )
protectedvirtual

Destructor.

otb::OGRVectorDataIO::OGRVectorDataIO ( const Self )
private

Member Function Documentation

virtual bool otb::OGRVectorDataIO::CanReadFile ( const char *  ) const
virtual

Determine the file type. Returns true if this VectorDataIO can read the file specified.

Implements otb::VectorDataIOBase.

virtual bool otb::OGRVectorDataIO::CanWriteFile ( const char *  ) const
virtual

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements otb::VectorDataIOBase.

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

Reimplemented from itk::LightProcessObject.

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

Run-time type information (and related methods).

Reimplemented from otb::VectorDataIOBase.

std::string otb::OGRVectorDataIO::GetOGRDriverName ( std::string  name) const
private
static Pointer otb::OGRVectorDataIO::New ( )
static

Method for creation through the object factory.

void otb::OGRVectorDataIO::operator= ( const Self )
private
virtual void otb::OGRVectorDataIO::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Reimplemented from otb::VectorDataIOBase.

virtual void otb::OGRVectorDataIO::Read ( itk::DataObject data)
virtual

Reads the data from disk into the memory buffer provided.

Implements otb::VectorDataIOBase.

virtual void otb::OGRVectorDataIO::Write ( const itk::DataObject data,
char **  papszOptions = NULL 
)
virtual

Writes the data to disk from the memory buffer provided

Implements otb::VectorDataIOBase.

Member Data Documentation

OGRDataSource* otb::OGRVectorDataIO::m_DataSource
private

Definition at line 120 of file otbOGRVectorDataIO.h.


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