Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF  4.3.0
API Reference
 
Loading...
Searching...
No Matches
hntdefs.h File Reference

Macros

#define DFNT_HDF   0x00000000 /* standard HDF format */
 
#define DFNT_NATIVE   0x00001000 /* native format */
 
#define DFNT_CUSTOM   0x00002000 /* custom format */
 
#define DFNT_LITEND   0x00004000 /* Little Endian format */
 
#define DFNT_MASK   0x00000fff /* format mask */
 
#define DFNT_NONE   0 /* indicates that number type not set */
 
#define DFNT_QUERY   0 /* use this code to find the current type */
 
#define DFNT_VERSION   1 /* current version of NT info */
 
#define DFNT_FLOAT32   5
 
#define DFNT_FLOAT   5 /* For backward compat; don't use */
 
#define DFNT_FLOAT64   6
 
#define DFNT_DOUBLE   6 /* For backward compat; don't use */
 
#define DFNT_FLOAT128   7 /* No current plans for support */
 
#define DFNT_INT8   20
 
#define DFNT_UINT8   21
 
#define DFNT_INT16   22
 
#define DFNT_UINT16   23
 
#define DFNT_INT32   24
 
#define DFNT_UINT32   25
 
#define DFNT_INT64   26
 
#define DFNT_UINT64   27
 
#define DFNT_INT128   28 /* No current plans for support */
 
#define DFNT_UINT128   30 /* No current plans for support */
 
#define DFNT_UCHAR8   3 /* 3 chosen for backward compatibility */
 
#define DFNT_UCHAR   3 /* uchar=uchar8 for backward compatibility */
 
#define DFNT_CHAR8   4 /* 4 chosen for backward compatibility */
 
#define DFNT_CHAR   4 /* char=char8 for backward compatibility */
 
#define DFNT_CHAR16   42 /* No current plans for support */
 
#define DFNT_UCHAR16   43 /* No current plans for support */
 
#define DFNT_NFLOAT32   (DFNT_NATIVE | DFNT_FLOAT32)
 
#define DFNT_NFLOAT64   (DFNT_NATIVE | DFNT_FLOAT64)
 
#define DFNT_NFLOAT128   (DFNT_NATIVE | DFNT_FLOAT128) /* Unsupported */
 
#define DFNT_NINT8   (DFNT_NATIVE | DFNT_INT8)
 
#define DFNT_NUINT8   (DFNT_NATIVE | DFNT_UINT8)
 
#define DFNT_NINT16   (DFNT_NATIVE | DFNT_INT16)
 
#define DFNT_NUINT16   (DFNT_NATIVE | DFNT_UINT16)
 
#define DFNT_NINT32   (DFNT_NATIVE | DFNT_INT32)
 
#define DFNT_NUINT32   (DFNT_NATIVE | DFNT_UINT32)
 
#define DFNT_NINT64   (DFNT_NATIVE | DFNT_INT64)
 
#define DFNT_NUINT64   (DFNT_NATIVE | DFNT_UINT64)
 
#define DFNT_NINT128   (DFNT_NATIVE | DFNT_INT128) /* Unsupported */
 
#define DFNT_NUINT128   (DFNT_NATIVE | DFNT_UINT128) /* Unsupported */
 
#define DFNT_NCHAR8   (DFNT_NATIVE | DFNT_CHAR8)
 
#define DFNT_NCHAR   (DFNT_NATIVE | DFNT_CHAR8) /* backward compat */
 
#define DFNT_NUCHAR8   (DFNT_NATIVE | DFNT_UCHAR8)
 
#define DFNT_NUCHAR   (DFNT_NATIVE | DFNT_UCHAR8) /* backward compat */
 
#define DFNT_NCHAR16   (DFNT_NATIVE | DFNT_CHAR16) /* Unsupported */
 
#define DFNT_NUCHAR16   (DFNT_NATIVE | DFNT_UCHAR16) /* Unsupported */
 
#define DFNT_LFLOAT32   (DFNT_LITEND | DFNT_FLOAT32)
 
#define DFNT_LFLOAT64   (DFNT_LITEND | DFNT_FLOAT64)
 
