HDF: hdf/util/he.h File Reference

Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/

| HDF 4.4.0 API Reference |

Loading...
Searching...
No Matches
he.h File Reference
`#include "hdf.h"`
`#include <ctype.h>`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <string.h>`
`#include "he_proto.h"`

## Data Structures
struct | HE_CMD
struct | HE_PRED
struct | DFdesc_ptr
struct | tag_ref_ptr
struct | HE_GROUP

## Macros
#define | ASSERT(e)
#define | NOT_REACHED()
#define | HE_ARG_SZ 30
#define | HE_DESC_SZ 8192
#define | HE_COLOR_SZ 256
#define | HE_PALETTE_SZ 768
#define | HE_BUF_SZ 1024
#define | HE_OK 0
#define | HE_FAIL -1
#define | YES 1
#define | NO 0
#define | HE_AMBIG -2
#define | HE_NOTFOUND -1
#define | HE_ALL 1
#define | HE_BACKUP 2
#define | HE_HELP 3
#define | HE_LONGOUT 4
#define | HE_NOBACKUP 5
#define | HE_REMOTE 6
#define | HE_VERBOSE 7
#define | HE_FILE 8
#define | HE_KEEP 9
#define | HE_POSITION 10
#define | HE_EXPANSION 11
#define | HE_LARGE 12
#define | HE_RDONLY 13
#define | HE_BATCH 14
#define | HE_OFFSET 15
#define | HE_ASCII 16
#define | HE_OCTAL 17
#define | HE_HEX 18
#define | HE_DECIMAL 19
#define | HE_FLOAT 20
#define | HE_DIMS 21
#define | HE_IMAGE 22
#define | HE_PALETTE 23
#define | HE_RASTER 24
#define | HE_RLE 25
#define | HE_IMCOMP 26
#define | HE_DOGROUP 27
#define | HE_LENGTH 28
#define | HE_ATTACHTO 29
#define | HE_LABEL 30
#define | HE_DESCRIPTOR 31
#define | HE_EDITOR 32
#define | HE_BYTE 33
#define | HE_SHORT 34
#define | HE_DOUBLE 35
#define | HE_RAW 36
#define | HE_USHORT 37
#define | HE_UDECIMAL 38
#define | HE_PREDICATE 0x8000
#define | HE_COMPARATOR 0x4000
#define | HEK_NULL 0
#define | HEK_TAG 1
#define | HEK_REF 2
#define | HEK_EQUAL 3
#define | HEK_NEQUAL 4
#define | HEK_GRT 5
#define | HEK_GEQUAL 6
#define | HEK_LESST 7
#define | HEK_LEQUAL 8
#define | HEK_ALL 9
#define | HEK_SUCCEED 10
#define | HEK_FAIL 11
#define | HEK_GROUP 12
#define | HE_NUMBER 1
#define | HE_STRING 2
#define | unkOpt(st)
#define | unkArg(st)
#define | ambigOpt(st)
#define | irrOpt(st)
#define | noFile()
#define | isAnnot(t)
#define | isRig(t)
#define | currTag (he_desc[he_currDesc].tag)
#define | currGrpNo (desc2Grp(he_currDesc))
#define | currDesc ((DFdesc *)he_desc + he_currDesc)

## Typedefs
typedef int(*) | HE_FUNC(void *)

## Variables
int | he_status
int | he_numDesc
int | he_currDesc
int | he_numGrp
int | he_remote
char * | he_file
DFdesc * | he_desc
HE_GROUP * | he_grp

## Macro Definition Documentation

## ◆ ambigOpt

#define ambigOpt | ( |  | st | ) |

Value:
fprintf(stderr, "Ambiguous option: %s.\n", st)

## ◆ ASSERT

#define ASSERT | ( |  | e | ) |

## ◆ currDesc

#define currDesc ((DFdesc *)he_desc + he_currDesc)

## ◆ currGrpNo

#define currGrpNo (desc2Grp(he_currDesc))

## ◆ currTag

#define currTag (he_desc[he_currDesc].tag)

## ◆ HE_ALL

#define HE_ALL 1

## ◆ HE_AMBIG

#define HE_AMBIG -2

## ◆ HE_ARG_SZ

#define HE_ARG_SZ 30

## ◆ HE_ASCII

#define HE_ASCII 16

## ◆ HE_ATTACHTO

#define HE_ATTACHTO 29

## ◆ HE_BACKUP

#define HE_BACKUP 2

## ◆ HE_BATCH

#define HE_BATCH 14

## ◆ HE_BUF_SZ

#define HE_BUF_SZ 1024

## ◆ HE_BYTE

#define HE_BYTE 33

## ◆ HE_COLOR_SZ

#define HE_COLOR_SZ 256

## ◆ HE_COMPARATOR

#define HE_COMPARATOR 0x4000

## ◆ HE_DECIMAL

#define HE_DECIMAL 19

## ◆ HE_DESC_SZ

#define HE_DESC_SZ 8192

## ◆ HE_DESCRIPTOR

#define HE_DESCRIPTOR 31

## ◆ HE_DIMS

#define HE_DIMS 21

