using hdf5 - Serbipunk/notes GitHub Wiki

https://support.hdfgroup.org/HDF5/doc/cpplus_RM/readdata_8cpp-example.html

TypeClass

dataset.getTypeClass();

/* These are the various classes of datatypes */
/* If this goes over 16 types (0-15), the file format will need to change) */
typedef enum H5T_class_t {
    H5T_NO_CLASS         = -1,  /*error                                      */
    H5T_INTEGER          = 0,   /*integer types                              */
    H5T_FLOAT            = 1,   /*floating-point types                       */
    H5T_TIME             = 2,   /*date and time types                        */
    H5T_STRING           = 3,   /*character string types                     */
    H5T_BITFIELD         = 4,   /*bit field types                            */
    H5T_OPAQUE           = 5,   /*opaque types                               */
    H5T_COMPOUND         = 6,   /*compound types                             */
    H5T_REFERENCE        = 7,   /*reference types                            */
    H5T_ENUM     = 8, /*enumeration types                          */
    H5T_VLEN     = 9, /*Variable-Length types                      */
    H5T_ARRAY          = 10,  /*Array types                                */

    H5T_NCLASSES                /*this must be last                          */
} H5T_class_t;