Tomographer  v5.3
Tomographer C++ Framework Documentation
Tomographer::MAT::MatType< MatTypeId > Struct Template Reference

Map matio's constants to C/C++ types. More...

#include <tomographer/tools/ezmatio.h>

Detailed Description

template<int MatTypeId = -1>
struct Tomographer::MAT::MatType< MatTypeId >

Map matio's constants to C/C++ types.

The constants MAT_T_DOUBLE, MAT_T_SINGLE, etc. describing MATLAB's types are mapped to C/C++ types via this template. You can get the C/C++ type by using the constant as template parameter, e.g.:

typedef MatType<MAT_T_DOUBLE>::Type double_type; // double
typedef MatType<MAT_T_SINGLE>::Type single_type; // float
typedef MatType<MAT_T_UINT32>::Type uint32_type; // uint32_t

Definition at line 1218 of file ezmatio.h.


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