MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Functions | Variables
H5Opkg.h File Reference
#include "H5Oprivate.h"
#include "H5ACprivate.h"
#include "H5FLprivate.h"

Go to the source code of this file.

Data Structures

struct  H5O_msg_class_t
 
struct  H5O_mesg_t
 
struct  H5O_chunk_t
 
struct  H5O_t
 
struct  H5O_obj_class_t
 
struct  H5O_addr_map_t
 
struct  H5O_cont_msgs_t
 
struct  H5O_common_cache_ud_t
 
struct  H5O_cache_ud_t
 
struct  H5O_chunk_proxy_t
 
struct  H5O_chk_cache_ud_t
 

Macros

#define H5O_NMESGS   8 /*initial number of messages */
 
#define H5O_NCHUNKS   2 /*initial number of chunks */
 
#define H5O_MIN_SIZE   22 /* Min. obj header data size (must be big enough for a message prefix and a continuation message) */
 
#define H5O_MSG_TYPES   25 /* # of types of messages */
 
#define H5O_MAX_CRT_ORDER_IDX   65535 /* Max. creation order index value */
 
#define H5O_VERSION_1   1
 
#define H5O_VERSION_2   2
 
#define H5O_VERSION_LATEST   H5O_VERSION_2
 
#define H5O_ALIGN_OLD(X)   (8 * (((X) + 7) / 8))
 
#define H5O_ALIGN_VERS(V, X)
 
#define H5O_ALIGN_OH(O, X)   H5O_ALIGN_VERS((O)->version, X)
 
#define H5O_ALIGN_F(F, X)   H5O_ALIGN_VERS((H5F_USE_LATEST_FORMAT(F) ? H5O_VERSION_LATEST : H5O_VERSION_1), X)
 
#define H5O_SIZEOF_CHKSUM   4
 
#define H5O_CRT_ATTR_MAX_COMPACT_DEF   8
 
#define H5O_CRT_ATTR_MIN_DENSE_DEF   6
 
#define H5O_CRT_OHDR_FLAGS_DEF   H5O_HDR_STORE_TIMES
 
#define H5O_HDR_CHUNK0_1   0x00 /* Use 1-byte value for chunk #0 size */
 
#define H5O_HDR_CHUNK0_2   0x01 /* Use 2-byte value for chunk #0 size */
 
#define H5O_HDR_CHUNK0_4   0x02 /* Use 4-byte value for chunk #0 size */
 
#define H5O_HDR_CHUNK0_8   0x03 /* Use 8-byte value for chunk #0 size */
 
#define H5O_SIZEOF_HDR(O)
 
#define H5O_SIZEOF_MSGHDR_VERS(V, C)
 
#define H5O_SIZEOF_MSGHDR_OH(O)   H5O_SIZEOF_MSGHDR_VERS((O)->version, (O)->flags & H5O_HDR_ATTR_CRT_ORDER_TRACKED)
 
#define H5O_SIZEOF_MSGHDR_F(F, C)   H5O_SIZEOF_MSGHDR_VERS((H5F_USE_LATEST_FORMAT(F) || H5F_STORE_MSG_CRT_IDX(F)) ? H5O_VERSION_LATEST : H5O_VERSION_1, (C))
 
#define H5O_SIZEOF_CHKHDR_VERS(V)
 
#define H5O_SIZEOF_CHKHDR_OH(O)   H5O_SIZEOF_CHKHDR_VERS((O)->version)
 
#define H5O_SIZEOF_CHKSUM_VERS(V)
 
#define H5O_SIZEOF_CHKSUM_OH(O)   H5O_SIZEOF_CHKSUM_VERS((O)->version)
 
#define H5O_DECODEIO_NOCHANGE   0x01u /* IN: do not modify values */
 
#define H5O_DECODEIO_DIRTY   0x02u /* OUT: message has been changed */
 
#define INCR_NDECODE_DIRTIED(OH)   (OH)->ndecode_dirtied++;
 
#define H5O_LOAD_NATIVE(F, DXPL, IOF, OH, MSG, ERR)
 
#define H5O_SHARE_IS_SHARABLE   0x01
 
#define H5O_SHARE_IN_OHDR   0x02
 

Typedefs

typedef struct H5O_chunk_t H5O_chunk_t
 
typedef struct H5O_obj_class_t H5O_obj_class_t
 
typedef struct H5O_addr_map_t H5O_addr_map_t
 
typedef struct H5O_cont_msgs_t H5O_cont_msgs_t
 
typedef struct H5O_common_cache_ud_t H5O_common_cache_ud_t
 
typedef struct H5O_cache_ud_t H5O_cache_ud_t
 
typedef struct H5O_chunk_proxy_t H5O_chunk_proxy_t
 
typedef struct H5O_chk_cache_ud_t H5O_chk_cache_ud_t
 