#define DFNT_LFLOAT128   (DFNT_LITEND | DFNT_FLOAT128) /* Unsupported */
 
#define DFNT_LINT8   (DFNT_LITEND | DFNT_INT8)
 
#define DFNT_LUINT8   (DFNT_LITEND | DFNT_UINT8)
 
#define DFNT_LINT16   (DFNT_LITEND | DFNT_INT16)
 
#define DFNT_LUINT16   (DFNT_LITEND | DFNT_UINT16)
 
#define DFNT_LINT32   (DFNT_LITEND | DFNT_INT32)
 
#define DFNT_LUINT32   (DFNT_LITEND | DFNT_UINT32)
 
#define DFNT_LINT64   (DFNT_LITEND | DFNT_INT64)
 
#define DFNT_LUINT64   (DFNT_LITEND | DFNT_UINT64)
 
#define DFNT_LINT128   (DFNT_LITEND | DFNT_INT128) /* Unsupported */
 
#define DFNT_LUINT128   (DFNT_LITEND | DFNT_UINT128) /* Unsupported */
 
#define DFNT_LCHAR8   (DFNT_LITEND | DFNT_CHAR8)
 
#define DFNT_LCHAR   (DFNT_LITEND | DFNT_CHAR8) /* backward compat */
 
#define DFNT_LUCHAR8   (DFNT_LITEND | DFNT_UCHAR8)
 
#define DFNT_LUCHAR   (DFNT_LITEND | DFNT_UCHAR8) /* backward compat */
 
#define DFNT_LCHAR16   (DFNT_LITEND | DFNT_CHAR16) /* Unsupported */
 
#define DFNT_LUCHAR16   (DFNT_LITEND | DFNT_UCHAR16) /* Unsupported */
 
#define DFNTI_MBO   1 /* Motorola byte order 2's compl */
 
#define DFNTI_VBO   2 /* Vax byte order 2's compl */
 
#define DFNTI_IBO   4 /* Intel byte order 2's compl */
 
#define DFNTF_NONE   0 /* indicates subclass is not set */
 
#define DFNTF_HDFDEFAULT   1 /* hdf default float format is ieee */
 
#define DFNTF_IEEE   1 /* IEEE format */
 
#define DFNTF_VAX   2 /* Vax format */
 
#define DFNTF_CRAY   3 /* Cray format */
 
#define DFNTF_PC   4 /* PC floats - flipped IEEE */
 
#define DFNTF_CONVEX   5 /* CONVEX native format */
 
#define DFNTF_VP   6 /* Fujitsu VP native format */
 
#define DFNTC_BYTE   0 /* bitwise/numeric field */
 
#define DFNTC_ASCII   1 /* ASCII */
 
#define DFNTC_EBCDIC   5 /* EBCDIC */
 
#define DFO_FORTRAN   1 /* column major order */
 
#define DFO_C   2 /* row major order */
 
#define SIZE_FLOAT32   4
 
#define SIZE_FLOAT64   8
 
#define SIZE_FLOAT128   16 /* No current plans for support */
 
#define SIZE_INT8   1
 
#define SIZE_UINT8   1
 
#define SIZE_INT16   2
 
#define SIZE_UINT16   2
 
#define SIZE_INT32   4
 
#define SIZE_UINT32   4
 
#define SIZE_INT64   8
 
#define SIZE_UINT64   8
 
#define SIZE_INT128   16 /* No current plans for support */
 
#define SIZE_UINT128   16 /* No current plans for support */
 
#define SIZE_CHAR8   1
 
#define SIZE_CHAR   1 /* For backward compat char8 == char */
 
#define SIZE_UCHAR8   1
 
#define SIZE_UCHAR   1 /* For backward compat uchar8 == uchar */
 
#define SIZE_CHAR16   2 /* No current plans for support */
 
#define SIZE_UCHAR16   2 /* No current plans for support */
 
#define SIZE_NFLOAT32   4
 
#define SIZE_NFLOAT64   8
 
#define SIZE_NFLOAT128   16 /* No current plans for support */
 
#define SIZE_NINT8   1
 
#define SIZE_NUINT8   1
 
#define SIZE_NINT16   2
 
#define SIZE_NUINT16   2
 
#define SIZE_NINT32   4
 
