Orfeo Toolbox  4.0
Public Member Functions | Private Attributes | List of all members
otb::ogr::FieldDefn Class Reference

Encapsulation of OGRFieldDefn: field definition. More...

#include <otbOGRFieldWrapper.h>

Public Member Functions

 FieldDefn (OGRFieldDefn &definition)
std::string GetName () const
 Field name accessor. More...
OGRFieldType GetType () const
 Field type accessor. More...
OGRFieldDefn & ogr ()
OGRFieldDefn & ogr () const

Private Attributes

OGRFieldDefn * m_Definition

Detailed Description

Encapsulation of OGRFieldDefn: field definition.

m_Definition != 0
m_Definition lifetime is of the responsability of the owning OGRFeatureDefn.
See Also
OTB v 3.14.0

Definition at line 43 of file otbOGRFieldWrapper.h.

Constructor & Destructor Documentation

otb::ogr::FieldDefn::FieldDefn ( OGRFieldDefn &  definition)

Definition at line 46 of file otbOGRFieldWrapper.h.

Member Function Documentation

std::string otb::ogr::FieldDefn::GetName ( ) const

Field name accessor.

Definition at line 89 of file otbOGRFieldWrapper.cxx.

References m_Definition.

Referenced by otb::ogr::Field::GetName(), otb::ogr::operator<<(), and otb::ogr::operator==().

OGRFieldType otb::ogr::FieldDefn::GetType ( ) const

Field type accessor.

Definition at line 95 of file otbOGRFieldWrapper.cxx.

Referenced by otb::ogr::Field::GetType(), otb::ogr::operator<<(), and otb::ogr::operator==().

OGRFieldDefn& otb::ogr::FieldDefn::ogr ( )

Definition at line 50 of file otbOGRFieldWrapper.h.

References m_Definition.

Referenced by otb::ogr::Layer::AlterFieldDefn(), and otb::ogr::Layer::CreateField().

OGRFieldDefn& otb::ogr::FieldDefn::ogr ( ) const

Definition at line 51 of file otbOGRFieldWrapper.h.

References m_Definition.

Member Data Documentation

OGRFieldDefn* otb::ogr::FieldDefn::m_Definition

Pointer to the actual definition.

Definition at line 57 of file otbOGRFieldWrapper.h.

Referenced by GetName(), and ogr().

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

Generated at Sat Mar 8 2014 19:09:06 for Orfeo Toolbox with doxygen