Functions

 H5FL_EXTERN (H5O_t)
 
 H5FL_SEQ_EXTERN (H5O_mesg_t)
 
 H5FL_SEQ_EXTERN (H5O_chunk_t)
 
 H5FL_BLK_EXTERN (chunk_image)
 
H5_DLL herr_t H5O_msg_flush (H5F_t *f, H5O_t *oh, H5O_mesg_t *mesg)
 
H5_DLL herr_t H5O_flush_msgs (H5F_t *f, H5O_t *oh)
 
H5_DLL hid_t H5O_open_by_loc (const H5G_loc_t *obj_loc, hid_t lapl_id, hid_t dxpl_id, hbool_t app_ref)
 
H5_DLL herr_t H5O_delete_mesg (H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, H5O_mesg_t *mesg)
 
H5_DLL const H5O_obj_class_tH5O_obj_class (const H5O_loc_t *loc, hid_t dxpl_id)
 
H5_DLL int H5O_link_oh (H5F_t *f, int adjust, hid_t dxpl_id, H5O_t *oh, hbool_t *deleted)
 
H5_DLL herr_t H5O_inc_rc (H5O_t *oh)
 
H5_DLL herr_t H5O_dec_rc (H5O_t *oh)
 
H5_DLL herr_t H5O_free (H5O_t *oh)
 
H5_DLL herr_t H5O_msg_alloc (H5F_t *f, hid_t dxpl_id, H5O_t *oh, const H5O_msg_class_t *type, unsigned *mesg_flags, void *mesg, size_t *mesg_idx)
 
H5_DLL herr_t H5O_msg_append_real (H5F_t *f, hid_t dxpl_id, H5O_t *oh, const H5O_msg_class_t *type, unsigned mesg_flags, unsigned update_flags, void *mesg)
 
H5_DLL herr_t H5O_msg_write_real (H5F_t *f, hid_t dxpl_id, H5O_t *oh, const H5O_msg_class_t *type, unsigned mesg_flags, unsigned update_flags, void *mesg)
 
H5_DLL void * H5O_msg_free_real (const H5O_msg_class_t *type, void *mesg)
 
H5_DLL herr_t H5O_msg_free_mesg (H5O_mesg_t *mesg)
 
H5_DLL unsigned H5O_msg_count_real (const H5O_t *oh, const H5O_msg_class_t *type)
 
H5_DLL herr_t H5O_msg_remove_real (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, int sequence, H5O_operator_t op, void *op_data, hbool_t adj_link, hid_t dxpl_id)
 
H5_DLL void * H5O_msg_copy_file (const H5O_msg_class_t *type, H5F_t *file_src, void *mesg_src, H5F_t *file_dst, hbool_t *recompute_size, unsigned *mesg_flags, H5O_copy_t *cpy_info, void *udata, hid_t dxpl_id)
 
H5_DLL herr_t H5O_msg_iterate_real (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, const H5O_mesg_operator_t *op, void *op_data, hid_t dxpl_id)
 
H5_DLL herr_t H5O_chunk_add (H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned idx)
 
H5_DLL H5O_chunk_proxy_tH5O_chunk_protect (H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned idx)
 
H5_DLL herr_t H5O_chunk_unprotect (H5F_t *f, hid_t dxpl_id, H5O_chunk_proxy_t *chk_proxy, hbool_t chk_dirtied)
 
H5_DLL herr_t H5O_chunk_update_idx (H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned idx)
 
H5_DLL herr_t H5O_chunk_resize (H5O_t *oh, H5O_chunk_proxy_t *chk_proxy)
 
H5_DLL herr_t H5O_chunk_delete (H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned idx)
 
H5_DLL herr_t H5O_attr_bh_info (H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5_ih_info_t *bh_info)
 
H5_DLL herr_t H5O_alloc_msgs (H5O_t *oh, size_t min_alloc)
 
H5_DLL herr_t H5O_alloc (H5F_t *f, hid_t dxpl_id, H5O_t *oh, const H5O_msg_class_t *type, const void *mesg, size_t *mesg_idx)
 
H5_DLL herr_t H5O_condense_header (H5F_t *f, H5O_t *oh, hid_t dxpl_id)
 
H5_DLL herr_t H5O_release_mesg (H5F_t *f, hid_t dxpl_id, H5O_t *oh, H5O_mesg_t *mesg, hbool_t adj_link)
 
H5_DLL void * H5O_shared_decode (H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, unsigned *ioflags, const uint8_t *buf, const H5O_msg_class_t *type)
 
H5_DLL herr_t H5O_shared_encode (const H5F_t *f, uint8_t *buf, const H5O_shared_t *sh_mesg)
 
H5_DLL size_t H5O_shared_size (const H5F_t *f, const H5O_shared_t *sh_mesg)
 
H5_DLL herr_t H5O_shared_delete (H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, const H5O_msg_class_t *mesg_type, H5O_shared_t *sh_mesg)
 