#define SIZE_NUINT32   4
 
#define SIZE_NINT64   8
 
#define SIZE_NUINT64   8
 
#define SIZE_NINT128   16 /* No current plans for support */
 
#define SIZE_NUINT128   16 /* No current plans for support */
 
#define SIZE_NCHAR8   1
 
#define SIZE_NCHAR   1 /* For backward compat char8 == char */
 
#define SIZE_NUCHAR8   1
 
#define SIZE_NUCHAR   1 /* For backward compat uchar8 == uchar */
 
#define SIZE_NCHAR16   2 /* No current plans for support */
 
#define SIZE_NUCHAR16   2 /* No current plans for support */
 
#define SIZE_LFLOAT32   4
 
#define SIZE_LFLOAT64   8
 
#define SIZE_LFLOAT128   16 /* No current plans for support */
 
#define SIZE_LINT8   1
 
#define SIZE_LUINT8   1
 
#define SIZE_LINT16   2
 
#define SIZE_LUINT16   2
 
#define SIZE_LINT32   4
 
#define SIZE_LUINT32   4
 
#define SIZE_LINT64   8
 
#define SIZE_LUINT64   8
 
#define SIZE_LINT128   16 /* No current plans for support */
 
#define SIZE_LUINT128   16 /* No current plans for support */
 
#define SIZE_LCHAR8   1
 
#define SIZE_LCHAR   1 /* For backward compat char8 == char */
 
#define SIZE_LUCHAR8   1
 
#define SIZE_LUCHAR   1 /* For backward compat uchar8 == uchar */
 
#define SIZE_LCHAR16   2 /* No current plans for support */
 
#define SIZE_LUCHAR16   2 /* No current plans for support */
 
#define MACHINE_I8_SIZE   1
 
#define MACHINE_I16_SIZE   2
 
#define MACHINE_I32_SIZE   4
 
#define MACHINE_F32_SIZE   4
 
#define MACHINE_F64_SIZE   8
 
#define MAX_NT_SIZE   16
 

Macro Definition Documentation

◆ DFNT_CHAR

#define DFNT_CHAR   4 /* char=char8 for backward compatibility */

◆ DFNT_CHAR16

#define DFNT_CHAR16   42 /* No current plans for support */

◆ DFNT_CHAR8

#define DFNT_CHAR8   4 /* 4 chosen for backward compatibility */

◆ DFNT_CUSTOM

#define DFNT_CUSTOM   0x00002000 /* custom format */

◆ DFNT_DOUBLE

#define DFNT_DOUBLE   6 /* For backward compat; don't use */

◆ DFNT_FLOAT

#define DFNT_FLOAT   5 /* For backward compat; don't use */

◆ DFNT_FLOAT128

#define DFNT_FLOAT128   7 /* No current plans for support */

◆ DFNT_FLOAT32

#define DFNT_FLOAT32   5

◆ DFNT_FLOAT64

#define DFNT_FLOAT64   6

◆ DFNT_HDF

#define DFNT_HDF   0x00000000 /* standard HDF format */

◆ DFNT_INT128

#define DFNT_INT128   28 /* No current plans for support */

◆ DFNT_INT16

#define DFNT_INT16   22

◆ DFNT_INT32

#define DFNT_INT32   24

◆ DFNT_INT64

#define DFNT_INT64   26

◆ DFNT_INT8

#define DFNT_INT8   20

◆ DFNT_LCHAR

#define DFNT_LCHAR   (DFNT_LITEND | DFNT_CHAR8) /* backward compat */

◆ DFNT_LCHAR16

#define DFNT_LCHAR16   (DFNT_LITEND | DFNT_CHAR16) /* Unsupported */

◆ DFNT_LCHAR8

#define DFNT_LCHAR8   (DFNT_LITEND | DFNT_CHAR8)

◆ DFNT_LFLOAT128

#define DFNT_LFLOAT128   (DFNT_LITEND | DFNT_FLOAT128) /* Unsupported */

◆ DFNT_LFLOAT32

#define DFNT_LFLOAT32   (DFNT_LITEND | DFNT_FLOAT32)

◆ DFNT_LFLOAT64

