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
hdf.h File 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)
#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
#define DFACC_APPENDABLE   0x10
#define DFACC_CURRENT   0x20
#define DFACC_OLD   1
#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)
#define NSTREQ(s, t, n)
#define FULL_INTERLACE   0
#define NO_INTERLACE   1
#define HDFopen(f, a, d)
#define HDFclose(f)
#define Vstart(f)
#define Vend(f)
#define HDgettagname(tag)
#define MP_PAGEALL   0x01
#define HDmalloc(s)
#define HDcalloc(a, b)
#define HDfree(p)
#define HDrealloc(p, s)
#define HDfreenclear(p)
#define HDstrcat(s1, s2)
#define HDstrcmp(s, t)
#define HDstrcpy(s, d)
#define HDstrlen(s)
#define HDstrncmp(s1, s2, n)
#define HDstrncpy(s1, s2, n)
#define HDstrchr(s, c)
#define HDstrrchr(s, c)
#define HDstrtol(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 int(*) hdf_termfunc_t(void)

Enumerations

enum  ann_type {
  AN_UNDEF = -1 , AN_DATA_LABEL = 0 , AN_DATA_DESC , AN_FILE_LABEL ,
  AN_FILE_DESC
}

Macro Definition Documentation

◆ _fcdtocp

#define _fcdtocp ( desc)
Value:
intf _fcd desc
Definition hproto_fortran.h:63

◆ CACHE_ALL_FILES

#define CACHE_ALL_FILES   (-2)

◆ DF_BACKWARD

#define DF_BACKWARD   2

◆ DF_CURRENT

#define DF_CURRENT   1

◆ DF_END

#define DF_END   2

◆ DF_FORWARD

#define DF_FORWARD   1

◆ DF_START

#define DF_START   0

◆ DFACC_ALL

#define DFACC_ALL   7

◆ DFACC_APPENDABLE

#define DFACC_APPENDABLE   0x10

◆ DFACC_BUFFER

#define DFACC_BUFFER   8

◆ DFACC_CLOBBER

#define DFACC_CLOBBER   4

◆ DFACC_CREATE

#define DFACC_CREATE   4

◆ DFACC_CURRENT

#define DFACC_CURRENT   0x20

◆ DFACC_DEFAULT

#define DFACC_DEFAULT   000

◆ DFACC_OLD

#define DFACC_OLD   1

◆ DFACC_PARALLEL

#define DFACC_PARALLEL   011

◆ DFACC_RDONLY

#define DFACC_RDONLY   1

◆ DFACC_RDWR

#define DFACC_RDWR   3

◆ DFACC_READ

#define DFACC_READ   1

◆ DFACC_SERIAL

#define DFACC_SERIAL   001

◆ DFACC_WRITE

#define DFACC_WRITE   2

◆ FAIL

#define FAIL   (-1)

◆ FULL_INTERLACE

#define FULL_INTERLACE   0

◆ HDcalloc

#define HDcalloc ( a,
b )
Value:
calloc(a, b)

◆ HDFclose

#define HDFclose ( f)
Value:
int Hclose(int32 file_id)
HDFFCLIBAPI intf _fcd _fcd _fcd f
Definition mfsdf.h:98

◆ HDFopen

#define HDFopen ( f,
a,
d )
Value:
Hopen((f), (a), (d))
int32 Hopen(const char *path, int acc_mode, int16 ndds)

◆ HDfree

#define HDfree ( p)
Value:
free(p)

◆ HDfreenclear

#define HDfreenclear ( p)
Value:
{ \
free(p); \
(p) = NULL; \
}

◆ HDgettagname

#define HDgettagname ( tag)
Value:
const char * HDgettagdesc(uint16 tag)
intf intf * tag
Definition hproto_fortran.h:46

◆ HDmalloc

#define HDmalloc ( s)
Value:
malloc(s)

◆ HDrealloc

#define HDrealloc ( p,
s )
Value:
realloc(p, s)

◆ HDstrcat

#define HDstrcat ( s1,
s2 )
Value:
(strcat((s1), (s2)))

◆ HDstrchr

#define HDstrchr ( s,
c )
Value:
(strchr((s), (c)))
HDFFCLIBAPI intf _fcd _fcd _fcd _fcd c
Definition mfsdf.h:100

◆ HDstrcmp

#define HDstrcmp ( s,
t )
Value:
(strcmp((s), (t)))

◆ HDstrcpy

#define HDstrcpy ( s,
d )
Value:
(strcpy((s), (d)))

◆ HDstrlen

#define HDstrlen ( s)
Value:
(strlen((const char *)(s)))

◆ HDstrncmp

#define HDstrncmp ( s1,
s2,
n )
Value:
(strncmp((s1), (s2), (n)))
intf _fcd _fcd intf * n
Definition hproto_fortran.h:1056

◆ HDstrncpy

#define HDstrncpy ( s1,
s2,
n )
Value:
(strncpy((s1), (s2), (n)))

◆ HDstrrchr

#define HDstrrchr ( s,
c )
Value:
(strrchr((s), (c)))

◆ HDstrtol

#define HDstrtol ( s,
e,
b )
Value:
(strtol((s), (e), (b)))

◆ MP_PAGEALL

#define MP_PAGEALL   0x01

◆ NO_INTERLACE

#define NO_INTERLACE   1

◆ NSTREQ

#define NSTREQ ( s,
t,
n )
Value:
(strncmp((s), (t), (n)) == 0)

◆ STREQ

#define STREQ ( s,
t )
Value:
(strcmp((s), (t)) == 0)

◆ SUCCEED

#define SUCCEED   0

◆ Vend

#define Vend ( f)
Value:
int Vfinish(HFILEID f)

◆ Vstart

#define Vstart ( f)
Value:
int Vinitialize(HFILEID f)

Typedef Documentation

◆ _fcd

typedef char* _fcd

◆ char8

typedef char char8

◆ float32

typedef float float32

◆ float64

typedef double float64

◆ hdf_termfunc_t

typedef int(*) hdf_termfunc_t(void)

◆ HFILEID

typedef int32 HFILEID

◆ int16

typedef int16_t int16

◆ int32

typedef int32_t int32

◆ int8

typedef int8_t int8

◆ intf

typedef int intf

◆ intn

typedef int intn

◆ uchar8

typedef unsigned char uchar8

◆ uint16

typedef uint16_t uint16

◆ uint32

typedef uint32_t uint32

◆ uint8

typedef uint8_t uint8

◆ uintn

typedef unsigned int uintn

◆ VOID

typedef void VOID

◆ VOIDP

typedef void* VOIDP

Enumeration Type Documentation

◆ ann_type

enum ann_type
Enumerator
AN_UNDEF 
AN_DATA_LABEL 
AN_DATA_DESC 
AN_FILE_LABEL 
AN_FILE_DESC