|
| #define | H5_ITER_CONT (0) |
| |
| #define | H5_ITER_ERROR (-1) |
| |
| #define | H5_ITER_STOP (1) |
| |
| #define | H5_LIKELY(expression) |
| |
| #define | H5_NO_EXPAND(x) |
| |
| #define | H5_PRINTF_HADDR_FMT "%" PRIuHADDR |
| |
| #define | H5_SIZEOF_HADDR_T 8 |
| |
| #define | H5_SIZEOF_HSIZE_T 8 |
| |
| #define | H5_SIZEOF_HSSIZE_T 8 |
| |
| #define | H5_UNLIKELY(expression) |
| |
| #define | H5_VERS_INFO "HDF5 library version: " H5_VERS_STR |
| |
| #define | H5_VERS_MAJOR 2 |
| |
| #define | H5_VERS_MINOR 1 |
| |
| #define | H5_VERS_RELEASE 0 |
| |
| #define | H5_VERS_STR H5_VERS_STR_CONCAT(H5_VERS_MAJOR, H5_VERS_MINOR, H5_VERS_RELEASE, H5_VERS_SUBRELEASE) |
| |
| #define | H5_VERS_STR_CONCAT(major, minor, release, sub) |
| |
| #define | H5_VERS_STR_HELPER(major, minor, release) |
| |
| #define | H5_VERS_SUBRELEASE "-9af6db1" |
| |
| #define | H5_VERSION_GE(Maj, Min, Rel) |
| | Determines whether the version of the library being used is greater than or equal to the specified version.
|
| |
| #define | H5_VERSION_LE(Maj, Min, Rel) |
| | Determines whether the version of the library being used is less than or equal to the specified version.
|
| |
| #define | H5check() |
| |
| #define | H5O_MAX_TOKEN_SIZE (16) |
| |
| #define | H5OPEN (H5_UNLIKELY(!H5_libinit_g && !H5_libterm_g) ? H5open() : 0), |
| |
| #define | HADDR_AS_MPI_TYPE MPI_UINT64_T |
| |
| #define | HADDR_MAX (HADDR_UNDEF - 1) |
| |
| #define | HADDR_UNDEF UINT64_MAX |
| |
| #define | HDF5_DRIVER "HDF5_DRIVER" |
| |
| #define | HDF5_DRIVER_CONFIG "HDF5_DRIVER_CONFIG" |
| |
| #define | HDF5_NOCLEANUP "HDF5_NOCLEANUP" |
| |
| #define | HDF5_PLUGIN_PATH "HDF5_PLUGIN_PATH" |
| |
| #define | HDF5_PLUGIN_PRELOAD "HDF5_PLUGIN_PRELOAD" |
| |
| #define | HDF5_PREFER_WINDOWS_CODE_PAGE "HDF5_PREFER_WINDOWS_CODE_PAGE" |
| |
| #define | HDF5_USE_FILE_LOCKING "HDF5_USE_FILE_LOCKING" |
| |
| #define | HDF5_VOL_CONNECTOR "HDF5_VOL_CONNECTOR" |
| |
| #define | HSIZE_AS_MPI_TYPE MPI_UINT64_T |
| |
| #define | HSIZE_UNDEF UINT64_MAX |
| |
| #define | MPICH_SKIP_MPICXX 1 |
| |
| #define | OMPI_SKIP_MPICXX 1 |
| |
| #define | PRIdHADDR PRId64 |
| |
| #define | PRIdHSIZE PRId64 |
| |
| #define | PRIiHSIZE PRIi64 |
| |
| #define | PRIoHADDR PRIo64 |
| |
| #define | PRIoHSIZE PRIo64 |
| |
| #define | PRIuHADDR PRIu64 |
| |
| #define | PRIuHSIZE PRIu64 |
| |
| #define | PRIXHADDR PRIX64 |
| |
| #define | PRIxHADDR PRIx64 |
| |
| #define | PRIXHSIZE PRIX64 |
| |
| #define | PRIxHSIZE PRIx64 |
| |
|
| void * | H5allocate_memory (size_t size, bool clear) |
| | Allocates memory that will be freed later internally.
|
| |
| herr_t | H5atclose (H5_atclose_func_t func, void *ctx) |
| | Registers a callback for the library to invoke when it's closing.
|
| |
| herr_t | H5check_version (unsigned majnum, unsigned minnum, unsigned relnum) |
| | Verifies that HDF5 library versions are consistent.
|
| |
| herr_t | H5close (void) |
| | Flushes all data to disk, closes all open objects, and releases memory.
|
| |
| herr_t | H5dont_atexit (void) |
| | Instructs library not to install atexit() cleanup routine.
|
| |
| herr_t | H5free_memory (void *mem) |
| | Frees memory allocated by the HDF5 library.
|
| |
| herr_t | H5garbage_collect (void) |
| | Garbage collects on all free-lists of all types.
|
| |
| herr_t | H5get_free_list_sizes (size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size) |
| | Gets the current size of the free lists used to manage memory.
|
| |
| herr_t | H5get_libversion (unsigned *majnum, unsigned *minnum, unsigned *relnum) |
| | Returns the HDF library release number.
|
| |
| herr_t | H5is_library_terminating (bool *is_terminating) |
| | Checks whether the HDF5 library is closing.
|
| |
| herr_t | H5is_library_threadsafe (bool *is_ts) |
| | Determines whether the HDF5 library was built with the thread-safety feature enabled.
|
| |
| herr_t | H5open (void) |
| | Initializes the HDF5 library.
|
| |
| void * | H5resize_memory (void *mem, size_t size) |
| | Resizes and, if required, re-allocates memory that will later be freed internally by the HDF5 library.
|
| |
| herr_t | H5set_free_list_limits (int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim) |
| | Sets free-list size limits.
|
| |
| #define H5_VERS_STR_HELPER |
( |
| major, |
|
|
| minor, |
|
|
| release ) |
Value:#major "." #minor "." #release
Short version string - automatically derived from H5_VERS_MAJOR/MINOR/RELEASE/SUBRELEASE
This macro uses C preprocessor string concatenation. The H5_VERS_MAJOR, H5_VERS_MINOR, and H5_VERS_RELEASE values are stringified and concatenated with dots, then concatenated with H5_VERS_SUBRELEASE (which must already be a string literal).
| #define H5_VERSION_GE |
( |
| Maj, |
|
|
| Min, |
|
|
| Rel ) |
Value:
#define H5_VERS_MAJOR
Definition H5public.h:64
#define H5_VERS_MINOR
Definition H5public.h:68
#define H5_VERS_RELEASE
Definition H5public.h:72
Determines whether the version of the library being used is greater than or equal to the specified version.
- Parameters
-
| [in] | Maj | Major version number - A non-negative integer value |
| [in] | Min | Minor version number - A non-negative integer value |
| [in] | Rel | Release version number - A non-negative integer value |
- Returns
- A value of 1 is returned if the library version is greater than or equal to the version number specified.
A value of 0 is returned if the library version is less than the version number specified.
A library version is greater than the specified version number if its major version is larger than the specified major version number. If the major version numbers are the same, it is greater than the specified version number if its minor version is larger than the specified minor version number. If the minor version numbers are the same, then a library version would be greater than the specified version number if its release number is larger than the specified release number.
The H5_VERSION_GE and H5_VERSION_LE macros are used at compile time to conditionally include or exclude code based on the version of the HDF5 library against which an application will be linked.
The H5_VERSION_GE macro compares the version of the HDF5 library being used against the version number specified in the parameters.
For more information about release versioning, see HDF5 Library Release Version Numbers.
- Since
- 1.8.7
| #define H5_VERSION_LE |
( |
| Maj, |
|
|
| Min, |
|
|
| Rel ) |
Value:
Determines whether the version of the library being used is less than or equal to the specified version.
- Parameters
-
| [in] | Maj | Major version number - A non-negative integer value |
| [in] | Min | Minor version number - A non-negative integer value |
| [in] | Rel | Release version number - A non-negative integer value |
- Returns
- A value of 1 is returned if the library version is less than or equal to the version number specified.
A value of 0 is returned if the library version is greater than the version number specified.
A library version is less than the specified version number if its major version is smaller than the specified major version number. If the major version numbers are the same, it is smaller than the specified version number if its minor version is smaller than the specified minor version number. If the minor version numbers are the same, then a library version would be smaller than the specified version number if its release number is smaller than the specified release number.
The H5_VERSION_GE and H5_VERSION_LE macros are used at compile time to conditionally include or exclude code based on the version of the HDF5 library against which an application will be linked.
The H5_VERSION_LE macro compares the version of the HDF5 library being used against the version number specified in the parameters.
For more information about release versioning, see HDF5 Library Release Version Numbers.
- Since
- 1.8.7