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

#include <otbOGRFieldWrapper.h>

Public Member Functions

 FieldDefn (OGRFieldDefn &definition)
 
std::string GetName () const
 
OGRFieldType GetType () const
 
OGRFieldDefn & ogr ()
 
OGRFieldDefn & ogr () const
 

Private Attributes

OGRFieldDefn * m_Definition
 

Detailed Description

Encapsulation of OGRFieldDefn: field definition.

Invariant
m_Definition != 0
m_Definition lifetime is of the responsibility of the owning OGRFeatureDefn.
See also
OGRFieldDefn
Since
OTB v 3.14.0

Definition at line 60 of file otbOGRFieldWrapper.h.

Constructor & Destructor Documentation

◆ FieldDefn()

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

Definition at line 63 of file otbOGRFieldWrapper.h.

Member Function Documentation

◆ GetName()

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

◆ GetType()

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

◆ ogr() [1/2]

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

Definition at line 70 of file otbOGRFieldWrapper.h.

◆ ogr() [2/2]

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

Definition at line 74 of file otbOGRFieldWrapper.h.

Member Data Documentation

◆ m_Definition

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

Pointer to the actual definition.

Definition at line 83 of file otbOGRFieldWrapper.h.


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