H5_DLL herr_t H5O_shared_link (H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, const H5O_msg_class_t *mesg_type, H5O_shared_t *sh_mesg)
 
H5_DLL herr_t H5O_shared_copy_file (H5F_t *file_src, H5F_t *file_dst, const H5O_msg_class_t *mesg_type, const void *_native_src, void *_native_dst, hbool_t *recompute_size, unsigned *mesg_flags, H5O_copy_t *cpy_info, void *udata, hid_t dxpl_id)
 
H5_DLL herr_t H5O_shared_post_copy_file (H5F_t *f, const H5O_msg_class_t *mesg_type, const H5O_shared_t *shared_src, H5O_shared_t *shared_dst, unsigned *mesg_flags, hid_t dxpl_id, H5O_copy_t *cpy_info)
 
H5_DLL herr_t H5O_shared_debug (const H5O_shared_t *mesg, FILE *stream, int indent, int fwidth)
 
H5_DLL herr_t H5O_attr_reset (void *_mesg)
 
H5_DLL herr_t H5O_attr_delete (H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, void *_mesg)
 
H5_DLL herr_t H5O_attr_link (H5F_t *f, hid_t dxpl_id, H5O_t *open_oh, void *_mesg)
 
H5_DLL herr_t H5O_attr_count_real (H5F_t *f, hid_t dxpl_id, H5O_t *oh, hsize_t *nattrs)
 
H5_DLL H5O_loc_t * H5O_get_loc (hid_t id)
 
H5_DLL herr_t H5O_debug_real (H5F_t *f, hid_t dxpl_id, H5O_t *oh, haddr_t addr, FILE *stream, int indent, int fwidth)
 

Variables

H5_DLLVAR const H5AC_class_t H5AC_OHDR [1]
 
H5_DLLVAR const H5AC_class_t H5AC_OHDR_CHK [1]
 
