![]() |
HDF5 1.14.6
API Reference
|
#include <src/H5FDdevelop.h>
Class information for each file driver
Data Fields | |
| unsigned | version |
| H5FD_class_value_t | value |
| const char * | name |
| haddr_t | maxaddr |
| H5F_close_degree_t | fc_degree |
| herr_t(* | terminate )(void) |
| hsize_t(* | sb_size )(H5FD_t *file) |
| herr_t(* | sb_encode )(H5FD_t *file, char *name, unsigned char *p) |
| herr_t(* | sb_decode )(H5FD_t *f, const char *name, const unsigned char *p) |
| size_t | fapl_size |
| void *(* | fapl_get )(H5FD_t *file) |
| void *(* | fapl_copy )(const void *fapl) |
| herr_t(* | fapl_free )(void *fapl) |
| size_t | dxpl_size |
| void *(* | dxpl_copy )(const void *dxpl) |
| herr_t(* | dxpl_free )(void *dxpl) |
| H5FD_t *(* | open )(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) |
| herr_t(* | close )(H5FD_t *file) |
| int(* | cmp )(const H5FD_t *f1, const H5FD_t *f2) |
| herr_t(* | query )(const H5FD_t *f1, unsigned long *flags) |
| herr_t(* | get_type_map )(const H5FD_t *file, H5FD_mem_t *type_map) |
| haddr_t(* | alloc )(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size) |
| herr_t(* | free )(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size) |
| haddr_t(* | get_eoa )(const H5FD_t *file, H5FD_mem_t type) |
| herr_t(* | set_eoa )(H5FD_t *file, H5FD_mem_t type, haddr_t addr) |
| haddr_t(* | get_eof )(const H5FD_t *file, H5FD_mem_t type) |
| herr_t(* | get_handle )(H5FD_t *file, hid_t fapl, void **file_handle) |
| herr_t(* | read )(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) |
| herr_t(* | write )(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) |
| herr_t(* | read_vector )(H5FD_t *file, hid_t dxpl, uint32_t count, H5FD_mem_t types[], haddr_t addrs[], size_t sizes[], void *bufs[]) |
| herr_t(* | write_vector )(H5FD_t *file, hid_t dxpl, uint32_t count, H5FD_mem_t types[], haddr_t addrs[], size_t sizes[], const void *bufs[]) |
| herr_t(* | read_selection )(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, size_t count, hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[]) |
| herr_t(* | write_selection )(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, size_t count, hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[]) |
| herr_t(* | flush )(H5FD_t *file, hid_t dxpl_id, hbool_t closing) |
| herr_t(* | truncate )(H5FD_t *file, hid_t dxpl_id, hbool_t closing) |
| herr_t(* | lock )(H5FD_t *file, hbool_t rw) |
| herr_t(* | unlock )(H5FD_t *file) |
| herr_t(* | del )(const char *name, hid_t fapl) |
| herr_t(* | ctl )(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output) |
| H5FD_mem_t | fl_map [H5FD_MEM_NTYPES] |
| haddr_t(* alloc) (H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size) |
Allocates file memory
Performs a CTL operation
| void *(* dxpl_copy) (const void *dxpl) |
Copies the transfer property list
| herr_t(* dxpl_free) (void *dxpl) |
Frees the transfer property list
| size_t dxpl_size |
Size of the transfer property list
| void *(* fapl_copy) (const void *fapl) |
Copies the file access property list
| herr_t(* fapl_free) (void *fapl) |
Frees the driver-specific file access property list
| void *(* fapl_get) (H5FD_t *file) |
Returns the file access property list
| size_t fapl_size |
Size of driver-specific file access properties
| H5F_close_degree_t fc_degree |
File close behavior degree
| H5FD_mem_t fl_map[H5FD_MEM_NTYPES] |
Free-list map
Frees the resources for this driver
| haddr_t(* get_eoa) (const H5FD_t *file, H5FD_mem_t type) |
Gets the address of first byte past the addressed space
| haddr_t(* get_eof) (const H5FD_t *file, H5FD_mem_t type) |
Gets the address of first byte past the file-end
Returns the file handle of this file driver
| herr_t(* get_type_map) (const H5FD_t *file, H5FD_mem_t *type_map) |
Retrieves the memory type mapping for this file
| haddr_t maxaddr |
Maximum address for file
| const char* name |
File driver name, must be unique
Create or open an HDF5 file of this driver
Sets the flags that this driver is capable of supporting
| herr_t(* read) (H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) |
Reads the specified number of bytes of data from the file beginning at the specified address into the provided buffer, according to the specified data transfer properties
| herr_t(* read_selection) (H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, size_t count, hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[]) |
| herr_t(* read_vector) (H5FD_t *file, hid_t dxpl, uint32_t count, H5FD_mem_t types[], haddr_t addrs[], size_t sizes[], void *bufs[]) |
Reads the specified length of data from the file into the provided array
Decodes the superblock information for this driver
Encodes driver information from the superblock
Gets the size of the private information to be stored in the superblock
| herr_t(* set_eoa) (H5FD_t *file, H5FD_mem_t type, haddr_t addr) |
Sets the end-of-address marker for the file
| herr_t(* terminate) (void) |
Shutdowns this driver
| H5FD_class_value_t value |
File driver identifier
| unsigned version |
File driver class struct version number
| herr_t(* write) (H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) |
Writes the specified number of bytes of data to the file beginning at the specified address from the provided buffer, according to the specified data transfer properties
| herr_t(* write_selection) (H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, size_t count, hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[]) |
| herr_t(* write_vector) (H5FD_t *file, hid_t dxpl, uint32_t count, H5FD_mem_t types[], haddr_t addrs[], size_t sizes[], const void *bufs[]) |
Writes the specified length of data in the provided array to the file at the specified offsets