GDAL
gdal::GDALDataTypeTraits< T > Struct Template Reference

Trait accepting a GDALDataType and mapping it to corresponding C++ type and OGRFieldType. More...

#include <gdal_typetraits.h>

Detailed Description

template<GDALDataType T>
struct gdal::GDALDataTypeTraits< T >

Trait accepting a GDALDataType and mapping it to corresponding C++ type and OGRFieldType.

Each specialization has the following members: typedef T type; (except for GDT_CInt16 and GDT_CInt32) static constexpr size_t size; static constexpr OGRFieldType ogr_type; static constexpr OGRFieldSubType ogr_subtype; static inline GDALExtendedDataType GetExtendedDataType();

Since
3.11

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