1998-02-26 03:13:49 +08:00
|
|
|
/****************************************************************************
|
|
|
|
* NCSA HDF *
|
|
|
|
* Software Development Group *
|
|
|
|
* National Center for Supercomputing Applications *
|
|
|
|
* University of Illinois at Urbana-Champaign *
|
|
|
|
* 605 E. Springfield, Champaign IL 61820 *
|
|
|
|
* *
|
|
|
|
* For conditions of distribution and use, see the accompanying *
|
|
|
|
* hdf/COPYING file. *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file contains function prototypes for each exported function in the
|
|
|
|
* H5P module.
|
|
|
|
*/
|
|
|
|
#ifndef _H5Ppublic_H
|
|
|
|
#define _H5Ppublic_H
|
|
|
|
|
|
|
|
/* Default Template for creation, access, etc. templates */
|
|
|
|
#define H5P_DEFAULT (-2)
|
|
|
|
|
|
|
|
/* Public headers needed by this file */
|
|
|
|
#include <H5public.h>
|
1998-03-18 06:46:27 +08:00
|
|
|
#include <H5Ipublic.h>
|
1998-02-26 03:13:49 +08:00
|
|
|
#include <H5Dpublic.h>
|
1998-02-27 02:05:27 +08:00
|
|
|
#include <H5Fpublic.h>
|
1998-04-18 05:29:43 +08:00
|
|
|
#include <H5Zpublic.h>
|
1998-02-26 03:13:49 +08:00
|
|
|
|
1998-10-09 01:13:14 +08:00
|
|
|
/* Property list classes */
|
1998-02-26 03:13:49 +08:00
|
|
|
typedef enum H5P_class_t {
|
|
|
|
H5P_NO_CLASS = -1, /*error return value */
|
1998-10-09 01:13:14 +08:00
|
|
|
H5P_FILE_CREATE = 0, /*file creation properties */
|
|
|
|
H5P_FILE_ACCESS = 1, /*file access properties */
|
|
|
|
H5P_DATASET_CREATE = 2, /*dataset creation properties */
|
|
|
|
H5P_DATASET_XFER = 3, /*dataset transfer properties */
|
|
|
|
H5P_MOUNT = 4, /*file mounting properties */
|
1998-02-26 03:13:49 +08:00
|
|
|
|
1998-10-09 01:13:14 +08:00
|
|
|
H5P_NCLASSES = 5 /*this must be last! */
|
1998-02-26 03:13:49 +08:00
|
|
|
} H5P_class_t;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Public functions */
|
|
|
|
hid_t H5Pcreate (H5P_class_t type);
|
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
1998-07-23 02:45:46 +08:00
|
|
|
herr_t H5Pclose (hid_t plist_id);
|
|
|
|
hid_t H5Pcopy (hid_t plist_id);
|
|
|
|
H5P_class_t H5Pget_class (hid_t plist_id);
|
|
|
|
herr_t H5Pget_version (hid_t plist_id, int *boot/*out*/, int *freelist/*out*/,
|
1998-03-31 03:24:08 +08:00
|
|
|
int *stab/*out*/, int *shhdr/*out*/);
|
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
1998-07-23 02:45:46 +08:00
|
|
|
herr_t H5Pset_userblock (hid_t plist_id, hsize_t size);
|
|
|
|
herr_t H5Pget_userblock (hid_t plist_id, hsize_t *size);
|
1998-06-10 22:43:15 +08:00
|
|
|
herr_t H5Pset_alignment (hid_t fapl_id, hsize_t threshold, hsize_t alignment);
|
|
|
|
herr_t H5Pget_alignment (hid_t fapl_id, hsize_t *threshold/*out*/,
|
|
|
|
hsize_t *alignment/*out*/);
|
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
1998-07-23 02:45:46 +08:00
|
|
|
herr_t H5Pset_sizes (hid_t plist_id, size_t sizeof_addr, size_t sizeof_size);
|
|
|
|
herr_t H5Pget_sizes (hid_t plist_id, size_t *sizeof_addr/*out*/,
|
1998-02-26 03:13:49 +08:00
|
|
|
size_t *sizeof_size/*out*/);
|
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
1998-07-23 02:45:46 +08:00
|
|
|
herr_t H5Pset_sym_k (hid_t plist_id, int ik, int lk);
|
|
|
|
herr_t H5Pget_sym_k (hid_t plist_id, int *ik/*out*/, int *lk/*out*/);
|
|
|
|
herr_t H5Pset_istore_k (hid_t plist_id, int ik);
|
|
|
|
herr_t H5Pget_istore_k (hid_t plist_id, int *ik/*out*/);
|
|
|
|
herr_t H5Pset_layout (hid_t plist_id, H5D_layout_t layout);
|
|
|
|
H5D_layout_t H5Pget_layout (hid_t plist_id);
|
|
|
|
herr_t H5Pset_chunk (hid_t plist_id, int ndims, const hsize_t dim[]);
|
|
|
|
int H5Pget_chunk (hid_t plist_id, int max_ndims, hsize_t dim[]/*out*/);
|
1998-04-09 05:43:02 +08:00
|
|
|
herr_t H5Pset_external (hid_t plist_id, const char *name, off_t offset,
|
|
|
|
hsize_t size);
|
1998-03-05 00:20:23 +08:00
|
|
|
int H5Pget_external_count (hid_t plist_id);
|
|
|
|
herr_t H5Pget_external (hid_t plist_id, int idx, size_t name_size,
|
1998-04-09 05:43:02 +08:00
|
|
|
char *name/*out*/, off_t *offset/*out*/,
|
|
|
|
hsize_t *size/*out*/);
|
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
1998-07-23 02:45:46 +08:00
|
|
|
H5F_driver_t H5Pget_driver (hid_t plist_id);
|
|
|
|
herr_t H5Pset_stdio (hid_t plist_id);
|
|
|
|
herr_t H5Pget_stdio (hid_t plist_id);
|
|
|
|
herr_t H5Pset_sec2 (hid_t plist_id);
|
|
|
|
herr_t H5Pget_sec2 (hid_t plist_id);
|
|
|
|
herr_t H5Pset_core (hid_t plist_id, size_t increment);
|
|
|
|
herr_t H5Pget_core (hid_t plist_id, size_t *increment/*out*/);
|
|
|
|
herr_t H5Pset_split (hid_t plist_id, const char *meta_ext, hid_t meta_plist_id,
|
|
|
|
const char *raw_ext, hid_t raw_plist_id);
|
|
|
|
herr_t H5Pget_split (hid_t plist_id, size_t meta_ext_size,
|
|
|
|
char *meta_ext/*out*/, hid_t *meta_properties/*out*/,
|
|
|
|
size_t raw_ext_size, char *raw_ext/*out*/,
|
|
|
|
hid_t *raw_properties/*out*/);
|
1998-02-27 02:05:27 +08:00
|
|
|
|
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
1998-07-23 02:45:46 +08:00
|
|
|
herr_t H5Pset_family (hid_t plist_id, hsize_t memb_size, hid_t memb_plist_id);
|
|
|
|
herr_t H5Pget_family (hid_t plist_id, hsize_t *memb_size/*out*/,
|
|
|
|
hid_t *memb_plist_id/*out*/);
|
1998-03-17 09:29:54 +08:00
|
|
|
herr_t H5Pset_buffer (hid_t plist_id, size_t size, void *tconv, void *bkg);
|
|
|
|
size_t H5Pget_buffer (hid_t plist_id, void **tconv/*out*/, void **bkg/*out*/);
|
1998-03-18 05:50:32 +08:00
|
|
|
herr_t H5Pset_preserve (hid_t plist_id, hbool_t status);
|
|
|
|
int H5Pget_preserve (hid_t plist_id);
|
1998-08-06 06:22:59 +08:00
|
|
|
herr_t H5Pset_filter (hid_t plist_id, H5Z_filter_t filter, unsigned int flags,
|
|
|
|
size_t cd_nelmts, const unsigned int c_values[]);
|
|
|
|
int H5Pget_nfilters(hid_t plist_id);
|
|
|
|
H5Z_filter_t H5Pget_filter(hid_t plist_id, int filter,
|
|
|
|
unsigned int *flags/*out*/,
|
|
|
|
size_t *cd_nelmts/*out*/,
|
1998-08-07 03:39:22 +08:00
|
|
|
unsigned cd_values[]/*out*/,
|
|
|
|
size_t namelen, char name[]);
|
1998-08-06 06:22:59 +08:00
|
|
|
herr_t H5Pset_deflate (hid_t plist_id, unsigned aggression);
|
1998-09-24 23:51:05 +08:00
|
|
|
herr_t H5Pset_cache (hid_t plist_id, int mdc_nelmts, int rdcc_nelmts,
|
|
|
|
size_t rdcc_nbytes, double rdcc_w0);
|
|
|
|
herr_t H5Pget_cache (hid_t plist_id, int *mdc_nelmts/*out*/,
|
|
|
|
int *rdcc_nelmts/*out*/, size_t *rdcc_nbytes/*out*/,
|
1998-05-22 23:05:53 +08:00
|
|
|
double *rdcc_w0);
|
1998-09-22 07:43:19 +08:00
|
|
|
herr_t H5Pset_hyper_cache(hid_t plist_id, unsigned cache, unsigned limit);
|
|
|
|
herr_t H5Pget_hyper_cache(hid_t plist_id, unsigned *cache, unsigned *limit);
|
1998-10-01 02:50:49 +08:00
|
|
|
herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle,
|
|
|
|
double right);
|
|
|
|
herr_t H5Pget_btree_ratios(hid_t plist_id, double *left/*out*/,
|
|
|
|
double *middle/*out*/, double *right/*out*/);
|
1998-10-02 02:56:51 +08:00
|
|
|
herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value);
|
|
|
|
herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value/*out*/);
|
1998-03-17 09:29:54 +08:00
|
|
|
|
1998-02-26 03:13:49 +08:00
|
|
|
#ifdef HAVE_PARALLEL
|
[svn-r529] Changes since 19980722
----------------------
./src/H5.c
Handle hid_t of type H5_TEMPBUF, arguments usually called tbuf_id.
Added array tracing where the array rank is stored in a simple
data space. Just use the name of the data space argument when
declaring the array argument:
herr_t
H5Sselect_hyperslab (hid_t space_id, H5S_seloper_t op,
const hssize_t start[/*space_id*/],
const hsize_t _stride[/*space_id*/],
const hsize_t count[/*space_id*/],
const hsize_t _block[/*space_id*/])
and when the program runs you'll see array values printed:
H5Sselect_hyperslab(space=218103813, op=H5S_SELECT_SET,
start=0xbfffef4c {0}, _stride=NULL,
count=0xbfffef44 {64},
_block=NULL) = SUCCEED;
Added more symbolic data types to the tracing output.
./src/H5A.c
./src/H5Apublic.h
./src/H5D.c
./src/H5Dpublic.h
./src/H5F.c
./src/H5Fpublic.h
./src/H5G.c
./src/H5Gpublic.h
./src/H5P.c
./src/H5Ppublic.h
./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Spublic.h
./src/H5Sselect.c
./src/H5Ssimp.c
./src/H5TB.c
./src/H5V.c
Changed some API argument names to be more consistent with
other API functions and to produce better tracing output.
Reformatted some long lines. Indented printf statements.
./tools/h5ls.c
Fixed warnings about unsigned vs. signed comparisons.
1998-07-23 02:45:46 +08:00
|
|
|
herr_t H5Pset_mpi (hid_t plist_id, MPI_Comm comm, MPI_Info info);
|
|
|
|
herr_t H5Pget_mpi (hid_t plist_id, MPI_Comm *comm/*out*/,
|
|
|
|
MPI_Info *info/*out*/);
|
|
|
|
herr_t H5Pset_xfer (hid_t plist_id, H5D_transfer_t data_xfer_mode);
|
|
|
|
herr_t H5Pget_xfer (hid_t plist_id, H5D_transfer_t *data_xfer_mode/*out*/);
|
1998-02-26 03:13:49 +08:00
|
|
|
#endif
|
|
|
|
|
1998-11-25 08:29:09 +08:00
|
|
|
herr_t H5Pset_gc_references(hid_t fapl_id, unsigned gc_ref);
|
|
|
|
herr_t H5Pget_gc_reference(hid_t fapl_id, unsigned *gc_ref/*out*/);
|
|
|
|
|
1998-02-26 03:13:49 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|