H5_DLLVAR const H5O_msg_class_t *const H5O_msg_class_g [H5O_MSG_TYPES]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_NULL [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_SDSPACE [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_LINFO [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_DTYPE [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_FILL [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_FILL_NEW [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_LINK [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_EFL [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_LAYOUT [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_GINFO [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_PLINE [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_ATTR [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_NAME [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_MTIME [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_SHMESG [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_CONT [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_STAB [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_MTIME_NEW [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_BTREEK [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_DRVINFO [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_AINFO [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_REFCOUNT [1]
 
H5_DLLVAR const H5O_msg_class_t H5O_MSG_UNKNOWN [1]
 
H5_DLLVAR const H5O_obj_class_t H5O_OBJ_GROUP [1]
 
H5_DLLVAR const H5O_obj_class_t H5O_OBJ_DATASET [1]
 
H5_DLLVAR const H5O_obj_class_t H5O_OBJ_DATATYPE [1]
 

Macro Definition Documentation

◆ H5O_ALIGN_F

#define H5O_ALIGN_F (   F,
 
)    H5O_ALIGN_VERS((H5F_USE_LATEST_FORMAT(F) ? H5O_VERSION_LATEST : H5O_VERSION_1), X)

Definition at line 66 of file H5Opkg.h.

◆ H5O_ALIGN_OH

#define H5O_ALIGN_OH (   O,
 
)    H5O_ALIGN_VERS((O)->version, X)

Definition at line 64 of file H5Opkg.h.

◆ H5O_ALIGN_OLD

#define H5O_ALIGN_OLD (   X)    (8 * (((X) + 7) / 8))

Definition at line 57 of file H5Opkg.h.

◆ H5O_ALIGN_VERS

#define H5O_ALIGN_VERS (   V,
 
)
Value:
(((V) == H5O_VERSION_1) ? \
H5O_ALIGN_OLD(X) \
: \
(X) \
)
#define H5O_VERSION_1
Definition: H5Opkg.h:38

Definition at line 58 of file H5Opkg.h.

◆ H5O_CRT_ATTR_MAX_COMPACT_DEF

#define H5O_CRT_ATTR_MAX_COMPACT_DEF   8

Definition at line 79 of file H5Opkg.h.

◆ H5O_CRT_ATTR_MIN_DENSE_DEF

#define H5O_CRT_ATTR_MIN_DENSE_DEF   6

Definition at line 80 of file H5Opkg.h.

◆ H5O_CRT_OHDR_FLAGS_DEF

#define H5O_CRT_OHDR_FLAGS_DEF   H5O_HDR_STORE_TIMES

Definition at line 81 of file H5Opkg.h.

◆ H5O_DECODEIO_DIRTY

#define H5O_DECODEIO_DIRTY   0x02u /* OUT: message has been changed */

Definition at line 171 of file H5Opkg.h.

◆ H5O_DECODEIO_NOCHANGE

#define H5O_DECODEIO_NOCHANGE   0x01u /* IN: do not modify values */

Definition at line 170 of file H5Opkg.h.

◆ H5O_HDR_CHUNK0_1

#define H5O_HDR_CHUNK0_1   0x00 /* Use 1-byte value for chunk #0 size */

Definition at line 84 of file H5Opkg.h.

◆ H5O_HDR_CHUNK0_2

#define H5O_HDR_CHUNK0_2   0x01 /* Use 2-byte value for chunk #0 size */

Definition at line 85 of file H5Opkg.h.

◆ H5O_HDR_CHUNK0_4

#define H5O_HDR_CHUNK0_4   0x02 /* Use 4-byte value for chunk #0 size */

Definition at line 86 of file H5Opkg.h.

◆ H5O_HDR_CHUNK0_8

#define H5O_HDR_CHUNK0_8   0x03 /* Use 8-byte value for chunk #0 size */

Definition at line 87 of file H5Opkg.h.

◆ H5O_LOAD_NATIVE

#define H5O_LOAD_NATIVE (   F,
  DXPL,
  IOF,
  OH,
  MSG,
  ERR 
)
Value:
if(NULL == (MSG)->native) { \
const H5O_msg_class_t *msg_type = (MSG)->type; \
unsigned ioflags = (IOF); \
\
/* Decode the message */ \
HDassert(msg_type->decode); \
if(NULL == ((MSG)->native = (msg_type->decode)((F), (DXPL), (OH), (MSG)->flags, &ioflags, (MSG)->raw_size, (MSG)->raw))) \
HGOTO_ERROR(H5E_OHDR, H5E_CANTDECODE, ERR, "unable to decode message") \
\
/* Mark the message dirty if it was changed by decoding */ \
if((ioflags & H5O_DECODEIO_DIRTY) && (H5F_get_intent((F)) & H5F_ACC_RDWR)) { \
(MSG)->dirty = TRUE; \
/* Increment the count of messages dirtied by decoding, but */ \
/* only ifndef NDEBUG */ \
INCR_NDECODE_DIRTIED(OH) \
} \
\
/* Set the message's "shared info", if it's shareable */ \
if((MSG)->flags & H5O_MSG_FLAG_SHAREABLE) { \
HDassert(msg_type->share_flags & H5O_SHARE_IS_SHARABLE); \
H5O_UPDATE_SHARED((H5O_shared_t *)(MSG)->native, H5O_SHARE_TYPE_HERE, (F), msg_type->id, (MSG)->crt_idx, (OH)->chunk[0].addr) \
} /* end if */ \
\
/* Set the message's "creation index", if it has one */ \
if(msg_type->set_crt_index) { \
/* Set the creation index for the message */ \
if((msg_type->set_crt_index)((MSG)->native, (MSG)->crt_idx) < 0) \
HGOTO_ERROR(H5E_OHDR, H5E_CANTSET, ERR, "unable to set creation index") \
} /* end if */ \
} /* end if */
#define H5E_CANTDECODE
Definition: H5Epubgen.h:344
#define H5O_SHARE_IS_SHARABLE
Definition: H5Opkg.h:215
#define H5E_CANTSET
Definition: H5Epubgen.h:156
#define H5E_OHDR
Definition: H5Epubgen.h:47
#define TRUE
Definition: odldef.h:49
#define H5O_DECODEIO_DIRTY
Definition: H5Opkg.h:171
HDFFCLIBAPI intf intf intf * type
HDFFCLIBAPI intf intf * flags
#define H5F_ACC_RDWR
Definition: H5Fpublic.h:46

Definition at line 182 of file H5Opkg.h.

◆ H5O_MAX_CRT_ORDER_IDX

#define H5O_MAX_CRT_ORDER_IDX   65535 /* Max. creation order index value */

Definition at line 33 of file H5Opkg.h.

◆ H5O_MIN_SIZE

#define H5O_MIN_SIZE   22 /* Min. obj header data size (must be big enough for a message prefix and a continuation message) */

Definition at line 31 of file H5Opkg.h.

◆ H5O_MSG_TYPES

#define H5O_MSG_TYPES   25 /* # of types of messages */

Definition at line 32 of file H5Opkg.h.

◆ H5O_NCHUNKS

#define H5O_NCHUNKS   2 /*initial number of chunks */

Definition at line 30 of file H5Opkg.h.

◆ H5O_NMESGS

#define H5O_NMESGS   8 /*initial number of messages */

Definition at line 29 of file H5Opkg.h.

◆ H5O_SHARE_IN_OHDR

#define H5O_SHARE_IN_OHDR   0x02

Definition at line 216 of file H5Opkg.h.

◆ H5O_SHARE_IS_SHARABLE

#define H5O_SHARE_IS_SHARABLE   0x01

Definition at line 215 of file H5Opkg.h.

◆ H5O_SIZEOF_CHKHDR_OH

#define H5O_SIZEOF_CHKHDR_OH (   O)    H5O_SIZEOF_CHKHDR_VERS((O)->version)

Definition at line 153 of file H5Opkg.h.

◆ H5O_SIZEOF_CHKHDR_VERS

#define H5O_SIZEOF_CHKHDR_VERS (   V)
Value:
(((V) == H5O_VERSION_1) \
? \
0 + /*no magic # */ \
0 /*no checksum */ \
: \
H5_SIZEOF_MAGIC + /*magic # */ \
H5O_SIZEOF_CHKSUM /*checksum */ \
)
#define H5O_VERSION_1
Definition: H5Opkg.h:38

Definition at line 144 of file H5Opkg.h.

◆ H5O_SIZEOF_CHKSUM

#define H5O_SIZEOF_CHKSUM   4

Definition at line 70 of file H5Opkg.h.

◆ H5O_SIZEOF_CHKSUM_OH

#define H5O_SIZEOF_CHKSUM_OH (   O)    H5O_SIZEOF_CHKSUM_VERS((O)->version)

Definition at line 166 of file H5Opkg.h.

◆ H5O_SIZEOF_CHKSUM_VERS

#define H5O_SIZEOF_CHKSUM_VERS (   V)
Value:
(((V) == H5O_VERSION_1) \
? \
0 /*no checksum */ \
: \
H5O_SIZEOF_CHKSUM /*checksum */ \
)
#define H5O_VERSION_1
Definition: H5Opkg.h:38

Definition at line 159 of file H5Opkg.h.

◆ H5O_SIZEOF_HDR

#define H5O_SIZEOF_HDR (   O)
Value:
(((O)->version == H5O_VERSION_1) \
? \
H5O_ALIGN_OLD(1 + /*version number */ \
1 + /*reserved */ \
2 + /*number of messages */ \
4 + /*reference count */ \
4) /*chunk data size */ \
: \
(H5_SIZEOF_MAGIC + /*magic number */ \
1 + /*version number */ \
1 + /*flags */ \
(((O)->flags & H5O_HDR_STORE_TIMES) ? ( \
4 + /*access time */ \
4 + /*modification time */ \
4 + /*change time */ \
4 /*birth time */ \
) : 0) + \
2 + /*max compact attributes */ \
2 /*min dense attributes */ \
) : 0) + \
(1 << ((O)->flags & H5O_HDR_CHUNK0_SIZE)) + /*chunk 0 data size */ \
H5O_SIZEOF_CHKSUM) /*checksum size */ \
)
int version
Definition: jpeglib.h:901
#define H5O_HDR_CHUNK0_SIZE
Definition: H5Opublic.h:63
#define H5O_SIZEOF_CHKSUM
Definition: H5Opkg.h:70
#define H5O_HDR_ATTR_STORE_PHASE_CHANGE
Definition: H5Opublic.h:66
HDFFCLIBAPI intf intf * flags
#define H5O_VERSION_1
Definition: H5Opkg.h:38
#define H5O_HDR_STORE_TIMES
Definition: H5Opublic.h:67

Definition at line 92 of file H5Opkg.h.

◆ H5O_SIZEOF_MSGHDR_F

#define H5O_SIZEOF_MSGHDR_F (   F,
 
)    H5O_SIZEOF_MSGHDR_VERS((H5F_USE_LATEST_FORMAT(F) || H5F_STORE_MSG_CRT_IDX(F)) ? H5O_VERSION_LATEST : H5O_VERSION_1, (C))

Definition at line 138 of file H5Opkg.h.

◆ H5O_SIZEOF_MSGHDR_OH

#define H5O_SIZEOF_MSGHDR_OH (   O)    H5O_SIZEOF_MSGHDR_VERS((O)->version, (O)->flags & H5O_HDR_ATTR_CRT_ORDER_TRACKED)

Definition at line 136 of file H5Opkg.h.

◆ H5O_SIZEOF_MSGHDR_VERS

#define H5O_SIZEOF_MSGHDR_VERS (   V,
 
)
Value:
(((V) == H5O_VERSION_1) \
? \
H5O_ALIGN_OLD(2 + /*message type */ \
2 + /*sizeof message data */ \
1 + /*flags */ \
3) /*reserved */ \
: \
(1 + /*message type */ \
2 + /*sizeof message data */ \
1 + /*flags */ \
((C) ? ( \
2 /*creation index */ \
) : 0)) \
)
#define H5O_VERSION_1
Definition: H5Opkg.h:38

Definition at line 121 of file H5Opkg.h.

◆ H5O_VERSION_1

#define H5O_VERSION_1   1

Definition at line 38 of file H5Opkg.h.

◆ H5O_VERSION_2

#define H5O_VERSION_2   2

Definition at line 43 of file H5Opkg.h.

◆ H5O_VERSION_LATEST

#define H5O_VERSION_LATEST   H5O_VERSION_2

Definition at line 47 of file H5Opkg.h.

◆ INCR_NDECODE_DIRTIED

#define INCR_NDECODE_DIRTIED (   OH)    (OH)->ndecode_dirtied++;

Definition at line 175 of file H5Opkg.h.

Typedef Documentation

◆ H5O_addr_map_t

◆ H5O_cache_ud_t

◆ H5O_chk_cache_ud_t

◆ H5O_chunk_proxy_t

◆ H5O_chunk_t

typedef struct H5O_chunk_t H5O_chunk_t

◆ H5O_common_cache_ud_t

◆ H5O_cont_msgs_t

◆ H5O_obj_class_t

Function Documentation

◆ H5FL_BLK_EXTERN()

H5FL_BLK_EXTERN ( chunk_image  )

◆ H5FL_EXTERN()

H5FL_EXTERN ( H5O_t  )

◆ H5FL_SEQ_EXTERN() [1/2]

H5FL_SEQ_EXTERN ( H5O_mesg_t  )

◆ H5FL_SEQ_EXTERN() [2/2]

H5FL_SEQ_EXTERN ( H5O_chunk_t  )

◆ H5O_alloc()

H5_DLL herr_t H5O_alloc ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
const H5O_msg_class_t type,
const void *  mesg,
size_t *  mesg_idx 
)

◆ H5O_alloc_msgs()

H5_DLL herr_t H5O_alloc_msgs ( H5O_t oh,
size_t  min_alloc 
)

◆ H5O_attr_bh_info()

H5_DLL herr_t H5O_attr_bh_info ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
H5_ih_info_t bh_info 
)

◆ H5O_attr_count_real()

H5_DLL herr_t H5O_attr_count_real ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
hsize_t nattrs 
)

◆ H5O_attr_delete()

H5_DLL herr_t H5O_attr_delete ( H5F_t f,
hid_t  dxpl_id,
H5O_t open_oh,
void *  _mesg 
)

◆ H5O_attr_link()

H5_DLL herr_t H5O_attr_link ( H5F_t f,
hid_t  dxpl_id,
H5O_t open_oh,
void *  _mesg 
)

◆ H5O_attr_reset()

H5_DLL herr_t H5O_attr_reset ( void *  _mesg)

◆ H5O_chunk_add()

H5_DLL herr_t H5O_chunk_add ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
unsigned  idx 
)

◆ H5O_chunk_delete()

H5_DLL herr_t H5O_chunk_delete ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
unsigned  idx 
)

◆ H5O_chunk_protect()

H5_DLL H5O_chunk_proxy_t* H5O_chunk_protect ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
unsigned  idx 
)

◆ H5O_chunk_resize()

H5_DLL herr_t H5O_chunk_resize ( H5O_t oh,
H5O_chunk_proxy_t chk_proxy 
)

◆ H5O_chunk_unprotect()

H5_DLL herr_t H5O_chunk_unprotect ( H5F_t f,
hid_t  dxpl_id,
H5O_chunk_proxy_t chk_proxy,
hbool_t  chk_dirtied 
)

◆ H5O_chunk_update_idx()

H5_DLL herr_t H5O_chunk_update_idx ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
unsigned  idx 
)

◆ H5O_condense_header()

H5_DLL herr_t H5O_condense_header ( H5F_t f,
H5O_t oh,
hid_t  dxpl_id 
)

◆ H5O_debug_real()

H5_DLL herr_t H5O_debug_real ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
haddr_t  addr,
FILE *  stream,
int  indent,
int  fwidth 
)

◆ H5O_dec_rc()

H5_DLL herr_t H5O_dec_rc ( H5O_t oh)

◆ H5O_delete_mesg()

H5_DLL herr_t H5O_delete_mesg ( H5F_t f,
hid_t  dxpl_id,
H5O_t open_oh,
H5O_mesg_t mesg 
)

◆ H5O_flush_msgs()

H5_DLL herr_t H5O_flush_msgs ( H5F_t f,
H5O_t oh 
)

◆ H5O_free()

H5_DLL herr_t H5O_free ( H5O_t oh)

◆ H5O_get_loc()

H5_DLL H5O_loc_t* H5O_get_loc ( hid_t  id)

◆ H5O_inc_rc()

H5_DLL herr_t H5O_inc_rc ( H5O_t oh)

◆ H5O_link_oh()

H5_DLL int H5O_link_oh ( H5F_t f,
int  adjust,
hid_t  dxpl_id,
H5O_t oh,
hbool_t deleted 
)

◆ H5O_msg_alloc()

H5_DLL herr_t H5O_msg_alloc ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
const H5O_msg_class_t type,
unsigned *  mesg_flags,
void *  mesg,
size_t *  mesg_idx 
)

◆ H5O_msg_append_real()

H5_DLL herr_t H5O_msg_append_real ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
const H5O_msg_class_t type,
unsigned  mesg_flags,
unsigned  update_flags,
void *  mesg 
)

◆ H5O_msg_copy_file()

H5_DLL void* H5O_msg_copy_file ( const H5O_msg_class_t type,
H5F_t file_src,
void *  mesg_src,
H5F_t file_dst,
hbool_t recompute_size,
unsigned *  mesg_flags,
H5O_copy_t *  cpy_info,
void *  udata,
hid_t  dxpl_id 
)

◆ H5O_msg_count_real()

H5_DLL unsigned H5O_msg_count_real ( const H5O_t oh,
const H5O_msg_class_t type 
)

◆ H5O_msg_flush()

H5_DLL herr_t H5O_msg_flush ( H5F_t f,
H5O_t oh,
H5O_mesg_t mesg 
)

◆ H5O_msg_free_mesg()

H5_DLL herr_t H5O_msg_free_mesg ( H5O_mesg_t mesg)

◆ H5O_msg_free_real()

H5_DLL void* H5O_msg_free_real ( const H5O_msg_class_t type,
void *  mesg 
)

◆ H5O_msg_iterate_real()

H5_DLL herr_t H5O_msg_iterate_real ( H5F_t f,
H5O_t oh,
const H5O_msg_class_t type,
const H5O_mesg_operator_t *  op,
void *  op_data,
hid_t  dxpl_id 
)

◆ H5O_msg_remove_real()

H5_DLL herr_t H5O_msg_remove_real ( H5F_t f,
H5O_t oh,
const H5O_msg_class_t type,
int  sequence,
H5O_operator_t  op,
void *  op_data,
hbool_t  adj_link,
hid_t  dxpl_id 
)

◆ H5O_msg_write_real()

H5_DLL herr_t H5O_msg_write_real ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
const H5O_msg_class_t type,
unsigned  mesg_flags,
unsigned  update_flags,
void *  mesg 
)

◆ H5O_obj_class()

H5_DLL const H5O_obj_class_t* H5O_obj_class ( const H5O_loc_t *  loc,
hid_t  dxpl_id 
)

◆ H5O_open_by_loc()

H5_DLL hid_t H5O_open_by_loc ( const H5G_loc_t *  obj_loc,
hid_t  lapl_id,
hid_t  dxpl_id,
hbool_t  app_ref 
)

◆ H5O_release_mesg()

H5_DLL herr_t H5O_release_mesg ( H5F_t f,
hid_t  dxpl_id,
H5O_t oh,
H5O_mesg_t mesg,
hbool_t  adj_link 
)

◆ H5O_shared_copy_file()

H5_DLL herr_t H5O_shared_copy_file ( H5F_t file_src,
H5F_t file_dst,
const H5O_msg_class_t mesg_type,
const void *  _native_src,
void *  _native_dst,
hbool_t recompute_size,
unsigned *  mesg_flags,
H5O_copy_t *  cpy_info,
void *  udata,
hid_t  dxpl_id 
)

◆ H5O_shared_debug()

H5_DLL herr_t H5O_shared_debug ( const H5O_shared_t *  mesg,
FILE *  stream,
int  indent,
int  fwidth 
)

◆ H5O_shared_decode()

H5_DLL void* H5O_shared_decode ( H5F_t f,
hid_t  dxpl_id,
H5O_t open_oh,
unsigned *  ioflags,
const uint8_t *  buf,
const H5O_msg_class_t type 
)

◆ H5O_shared_delete()

H5_DLL herr_t H5O_shared_delete ( H5F_t f,
hid_t  dxpl_id,
H5O_t open_oh,
const H5O_msg_class_t mesg_type,
H5O_shared_t *  sh_mesg 
)

◆ H5O_shared_encode()

H5_DLL herr_t H5O_shared_encode ( const H5F_t f,
uint8_t *  buf,
const H5O_shared_t *  sh_mesg 
)

◆ H5O_shared_link()

H5_DLL herr_t H5O_shared_link ( H5F_t f,
hid_t  dxpl_id,
H5O_t open_oh,
const H5O_msg_class_t mesg_type,
H5O_shared_t *  sh_mesg 
)

◆ H5O_shared_post_copy_file()

H5_DLL herr_t H5O_shared_post_copy_file ( H5F_t f,
const H5O_msg_class_t mesg_type,
const H5O_shared_t *  shared_src,
H5O_shared_t *  shared_dst,
unsigned *  mesg_flags,
hid_t  dxpl_id,
H5O_copy_t *  cpy_info 
)

◆ H5O_shared_size()

H5_DLL size_t H5O_shared_size ( const H5F_t f,
const H5O_shared_t *  sh_mesg 
)

Variable Documentation

◆ H5AC_OHDR

H5_DLLVAR const H5AC_class_t H5AC_OHDR[1]

Definition at line 385 of file H5Opkg.h.

◆ H5AC_OHDR_CHK

H5_DLLVAR const H5AC_class_t H5AC_OHDR_CHK[1]

Definition at line 388 of file H5Opkg.h.

◆ H5O_MSG_AINFO

H5_DLLVAR const H5O_msg_class_t H5O_MSG_AINFO[1]

Definition at line 501 of file H5Opkg.h.

◆ H5O_MSG_ATTR

H5_DLLVAR const H5O_msg_class_t H5O_MSG_ATTR[1]

Definition at line 458 of file H5Opkg.h.

◆ H5O_MSG_BTREEK

H5_DLLVAR const H5O_msg_class_t H5O_MSG_BTREEK[1]

Definition at line 492 of file H5Opkg.h.

◆ H5O_msg_class_g

Definition at line 391 of file H5Opkg.h.

◆ H5O_MSG_CONT

H5_DLLVAR const H5O_msg_class_t H5O_MSG_CONT[1]

Definition at line 477 of file H5Opkg.h.

◆ H5O_MSG_DRVINFO

H5_DLLVAR const H5O_msg_class_t H5O_MSG_DRVINFO[1]

Definition at line 498 of file H5Opkg.h.

◆ H5O_MSG_DTYPE

H5_DLLVAR const H5O_msg_class_t H5O_MSG_DTYPE[1]

Definition at line 419 of file H5Opkg.h.

◆ H5O_MSG_EFL

Definition at line 436 of file H5Opkg.h.

◆ H5O_MSG_FILL

H5_DLLVAR const H5O_msg_class_t H5O_MSG_FILL[1]

Definition at line 422 of file H5Opkg.h.

◆ H5O_MSG_FILL_NEW

H5_DLLVAR const H5O_msg_class_t H5O_MSG_FILL_NEW[1]

Definition at line 430 of file H5Opkg.h.

◆ H5O_MSG_GINFO

H5_DLLVAR const H5O_msg_class_t H5O_MSG_GINFO[1]

Definition at line 452 of file H5Opkg.h.

◆ H5O_MSG_LAYOUT

H5_DLLVAR const H5O_msg_class_t H5O_MSG_LAYOUT[1]

Definition at line 439 of file H5Opkg.h.

◆ H5O_MSG_LINFO

H5_DLLVAR const H5O_msg_class_t H5O_MSG_LINFO[1]

Definition at line 416 of file H5Opkg.h.

◆ H5O_MSG_LINK

H5_DLLVAR const H5O_msg_class_t H5O_MSG_LINK[1]

Definition at line 433 of file H5Opkg.h.

◆ H5O_MSG_MTIME

H5_DLLVAR const H5O_msg_class_t H5O_MSG_MTIME[1]

Definition at line 468 of file H5Opkg.h.

◆ H5O_MSG_MTIME_NEW

H5_DLLVAR const H5O_msg_class_t H5O_MSG_MTIME_NEW[1]

Definition at line 486 of file H5Opkg.h.

◆ H5O_MSG_NAME

H5_DLLVAR const H5O_msg_class_t H5O_MSG_NAME[1]

Definition at line 461 of file H5Opkg.h.

◆ H5O_MSG_NULL

H5_DLLVAR const H5O_msg_class_t H5O_MSG_NULL[1]

Definition at line 410 of file H5Opkg.h.

◆ H5O_MSG_PLINE

H5_DLLVAR const H5O_msg_class_t H5O_MSG_PLINE[1]

Definition at line 455 of file H5Opkg.h.

◆ H5O_MSG_REFCOUNT

H5_DLLVAR const H5O_msg_class_t H5O_MSG_REFCOUNT[1]

Definition at line 504 of file H5Opkg.h.

◆ H5O_MSG_SDSPACE

H5_DLLVAR const H5O_msg_class_t H5O_MSG_SDSPACE[1]

Definition at line 413 of file H5Opkg.h.

◆ H5O_MSG_SHMESG

H5_DLLVAR const H5O_msg_class_t H5O_MSG_SHMESG[1]

Definition at line 474 of file H5Opkg.h.

◆ H5O_MSG_STAB

H5_DLLVAR const H5O_msg_class_t H5O_MSG_STAB[1]

Definition at line 480 of file H5Opkg.h.

◆ H5O_MSG_UNKNOWN

H5_DLLVAR const H5O_msg_class_t H5O_MSG_UNKNOWN[1]

Definition at line 507 of file H5Opkg.h.

◆ H5O_OBJ_DATASET

H5_DLLVAR const H5O_obj_class_t H5O_OBJ_DATASET[1]

Definition at line 518 of file H5Opkg.h.

◆ H5O_OBJ_DATATYPE

H5_DLLVAR const H5O_obj_class_t H5O_OBJ_DATATYPE[1]

Definition at line 521 of file H5Opkg.h.

◆ H5O_OBJ_GROUP

H5_DLLVAR const H5O_obj_class_t H5O_OBJ_GROUP[1]

Definition at line 515 of file H5Opkg.h.


MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:54