![]() |
HDF
4.3.0
API Reference
|
#include "h4config.h"#include <inttypes.h>#include "hlimits.h"#include "hntdefs.h"#include "htags.h"#include "H4api_adpt.h"#include "hbitio.h"#include "hcomp.h"#include "herr.h"#include "hproto.h"#include "vg.h"#include "mfgr.h"Data Structures | |
| struct | DFdi |
| struct | hdf_ntinfo_t |
Macros | |
| #define | _fcdtocp(desc) (desc) |
| #define | DFACC_READ 1 |
| #define | DFACC_WRITE 2 |
| #define | DFACC_CREATE 4 |
| #define | DFACC_ALL 7 |
| #define | DFACC_RDONLY 1 |
| #define | DFACC_RDWR 3 |
| #define | DFACC_CLOBBER 4 |
| #define | DFACC_BUFFER 8 /* buffer the access to this AID */ |
| #define | DFACC_APPENDABLE 0x10 /* make this AID appendable */ |
| #define | DFACC_CURRENT 0x20 /* start looking for a tag/ref from the current */ |
| #define | DFACC_OLD 1 /* for accessing existing ext. element file */ |
| #define | CACHE_ALL_FILES (-2) |
| #define | DFACC_DEFAULT 000 |
| #define | DFACC_SERIAL 001 |
| #define | DFACC_PARALLEL 011 |
| #define | DF_START 0 |
| #define | DF_CURRENT 1 |
| #define | DF_END 2 |
| #define | DF_FORWARD 1 |
| #define | DF_BACKWARD 2 |
| #define | SUCCEED 0 |
| #define | FAIL (-1) |
| #define | STREQ(s, t) (strcmp((s), (t)) == 0) |
| #define | NSTREQ(s, t, n) (strncmp((s), (t), (n)) == 0) |
| #define | FULL_INTERLACE 0 |
| #define | NO_INTERLACE 1 |
| #define | HDFopen(f, a, d) Hopen((f), (a), (d)) |
| #define | HDFclose(f) Hclose((f)) |
| #define | Vstart(f) Vinitialize((f)) |
| #define | Vend(f) Vfinish((f)) |
| #define | HDgettagname(tag) HDgettagdesc(tag) |
| #define | MP_PAGEALL 0x01 /* page the whole file i.e. no limit on 'maxcache'*/ |
| #define | HDmalloc(s) malloc(s) |
| #define | HDcalloc(a, b) calloc(a, b) |
| #define | HDfree(p) free(p) |
| #define | HDrealloc(p, s) realloc(p, s) |
| #define | HDfreenclear(p) |
| #define | HDstrcat(s1, s2) (strcat((s1), (s2))) |
| #define | HDstrcmp(s, t) (strcmp((s), (t))) |
| #define | HDstrcpy(s, d) (strcpy((s), (d))) |
| #define | HDstrlen(s) (strlen((const char *)(s))) |
| #define | HDstrncmp(s1, s2, n) (strncmp((s1), (s2), (n))) |
| #define | HDstrncpy(s1, s2, n) (strncpy((s1), (s2), (n))) |
| #define | HDstrchr(s, c) (strchr((s), (c))) |
| #define | HDstrrchr(s, c) (strrchr((s), (c))) |
| #define | HDstrtol(s, e, b) (strtol((s), (e), (b))) |
Typedefs | |
| typedef float | float32 |
| typedef double | float64 |
| typedef char | char8 |
| typedef unsigned char | uchar8 |
| typedef char * | _fcd |
| typedef int8_t | int8 |
| typedef uint8_t | uint8 |
| typedef int16_t | int16 |
| typedef uint16_t | uint16 |
| typedef int32_t | int32 |
| typedef uint32_t | uint32 |
| typedef int | intn |
| typedef unsigned int | uintn |
| typedef void | VOID |
| typedef void * | VOIDP |
| typedef int | intf |
| typedef int32 | HFILEID |
| typedef intn(* | hdf_termfunc_t) (void) |
Enumerations | |
| enum | ann_type { AN_UNDEF = -1 , AN_DATA_LABEL = 0 , AN_DATA_DESC , AN_FILE_LABEL , AN_FILE_DESC } |
| #define CACHE_ALL_FILES (-2) |
| #define DF_BACKWARD 2 |
| #define DF_CURRENT 1 |
| #define DF_END 2 |
| #define DF_FORWARD 1 |
| #define DF_START 0 |
| #define DFACC_ALL 7 |
| #define DFACC_APPENDABLE 0x10 /* make this AID appendable */ |
| #define DFACC_CLOBBER 4 |
| #define DFACC_CREATE 4 |
| #define DFACC_DEFAULT 000 |
| #define DFACC_OLD 1 /* for accessing existing ext. element file */ |
| #define DFACC_PARALLEL 011 |
| #define DFACC_RDONLY 1 |
| #define DFACC_RDWR 3 |
| #define DFACC_READ 1 |
| #define DFACC_SERIAL 001 |
| #define DFACC_WRITE 2 |
| #define FAIL (-1) |
| #define FULL_INTERLACE 0 |
| #define HDcalloc | ( | a, | |
| b ) calloc(a, b) |
| #define HDfree | ( | p | ) | free(p) |
| #define HDfreenclear | ( | p | ) |
| #define HDgettagname | ( | tag | ) | HDgettagdesc(tag) |
| #define HDmalloc | ( | s | ) | malloc(s) |
| #define HDrealloc | ( | p, | |
| s ) realloc(p, s) |
| #define HDstrcat | ( | s1, | |
| s2 ) (strcat((s1), (s2))) |
| #define HDstrcmp | ( | s, | |
| t ) (strcmp((s), (t))) |
| #define HDstrcpy | ( | s, | |
| d ) (strcpy((s), (d))) |
| #define HDstrlen | ( | s | ) | (strlen((const char *)(s))) |
| #define HDstrtol | ( | s, | |
| e, | |||
| b ) (strtol((s), (e), (b))) |
| #define MP_PAGEALL 0x01 /* page the whole file i.e. no limit on 'maxcache'*/ |
| #define NO_INTERLACE 1 |
| #define STREQ | ( | s, | |
| t ) (strcmp((s), (t)) == 0) |
| #define SUCCEED 0 |
| #define Vstart | ( | f | ) | Vinitialize((f)) |
| typedef char* _fcd |
| typedef char char8 |
| typedef float float32 |
| typedef double float64 |
| typedef intn(* hdf_termfunc_t) (void) |
| typedef int16_t int16 |
| typedef int32_t int32 |
| typedef int8_t int8 |
| typedef int intf |
| typedef int intn |
| typedef unsigned char uchar8 |
| typedef uint16_t uint16 |
| typedef uint32_t uint32 |
| typedef uint8_t uint8 |
| typedef unsigned int uintn |
| typedef void VOID |
| typedef void* VOIDP |
| enum ann_type |