#define DFNT_LFLOAT64   (DFNT_LITEND | DFNT_FLOAT64)

◆ DFNT_LINT128

#define DFNT_LINT128   (DFNT_LITEND | DFNT_INT128) /* Unsupported */

◆ DFNT_LINT16

#define DFNT_LINT16   (DFNT_LITEND | DFNT_INT16)

◆ DFNT_LINT32

#define DFNT_LINT32   (DFNT_LITEND | DFNT_INT32)

◆ DFNT_LINT64

#define DFNT_LINT64   (DFNT_LITEND | DFNT_INT64)

◆ DFNT_LINT8

#define DFNT_LINT8   (DFNT_LITEND | DFNT_INT8)

◆ DFNT_LITEND

#define DFNT_LITEND   0x00004000 /* Little Endian format */

◆ DFNT_LUCHAR

#define DFNT_LUCHAR   (DFNT_LITEND | DFNT_UCHAR8) /* backward compat */

◆ DFNT_LUCHAR16

#define DFNT_LUCHAR16   (DFNT_LITEND | DFNT_UCHAR16) /* Unsupported */

◆ DFNT_LUCHAR8

#define DFNT_LUCHAR8   (DFNT_LITEND | DFNT_UCHAR8)

◆ DFNT_LUINT128

#define DFNT_LUINT128   (DFNT_LITEND | DFNT_UINT128) /* Unsupported */

◆ DFNT_LUINT16

#define DFNT_LUINT16   (DFNT_LITEND | DFNT_UINT16)

◆ DFNT_LUINT32

#define DFNT_LUINT32   (DFNT_LITEND | DFNT_UINT32)

◆ DFNT_LUINT64

#define DFNT_LUINT64   (DFNT_LITEND | DFNT_UINT64)

◆ DFNT_LUINT8

#define DFNT_LUINT8   (DFNT_LITEND | DFNT_UINT8)

◆ DFNT_MASK

#define DFNT_MASK   0x00000fff /* format mask */

◆ DFNT_NATIVE

#define DFNT_NATIVE   0x00001000 /* native format */

◆ DFNT_NCHAR

#define DFNT_NCHAR   (DFNT_NATIVE | DFNT_CHAR8) /* backward compat */

◆ DFNT_NCHAR16

#define DFNT_NCHAR16   (DFNT_NATIVE | DFNT_CHAR16) /* Unsupported */

◆ DFNT_NCHAR8

#define DFNT_NCHAR8   (DFNT_NATIVE | DFNT_CHAR8)

◆ DFNT_NFLOAT128

#define DFNT_NFLOAT128   (DFNT_NATIVE | DFNT_FLOAT128) /* Unsupported */

◆ DFNT_NFLOAT32

#define DFNT_NFLOAT32   (DFNT_NATIVE | DFNT_FLOAT32)

◆ DFNT_NFLOAT64

#define DFNT_NFLOAT64   (DFNT_NATIVE | DFNT_FLOAT64)

◆ DFNT_NINT128

#define DFNT_NINT128   (DFNT_NATIVE | DFNT_INT128) /* Unsupported */

◆ DFNT_NINT16

#define DFNT_NINT16   (DFNT_NATIVE | DFNT_INT16)

◆ DFNT_NINT32

#define DFNT_NINT32   (DFNT_NATIVE | DFNT_INT32)

◆ DFNT_NINT64

#define DFNT_NINT64   (DFNT_NATIVE | DFNT_INT64)

◆ DFNT_NINT8

#define DFNT_NINT8   (DFNT_NATIVE | DFNT_INT8)

◆ DFNT_NONE

#define DFNT_NONE   0 /* indicates that number type not set */

◆ DFNT_NUCHAR

#define DFNT_NUCHAR   (DFNT_NATIVE | DFNT_UCHAR8) /* backward compat */

◆ DFNT_NUCHAR16

#define DFNT_NUCHAR16   (DFNT_NATIVE | DFNT_UCHAR16) /* Unsupported */

◆ DFNT_NUCHAR8

#define DFNT_NUCHAR8   (DFNT_NATIVE | DFNT_UCHAR8)

◆ DFNT_NUINT128

#define DFNT_NUINT128   (DFNT_NATIVE | DFNT_UINT128) /* Unsupported */

