MISR Toolkit  1.5.1
Macros
H5Ipkg.h File Reference
#include "H5Iprivate.h"

Go to the source code of this file.

Macros

#define TYPE_BITS   7
 
#define TYPE_MASK   (((hid_t)1 << TYPE_BITS) - 1)
 
#define H5I_MAX_NUM_TYPES   TYPE_MASK
 
#define ID_BITS   ((sizeof(hid_t) * 8) - (TYPE_BITS + 1))
 
#define ID_MASK   (((hid_t)1 << ID_BITS) - 1)
 
#define H5I_TYPE(a)   ((H5I_type_t)(((hid_t)(a) >> ID_BITS) & TYPE_MASK))
 

Macro Definition Documentation

◆ H5I_MAX_NUM_TYPES

#define H5I_MAX_NUM_TYPES   TYPE_MASK

Definition at line 47 of file H5Ipkg.h.

◆ H5I_TYPE

#define H5I_TYPE (   a)    ((H5I_type_t)(((hid_t)(a) >> ID_BITS) & TYPE_MASK))

Definition at line 57 of file H5Ipkg.h.

◆ ID_BITS

#define ID_BITS   ((sizeof(hid_t) * 8) - (TYPE_BITS + 1))

Definition at line 53 of file H5Ipkg.h.

◆ ID_MASK

#define ID_MASK   (((hid_t)1 << ID_BITS) - 1)

Definition at line 54 of file H5Ipkg.h.

◆ TYPE_BITS

#define TYPE_BITS   7

Definition at line 44 of file H5Ipkg.h.

◆ TYPE_MASK

#define TYPE_MASK   (((hid_t)1 << TYPE_BITS) - 1)

Definition at line 45 of file H5Ipkg.h.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:54