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
Macros
htags.h File Reference
`#include "hdf.h"`

## Macros
#define | DFREF_WILDCARD 0
#define | DFTAG_WILDCARD 0
#define | DFREF_NONE 0 /* used by mfhdf/libsrc/putget.c */
#define | DFTAG_NULL 1
#define | DFTAG_LINKED 20 /* linked-block special element */
#define | DFTAG_VERSION 30
#define | DFTAG_COMPRESSED 40 /* compressed special element */
#define | DFTAG_VLINKED 50 /* variable-len linked-block header */
#define | DFTAG_VLINKED_DATA 51 /* variable-len linked-block data */
#define | DFTAG_CHUNKED
#define | DFTAG_CHUNK 61 /* chunk element */
#define | DFTAG_FID ((uint16)100) /* File identifier */
#define | DFTAG_FD ((uint16)101) /* File description */
#define | DFTAG_TID ((uint16)102) /* Tag identifier */
#define | DFTAG_TD ((uint16)103) /* Tag descriptor */
#define | DFTAG_DIL ((uint16)104) /* data identifier label */
#define | DFTAG_DIA ((uint16)105) /* data identifier annotation */
#define | DFTAG_NT ((uint16)106) /* number type */
#define | DFTAG_MT ((uint16)107) /* machine type */
#define | DFTAG_FREE ((uint16)108) /* free space in the file */
#define | DFTAG_ID8 ((uint16)200) /* 8-bit Image dimension */
#define | DFTAG_IP8 ((uint16)201) /* 8-bit Image palette */
#define | DFTAG_RI8 ((uint16)202) /* Raster-8 image */
#define | DFTAG_CI8 ((uint16)203) /* RLE compressed 8-bit image */
#define | DFTAG_II8 ((uint16)204) /* IMCOMP compressed 8-bit image */
#define | DFTAG_ID ((uint16)300) /* Image DimRec */
#define | DFTAG_LUT ((uint16)301) /* Image Palette */
#define | DFTAG_RI ((uint16)302) /* Raster Image */
#define | DFTAG_CI ((uint16)303) /* Compressed Image */
#define | DFTAG_NRI ((uint16)304) /* New-format Raster Image */
#define | DFTAG_RIG ((uint16)306) /* Raster Image Group */
#define | DFTAG_LD ((uint16)307) /* Palette DimRec */
#define | DFTAG_MD ((uint16)308) /* Matte DimRec */
#define | DFTAG_MA ((uint16)309) /* Matte Data */
#define | DFTAG_CCN ((uint16)310) /* color correction */
#define | DFTAG_CFM ((uint16)311) /* color format */
#define | DFTAG_AR ((uint16)312) /* aspect ratio */
#define | DFTAG_DRAW ((uint16)400) /* Draw these images in sequence */
#define | DFTAG_RUN ((uint16)401) /* run this as a program/script */
#define | DFTAG_XYP ((uint16)500) /* x-y position */
#define | DFTAG_MTO ((uint16)501) /* machine-type override */
#define | DFTAG_T14 ((uint16)602) /* TEK 4014 data */
#define | DFTAG_T105 ((uint16)603) /* TEK 4105 data */
#define | DFTAG_SDG ((uint16)700) /* Scientific Data Group */
#define | DFTAG_SDD ((uint16)701) /* Scientific Data DimRec */
#define | DFTAG_SD ((uint16)702) /* Scientific Data */
#define | DFTAG_SDS ((uint16)703) /* Scales */
#define | DFTAG_SDL ((uint16)704) /* Labels */
#define | DFTAG_SDU ((uint16)705) /* Units */
#define | DFTAG_SDF ((uint16)706) /* Formats */
#define | DFTAG_SDM ((uint16)707) /* Max/Min */
#define | DFTAG_SDC ((uint16)708) /* Coord sys */
#define | DFTAG_SDT ((uint16)709) /* Transpose */
#define | DFTAG_SDLNK ((uint16)710) /* Links related to the dataset */
#define | DFTAG_NDG ((uint16)720) /* Numeric Data Group */
#define | DFTAG_CAL ((uint16)731) /* Calibration information */
#define | DFTAG_FV ((uint16)732) /* Fill Value information */
#define | DFTAG_BREQ ((uint16)799) /* Beginning of required tags */
#define | DFTAG_SDRAG ((uint16)781) /* List of ragged array line lengths */
#define | DFTAG_EREQ ((uint16)780) /* Current end of the range */
#define | DFTAG_VG ((uint16)1965) /* Vgroup */
#define | DFTAG_VH ((uint16)1962) /* Vdata Header */
#define | DFTAG_VS ((uint16)1963) /* Vdata Storage */
#define | DFTAG_RLE ((uint16)11) /* run length encoding */
#define | DFTAG_IMC ((uint16)12) /* IMCOMP compression alias */
#define | DFTAG_IMCOMP ((uint16)12) /* IMCOMP compression */
#define | DFTAG_JPEG ((uint16)13) /* JPEG compression (24-bit data) */
#define | DFTAG_GREYJPEG ((uint16)14) /* JPEG compression (8-bit data) */
#define | DFTAG_JPEG5 ((uint16)15) /* JPEG compression (24-bit data) */
#define | DFTAG_GREYJPEG5 ((uint16)16) /* JPEG compression (8-bit data) */
#define | DFIL_PIXEL 0 /* Pixel Interlacing */
#define | DFIL_LINE 1 /* Scan Line Interlacing */
#define | DFIL_PLANE 2 /* Scan Plane Interlacing */
#define | SPECIAL_LINKED 1 /* Fixed-size Linked blocks */
#define | SPECIAL_EXT 2 /* External */
#define | SPECIAL_COMP 3 /* Compressed */
#define | SPECIAL_VLINKED 4 /* Variable-length linked blocks */
#define | SPECIAL_CHUNKED 5 /* chunked element */
#define | SPECIAL_BUFFERED 6 /* Buffered element */
#define | SPECIAL_COMPRAS 7 /* Compressed Raster element */