◆ DFNT_NUINT16

#define DFNT_NUINT16   (DFNT_NATIVE | DFNT_UINT16)

◆ DFNT_NUINT32

#define DFNT_NUINT32   (DFNT_NATIVE | DFNT_UINT32)

◆ DFNT_NUINT64

#define DFNT_NUINT64   (DFNT_NATIVE | DFNT_UINT64)

◆ DFNT_NUINT8

#define DFNT_NUINT8   (DFNT_NATIVE | DFNT_UINT8)

◆ DFNT_QUERY

#define DFNT_QUERY   0 /* use this code to find the current type */

◆ DFNT_UCHAR

#define DFNT_UCHAR   3 /* uchar=uchar8 for backward compatibility */

◆ DFNT_UCHAR16

#define DFNT_UCHAR16   43 /* No current plans for support */

◆ DFNT_UCHAR8

#define DFNT_UCHAR8   3 /* 3 chosen for backward compatibility */

◆ DFNT_UINT128

#define DFNT_UINT128   30 /* No current plans for support */

◆ DFNT_UINT16

#define DFNT_UINT16   23

◆ DFNT_UINT32

#define DFNT_UINT32   25

◆ DFNT_UINT64

#define DFNT_UINT64   27

◆ DFNT_UINT8

#define DFNT_UINT8   21

◆ DFNT_VERSION

#define DFNT_VERSION   1 /* current version of NT info */

◆ DFNTC_ASCII

#define DFNTC_ASCII   1 /* ASCII */

◆ DFNTC_BYTE

#define DFNTC_BYTE   0 /* bitwise/numeric field */

◆ DFNTC_EBCDIC

#define DFNTC_EBCDIC   5 /* EBCDIC */

◆ DFNTF_CONVEX

#define DFNTF_CONVEX   5 /* CONVEX native format */

◆ DFNTF_CRAY

#define DFNTF_CRAY   3 /* Cray format */

◆ DFNTF_HDFDEFAULT

#define DFNTF_HDFDEFAULT   1 /* hdf default float format is ieee */

◆ DFNTF_IEEE

#define DFNTF_IEEE   1 /* IEEE format */

◆ DFNTF_NONE

#define DFNTF_NONE   0 /* indicates subclass is not set */

◆ DFNTF_PC

#define DFNTF_PC   4 /* PC floats - flipped IEEE */

◆ DFNTF_VAX

#define DFNTF_VAX   2 /* Vax format */

◆ DFNTF_VP

#define DFNTF_VP   6 /* Fujitsu VP native format */

◆ DFNTI_IBO

#define DFNTI_IBO   4 /* Intel byte order 2's compl */

◆ DFNTI_MBO

#define DFNTI_MBO   1 /* Motorola byte order 2's compl */

◆ DFNTI_VBO

#define DFNTI_VBO   2 /* Vax byte order 2's compl */

◆ DFO_C

#define DFO_C   2 /* row major order */

◆ DFO_FORTRAN

#define DFO_FORTRAN   1 /* column major order */

◆ MACHINE_F32_SIZE

#define MACHINE_F32_SIZE   4

◆ MACHINE_F64_SIZE

#define MACHINE_F64_SIZE   8

◆ MACHINE_I16_SIZE

#define MACHINE_I16_SIZE   2

◆ MACHINE_I32_SIZE

#define MACHINE_I32_SIZE   4

◆ MACHINE_I8_SIZE

#define MACHINE_I8_SIZE   1

◆ MAX_NT_SIZE

#define MAX_NT_SIZE   16

◆ SIZE_CHAR

#define SIZE_CHAR   1 /* For backward compat char8 == char */

◆ SIZE_CHAR16

#define SIZE_CHAR16   2 /* No current plans for support */

◆ SIZE_CHAR8

#define SIZE_CHAR8   1

◆ SIZE_FLOAT128

#define SIZE_FLOAT128   16 /* No current plans for support */

◆ SIZE_FLOAT32

#define SIZE_FLOAT32   4

◆ SIZE_FLOAT64

#define SIZE_FLOAT64   8

◆ SIZE_INT128

#define SIZE_INT128   16 /* No current plans for support */

