OTB  6.7.0
Orfeo Toolbox
Public Types | Static Public Member Functions | List of all members
otb::ogr::internal::CppToOGRConverter_trait< T > Class Template Reference

#include <otbOGRFieldWrapper.hxx>

Public Types

typedef T type

Static Public Member Functions

static T const & convert (T const &value)

Detailed Description

template<typename T>
class otb::ogr::internal::CppToOGRConverter_trait< T >

Trait class for converting C++ types into OGR field setter compatible types.

Template Parameters
Tinitial C++ type
C compatible type for OGR API.
C static arrays become pointers (in order to support literal strings)
C++ std::string becomes char const*
OTB v 3.14.0

Definition at line 393 of file otbOGRFieldWrapper.hxx.

Member Typedef Documentation

template<typename T >
typedef T otb::ogr::internal::CppToOGRConverter_trait< T >::type

Definition at line 395 of file otbOGRFieldWrapper.hxx.

Member Function Documentation

template<typename T >
static T const& otb::ogr::internal::CppToOGRConverter_trait< T >::convert ( T const &  value)

Definition at line 396 of file otbOGRFieldWrapper.hxx.

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