## Macro Definition Documentation

## ◆ DFIL_LINE

#define DFIL_LINE 1 /* Scan Line Interlacing */

## ◆ DFIL_PIXEL

#define DFIL_PIXEL 0 /* Pixel Interlacing */

## ◆ DFIL_PLANE

#define DFIL_PLANE 2 /* Scan Plane Interlacing */

## ◆ DFREF_NONE

#define DFREF_NONE 0 /* used by mfhdf/libsrc/putget.c */

## ◆ DFREF_WILDCARD

#define DFREF_WILDCARD 0

## ◆ DFTAG_AR

#define DFTAG_AR ((uint16)312) /* aspect ratio */

## ◆ DFTAG_BREQ

#define DFTAG_BREQ ((uint16)799) /* Beginning of required tags */

## ◆ DFTAG_CAL

#define DFTAG_CAL ((uint16)731) /* Calibration information */

## ◆ DFTAG_CCN

#define DFTAG_CCN ((uint16)310) /* color correction */

## ◆ DFTAG_CFM

#define DFTAG_CFM ((uint16)311) /* color format */

## ◆ DFTAG_CHUNK

#define DFTAG_CHUNK 61 /* chunk element */

## ◆ DFTAG_CHUNKED

#define DFTAG_CHUNKED

Value:
60 /* chunked special element header \
(for expansion, not used )*/

## ◆ DFTAG_CI

#define DFTAG_CI ((uint16)303) /* Compressed Image */

## ◆ DFTAG_CI8

#define DFTAG_CI8 ((uint16)203) /* RLE compressed 8-bit image */

## ◆ DFTAG_COMPRESSED

#define DFTAG_COMPRESSED 40 /* compressed special element */

## ◆ DFTAG_DIA

#define DFTAG_DIA ((uint16)105) /* data identifier annotation */

## ◆ DFTAG_DIL

#define DFTAG_DIL ((uint16)104) /* data identifier label */

## ◆ DFTAG_DRAW

#define DFTAG_DRAW ((uint16)400) /* Draw these images in sequence */

## ◆ DFTAG_EREQ

#define DFTAG_EREQ ((uint16)780) /* Current end of the range */

## ◆ DFTAG_FD

#define DFTAG_FD ((uint16)101) /* File description */

## ◆ DFTAG_FID

#define DFTAG_FID ((uint16)100) /* File identifier */

## ◆ DFTAG_FREE

#define DFTAG_FREE ((uint16)108) /* free space in the file */

## ◆ DFTAG_FV

#define DFTAG_FV ((uint16)732) /* Fill Value information */

## ◆ DFTAG_GREYJPEG

#define DFTAG_GREYJPEG ((uint16)14) /* JPEG compression (8-bit data) */

## ◆ DFTAG_GREYJPEG5

#define DFTAG_GREYJPEG5 ((uint16)16) /* JPEG compression (8-bit data) */

## ◆ DFTAG_ID

#define DFTAG_ID ((uint16)300) /* Image DimRec */

## ◆ DFTAG_ID8

#define DFTAG_ID8 ((uint16)200) /* 8-bit Image dimension */

## ◆ DFTAG_II8

#define DFTAG_II8 ((uint16)204) /* IMCOMP compressed 8-bit image */

## ◆ DFTAG_IMC

#define DFTAG_IMC ((uint16)12) /* IMCOMP compression alias */

## ◆ DFTAG_IMCOMP

#define DFTAG_IMCOMP ((uint16)12) /* IMCOMP compression */

## ◆ DFTAG_IP8

#define DFTAG_IP8 ((uint16)201) /* 8-bit Image palette */

## ◆ DFTAG_JPEG

#define DFTAG_JPEG ((uint16)13) /* JPEG compression (24-bit data) */

## ◆ DFTAG_JPEG5

#define DFTAG_JPEG5 ((uint16)15) /* JPEG compression (24-bit data) */

## ◆ DFTAG_LD

#define DFTAG_LD ((uint16)307) /* Palette DimRec */