◆ SIZE_INT16

#define SIZE_INT16   2

◆ SIZE_INT32

#define SIZE_INT32   4

◆ SIZE_INT64

#define SIZE_INT64   8

◆ SIZE_INT8

#define SIZE_INT8   1

◆ SIZE_LCHAR

#define SIZE_LCHAR   1 /* For backward compat char8 == char */

◆ SIZE_LCHAR16

#define SIZE_LCHAR16   2 /* No current plans for support */

◆ SIZE_LCHAR8

#define SIZE_LCHAR8   1

◆ SIZE_LFLOAT128

#define SIZE_LFLOAT128   16 /* No current plans for support */

◆ SIZE_LFLOAT32

#define SIZE_LFLOAT32   4

◆ SIZE_LFLOAT64

#define SIZE_LFLOAT64   8

◆ SIZE_LINT128

#define SIZE_LINT128   16 /* No current plans for support */

◆ SIZE_LINT16

#define SIZE_LINT16   2

◆ SIZE_LINT32

#define SIZE_LINT32   4

◆ SIZE_LINT64

#define SIZE_LINT64   8

◆ SIZE_LINT8

#define SIZE_LINT8   1

◆ SIZE_LUCHAR

#define SIZE_LUCHAR   1 /* For backward compat uchar8 == uchar */

◆ SIZE_LUCHAR16

#define SIZE_LUCHAR16   2 /* No current plans for support */

◆ SIZE_LUCHAR8

#define SIZE_LUCHAR8   1

◆ SIZE_LUINT128

#define SIZE_LUINT128   16 /* No current plans for support */

◆ SIZE_LUINT16

#define SIZE_LUINT16   2

◆ SIZE_LUINT32

#define SIZE_LUINT32   4

◆ SIZE_LUINT64

#define SIZE_LUINT64   8

◆ SIZE_LUINT8

#define SIZE_LUINT8   1

◆ SIZE_NCHAR

#define SIZE_NCHAR   1 /* For backward compat char8 == char */

◆ SIZE_NCHAR16

#define SIZE_NCHAR16   2 /* No current plans for support */

◆ SIZE_NCHAR8

#define SIZE_NCHAR8   1

◆ SIZE_NFLOAT128

#define SIZE_NFLOAT128   16 /* No current plans for support */

◆ SIZE_NFLOAT32

#define SIZE_NFLOAT32   4

◆ SIZE_NFLOAT64

#define SIZE_NFLOAT64   8

◆ SIZE_NINT128

#define SIZE_NINT128   16 /* No current plans for support */

◆ SIZE_NINT16

#define SIZE_NINT16   2

◆ SIZE_NINT32

#define SIZE_NINT32   4

◆ SIZE_NINT64

#define SIZE_NINT64   8

◆ SIZE_NINT8

#define SIZE_NINT8   1

◆ SIZE_NUCHAR

#define SIZE_NUCHAR   1 /* For backward compat uchar8 == uchar */

◆ SIZE_NUCHAR16

#define SIZE_NUCHAR16   2 /* No current plans for support */

◆ SIZE_NUCHAR8

#define SIZE_NUCHAR8   1

◆ SIZE_NUINT128

#define SIZE_NUINT128   16 /* No current plans for support */

◆ SIZE_NUINT16

#define SIZE_NUINT16   2

◆ SIZE_NUINT32

#define SIZE_NUINT32   4

◆ SIZE_NUINT64

#define SIZE_NUINT64   8

◆ SIZE_NUINT8

#define SIZE_NUINT8   1

◆ SIZE_UCHAR

#define SIZE_UCHAR   1 /* For backward compat uchar8 == uchar */

◆ SIZE_UCHAR16

#define SIZE_UCHAR16   2 /* No current plans for support */

◆ SIZE_UCHAR8

#define SIZE_UCHAR8   1

◆ SIZE_UINT128

#define SIZE_UINT128   16 /* No current plans for support */

◆ SIZE_UINT16

#define SIZE_UINT16   2

◆ SIZE_UINT32

#define SIZE_UINT32   4

◆ SIZE_UINT64

#define SIZE_UINT64   8

◆ SIZE_UINT8

#define SIZE_UINT8   1