HDF5 2.0.0.258fa78
API Reference
|
#include "H5private.h"
#include "hdf5.h"
#include "h5trav.h"
Data Structures | |
struct | obj_list_t |
struct | filter_info_t |
struct | chunk_info_t |
struct | pack_info_t |
struct | pack_opttbl_t |
struct | pack_opt_t |
struct | named_dt_t |
Macros | |
#define | H5FOPENERROR "unable to open file" |
#define | PFORMAT "%-7s %-7s %-7s\n" /* chunk info, compression info, name*/ |
#define | PFORMAT1 "%-7s %-7s %-7s" /* chunk info, compression info, name*/ |
#define | MAX_NC_NAME 256 /* max length of a name */ |
#define | MAX_VAR_DIMS 32 /* max per variable dimensions */ |
#define | FORMAT_OBJ " %-27s %s\n" /* obj type, name */ |
#define | FORMAT_OBJ_ATTR " %-27s %s\n" /* obj type, name */ |
#define | MAX_COMPACT_DSIZE 64512 /* max data size for compact layout. -1k for header size */ |
#define | FORMAT_OBJ_TIME " %-27s %e/%e %s\n" /* obj type, name */ |
#define | FORMAT_OBJ_ATTR_TIME " %-27s %e/%e %s\n" /* obj type, name */ |
#define | FORMAT_OBJ_NOTIME " %-27s %s\n" /* obj type, name */ |
#define | FORMAT_OBJ_ATTR_NOTIME " %-27s %s\n" /* obj type, name */ |
#define | FS_PAGESIZE_DEF 4096 |
#define | FS_STRATEGY_DEF H5F_FSPACE_STRATEGY_FSM_AGGR |
#define | FS_PERSIST_DEF false |
#define | FS_THRESHOLD_DEF 1 |
#define | CD_VALUES 20 |
#define | H5_REPACK_MAX_NFILTERS 6 |
Functions | |
int | h5repack (const char *infile, const char *outfile, pack_opt_t *options) |
int | h5repack_addfilter (const char *str, pack_opt_t *options) |
int | h5repack_addlayout (const char *str, pack_opt_t *options) |
int | h5repack_init (pack_opt_t *options, int verbose, bool latest) |
int | h5repack_end (pack_opt_t *options) |
int | h5repack_verify (const char *in_fname, const char *out_fname, pack_opt_t *options) |
int | h5repack_cmp_pl (const char *fname1, const char *fname2, pack_opt_t *options) |
hid_t | copy_named_datatype (hid_t type_in, hid_t fidout, named_dt_t **named_dt_head_p, trav_table_t *travt, pack_opt_t *options) |
int | named_datatype_free (named_dt_t **named_dt_head_p, int ignore_err) |
int | copy_attr (hid_t loc_in, hid_t loc_out, named_dt_t **named_dt_head_p, trav_table_t *travt, pack_opt_t *options) |
int | copy_objects (const char *fnamein, const char *fnameout, pack_opt_t *options) |
int | do_copy_refobjs (hid_t fidin, hid_t fidout, trav_table_t *travt, pack_opt_t *options) |
void | init_packobject (pack_info_t *obj) |
int | apply_filters (const char *name, int rank, const hsize_t *dims, size_t msize, hid_t dcpl_id, pack_opt_t *options, int *has_filter) |
int | options_table_init (pack_opttbl_t **tbl) |
int | options_table_free (pack_opttbl_t *table) |
int | options_add_layout (obj_list_t *obj_list, unsigned n_objs, pack_info_t *pack, pack_opttbl_t *table) |
int | options_add_filter (obj_list_t *obj_list, unsigned n_objs, filter_info_t filt, pack_opttbl_t *table) |
pack_info_t * | options_get_object (const char *path, pack_opttbl_t *table) |
obj_list_t * | parse_filter (const char *str, unsigned *n_objs, filter_info_t *filt, pack_opt_t *options, int *is_glb) |
obj_list_t * | parse_layout (const char *str, unsigned *n_objs, pack_info_t *pack, pack_opt_t *options) |
#define CD_VALUES 20 |
#define FORMAT_OBJ " %-27s %s\n" /* obj type, name */ |
#define FORMAT_OBJ_ATTR " %-27s %s\n" /* obj type, name */ |
#define FORMAT_OBJ_ATTR_NOTIME " %-27s %s\n" /* obj type, name */ |
#define FORMAT_OBJ_ATTR_TIME " %-27s %e/%e %s\n" /* obj type, name */ |
#define FORMAT_OBJ_NOTIME " %-27s %s\n" /* obj type, name */ |
#define FORMAT_OBJ_TIME " %-27s %e/%e %s\n" /* obj type, name */ |
#define FS_PAGESIZE_DEF 4096 |
#define FS_PERSIST_DEF false |
#define FS_STRATEGY_DEF H5F_FSPACE_STRATEGY_FSM_AGGR |
#define FS_THRESHOLD_DEF 1 |
#define H5_REPACK_MAX_NFILTERS 6 |
#define H5FOPENERROR "unable to open file" |
#define MAX_COMPACT_DSIZE 64512 /* max data size for compact layout. -1k for header size */ |
#define MAX_NC_NAME 256 /* max length of a name */ |
#define MAX_VAR_DIMS 32 /* max per variable dimensions */ |
#define PFORMAT "%-7s %-7s %-7s\n" /* chunk info, compression info, name*/ |
#define PFORMAT1 "%-7s %-7s %-7s" /* chunk info, compression info, name*/ |
int apply_filters | ( | const char * | name, |
int | rank, | ||
const hsize_t * | dims, | ||
size_t | msize, | ||
hid_t | dcpl_id, | ||
pack_opt_t * | options, | ||
int * | has_filter | ||
) |
int copy_attr | ( | hid_t | loc_in, |
hid_t | loc_out, | ||
named_dt_t ** | named_dt_head_p, | ||
trav_table_t * | travt, | ||
pack_opt_t * | options | ||
) |
hid_t copy_named_datatype | ( | hid_t | type_in, |
hid_t | fidout, | ||
named_dt_t ** | named_dt_head_p, | ||
trav_table_t * | travt, | ||
pack_opt_t * | options | ||
) |
int copy_objects | ( | const char * | fnamein, |
const char * | fnameout, | ||
pack_opt_t * | options | ||
) |
int do_copy_refobjs | ( | hid_t | fidin, |
hid_t | fidout, | ||
trav_table_t * | travt, | ||
pack_opt_t * | options | ||
) |
int h5repack | ( | const char * | infile, |
const char * | outfile, | ||
pack_opt_t * | options | ||
) |
int h5repack_addfilter | ( | const char * | str, |
pack_opt_t * | options | ||
) |
int h5repack_addlayout | ( | const char * | str, |
pack_opt_t * | options | ||
) |
int h5repack_cmp_pl | ( | const char * | fname1, |
const char * | fname2, | ||
pack_opt_t * | options | ||
) |
int h5repack_end | ( | pack_opt_t * | options | ) |
int h5repack_init | ( | pack_opt_t * | options, |
int | verbose, | ||
bool | latest | ||
) |
int h5repack_verify | ( | const char * | in_fname, |
const char * | out_fname, | ||
pack_opt_t * | options | ||
) |
void init_packobject | ( | pack_info_t * | obj | ) |
int named_datatype_free | ( | named_dt_t ** | named_dt_head_p, |
int | ignore_err | ||
) |
int options_add_filter | ( | obj_list_t * | obj_list, |
unsigned | n_objs, | ||
filter_info_t | filt, | ||
pack_opttbl_t * | table | ||
) |
int options_add_layout | ( | obj_list_t * | obj_list, |
unsigned | n_objs, | ||
pack_info_t * | pack, | ||
pack_opttbl_t * | table | ||
) |
pack_info_t * options_get_object | ( | const char * | path, |
pack_opttbl_t * | table | ||
) |
int options_table_free | ( | pack_opttbl_t * | table | ) |
int options_table_init | ( | pack_opttbl_t ** | tbl | ) |
obj_list_t * parse_filter | ( | const char * | str, |
unsigned * | n_objs, | ||
filter_info_t * | filt, | ||
pack_opt_t * | options, | ||
int * | is_glb | ||
) |
obj_list_t * parse_layout | ( | const char * | str, |
unsigned * | n_objs, | ||
pack_info_t * | pack, | ||
pack_opt_t * | options | ||
) |