## ◆ DFTAG_LINKED

#define DFTAG_LINKED 20 /* linked-block special element */

## ◆ DFTAG_LUT

#define DFTAG_LUT ((uint16)301) /* Image Palette */

## ◆ DFTAG_MA

#define DFTAG_MA ((uint16)309) /* Matte Data */

## ◆ DFTAG_MD

#define DFTAG_MD ((uint16)308) /* Matte DimRec */

## ◆ DFTAG_MT

#define DFTAG_MT ((uint16)107) /* machine type */

## ◆ DFTAG_MTO

#define DFTAG_MTO ((uint16)501) /* machine-type override */

## ◆ DFTAG_NDG

#define DFTAG_NDG ((uint16)720) /* Numeric Data Group */

## ◆ DFTAG_NRI

#define DFTAG_NRI ((uint16)304) /* New-format Raster Image */

## ◆ DFTAG_NT

#define DFTAG_NT ((uint16)106) /* number type */

## ◆ DFTAG_NULL

#define DFTAG_NULL 1

## ◆ DFTAG_RI

#define DFTAG_RI ((uint16)302) /* Raster Image */

## ◆ DFTAG_RI8

#define DFTAG_RI8 ((uint16)202) /* Raster-8 image */

## ◆ DFTAG_RIG

#define DFTAG_RIG ((uint16)306) /* Raster Image Group */

## ◆ DFTAG_RLE

#define DFTAG_RLE ((uint16)11) /* run length encoding */

## ◆ DFTAG_RUN

#define DFTAG_RUN ((uint16)401) /* run this as a program/script */

## ◆ DFTAG_SD

#define DFTAG_SD ((uint16)702) /* Scientific Data */

## ◆ DFTAG_SDC

#define DFTAG_SDC ((uint16)708) /* Coord sys */

## ◆ DFTAG_SDD

#define DFTAG_SDD ((uint16)701) /* Scientific Data DimRec */

## ◆ DFTAG_SDF

#define DFTAG_SDF ((uint16)706) /* Formats */

## ◆ DFTAG_SDG

#define DFTAG_SDG ((uint16)700) /* Scientific Data Group */

## ◆ DFTAG_SDL

#define DFTAG_SDL ((uint16)704) /* Labels */

## ◆ DFTAG_SDLNK

#define DFTAG_SDLNK ((uint16)710) /* Links related to the dataset */

## ◆ DFTAG_SDM

#define DFTAG_SDM ((uint16)707) /* Max/Min */

## ◆ DFTAG_SDRAG

#define DFTAG_SDRAG ((uint16)781) /* List of ragged array line lengths */

## ◆ DFTAG_SDS

#define DFTAG_SDS ((uint16)703) /* Scales */

## ◆ DFTAG_SDT

#define DFTAG_SDT ((uint16)709) /* Transpose */

## ◆ DFTAG_SDU

#define DFTAG_SDU ((uint16)705) /* Units */

## ◆ DFTAG_T105

#define DFTAG_T105 ((uint16)603) /* TEK 4105 data */

## ◆ DFTAG_T14

#define DFTAG_T14 ((uint16)602) /* TEK 4014 data */

## ◆ DFTAG_TD

#define DFTAG_TD ((uint16)103) /* Tag descriptor */

## ◆ DFTAG_TID

#define DFTAG_TID ((uint16)102) /* Tag identifier */

## ◆ DFTAG_VERSION

#define DFTAG_VERSION 30

## ◆ DFTAG_VG

#define DFTAG_VG ((uint16)1965) /* Vgroup */

## ◆ DFTAG_VH

#define DFTAG_VH ((uint16)1962) /* Vdata Header */

## ◆ DFTAG_VLINKED

#define DFTAG_VLINKED 50 /* variable-len linked-block header */

## ◆ DFTAG_VLINKED_DATA

#define DFTAG_VLINKED_DATA 51 /* variable-len linked-block data */

## ◆ DFTAG_VS

#define DFTAG_VS ((uint16)1963) /* Vdata Storage */

## ◆ DFTAG_WILDCARD

#define DFTAG_WILDCARD 0

## ◆ DFTAG_XYP

#define DFTAG_XYP ((uint16)500) /* x-y position */

## ◆ SPECIAL_BUFFERED

#define SPECIAL_BUFFERED 6 /* Buffered element */

## ◆ SPECIAL_CHUNKED

#define SPECIAL_CHUNKED 5 /* chunked element */

## ◆ SPECIAL_COMP

#define SPECIAL_COMP 3 /* Compressed */

## ◆ SPECIAL_COMPRAS

#define SPECIAL_COMPRAS 7 /* Compressed Raster element */

## ◆ SPECIAL_EXT

#define SPECIAL_EXT 2 /* External */

## ◆ SPECIAL_LINKED

#define SPECIAL_LINKED 1 /* Fixed-size Linked blocks */

## ◆ SPECIAL_VLINKED

#define SPECIAL_VLINKED 4 /* Variable-length linked blocks */