## ◆ HE_DOGROUP

#define HE_DOGROUP 27

## ◆ HE_DOUBLE

#define HE_DOUBLE 35

## ◆ HE_EDITOR

#define HE_EDITOR 32

## ◆ HE_EXPANSION

#define HE_EXPANSION 11

## ◆ HE_FAIL

#define HE_FAIL -1

## ◆ HE_FILE

#define HE_FILE 8

## ◆ HE_FLOAT

#define HE_FLOAT 20

## ◆ HE_HELP

#define HE_HELP 3

## ◆ HE_HEX

#define HE_HEX 18

## ◆ HE_IMAGE

#define HE_IMAGE 22

## ◆ HE_IMCOMP

#define HE_IMCOMP 26

## ◆ HE_KEEP

#define HE_KEEP 9

## ◆ HE_LABEL

#define HE_LABEL 30

## ◆ HE_LARGE

#define HE_LARGE 12

## ◆ HE_LENGTH

#define HE_LENGTH 28

## ◆ HE_LONGOUT

#define HE_LONGOUT 4

## ◆ HE_NOBACKUP

#define HE_NOBACKUP 5

## ◆ HE_NOTFOUND

#define HE_NOTFOUND -1

## ◆ HE_NUMBER

#define HE_NUMBER 1

## ◆ HE_OCTAL

#define HE_OCTAL 17

## ◆ HE_OFFSET

#define HE_OFFSET 15

## ◆ HE_OK

#define HE_OK 0

## ◆ HE_PALETTE

#define HE_PALETTE 23

## ◆ HE_PALETTE_SZ

#define HE_PALETTE_SZ 768

## ◆ HE_POSITION

#define HE_POSITION 10

## ◆ HE_PREDICATE

#define HE_PREDICATE 0x8000

## ◆ HE_RASTER

#define HE_RASTER 24

## ◆ HE_RAW

#define HE_RAW 36

## ◆ HE_RDONLY

#define HE_RDONLY 13

## ◆ HE_REMOTE

#define HE_REMOTE 6

## ◆ HE_RLE

#define HE_RLE 25

## ◆ HE_SHORT

#define HE_SHORT 34

## ◆ HE_STRING

#define HE_STRING 2

## ◆ HE_UDECIMAL

#define HE_UDECIMAL 38

## ◆ HE_USHORT

#define HE_USHORT 37

## ◆ HE_VERBOSE

#define HE_VERBOSE 7

## ◆ HEK_ALL

#define HEK_ALL 9

## ◆ HEK_EQUAL

#define HEK_EQUAL 3

## ◆ HEK_FAIL

#define HEK_FAIL 11

## ◆ HEK_GEQUAL

#define HEK_GEQUAL 6

## ◆ HEK_GROUP

#define HEK_GROUP 12

## ◆ HEK_GRT

#define HEK_GRT 5

## ◆ HEK_LEQUAL

#define HEK_LEQUAL 8

## ◆ HEK_LESST

#define HEK_LESST 7

## ◆ HEK_NEQUAL

#define HEK_NEQUAL 4

## ◆ HEK_NULL

#define HEK_NULL 0

## ◆ HEK_REF

#define HEK_REF 2

## ◆ HEK_SUCCEED

#define HEK_SUCCEED 10

## ◆ HEK_TAG

#define HEK_TAG 1

## ◆ irrOpt

#define irrOpt | ( |  | st | ) |

Value:
fprintf(stderr, "Irrelevant option: %s.\n", st)

## ◆ isAnnot

#define isAnnot | ( |  | t | ) |

Value:
(t == DFTAG_DIL || t == DFTAG_DIA)
DFTAG_DIA
#define DFTAG_DIA
Definition htags.h:47
DFTAG_DIL
#define DFTAG_DIL
Definition htags.h:46

## ◆ isRig

#define isRig | ( |  | t | ) |

Value:
(t == DFTAG_RIG)
DFTAG_RIG
#define DFTAG_RIG
Definition htags.h:66

## ◆ NO

#define NO 0

## ◆ noFile

#define noFile | ( |  | ) |

Value:
fprintf(stderr, "No file is opened.\n")

## ◆ NOT_REACHED

#define NOT_REACHED | ( |  | ) |

## ◆ unkArg

#define unkArg | ( |  | st | ) |

Value:
fprintf(stderr, "Unknown argument: %s.\n", st)

## ◆ unkOpt

#define unkOpt | ( |  | st | ) |

Value:
fprintf(stderr, "Unknown option: %s.\n", st)

## ◆ YES

#define YES 1

## Typedef Documentation

## ◆ HE_FUNC

typedef int(*) HE_FUNC(void *)

## Variable Documentation

## ◆ he_currDesc

int he_currDesc
| extern

## ◆ he_desc

DFdesc* he_desc
| extern

## ◆ he_file

char* he_file
| extern

## ◆ he_grp

HE_GROUP* he_grp
| extern

## ◆ he_numDesc

int he_numDesc
| extern

## ◆ he_numGrp

int he_numGrp
| extern

## ◆ he_remote

int he_remote
| extern

## ◆ he_status

int he_status
| extern