ddn.lib.hdf5.hl.h5lt

HDF5 High-Level Lite Interface Binding

This module provides D bindings for HDF5 Lite operations (H5LT API). The Lite API provides simplified functions for common HDF5 operations.

License

BSD-3-Clause

Types 2

enumH5LT_lang_t : int

Language type for dtype_to_text

ERR = - 1
DDL = 0
C = 1
FORTRAN = 2
NO_LANG = 3
enumH5LT_FILE_IMAGE : uint

Flags for H5LTopen_file_image().

These flags control how the file image is opened and managed.

OPEN_RW = 0x0001Open image for read-write access
DONT_COPY = 0x0002The HDF5 library won't copy user supplied image buffer
DONT_RELEASE = 0x0004The HDF5 library won't deallocate user supplied image buffer
ALL = 0x0007All flags combined

Functions 57

fnherr_t H5LTmake_dataset(hid_t loc_id, const char * dset_name, int rank, const hsize_t * dims, hid_t type_id, const void * buffer) extern(C) @nogc nothrowCreates and writes a dataset
fnherr_t H5LTmake_dataset_char(hid_t loc_id, const char * dset_name, int rank, const hsize_t * dims, const char * buffer) extern(C) @nogc nothrowCreates and writes a char dataset
fnherr_t H5LTmake_dataset_short(hid_t loc_id, const char * dset_name, int rank, const hsize_t * dims, const short * buffer) extern(C) @nogc nothrowCreates and writes a short dataset
fnherr_t H5LTmake_dataset_int(hid_t loc_id, const char * dset_name, int rank, const hsize_t * dims, const int * buffer) extern(C) @nogc nothrowCreates and writes an int dataset
fnherr_t H5LTmake_dataset_long(hid_t loc_id, const char * dset_name, int rank, const hsize_t * dims, const long * buffer) extern(C) @nogc nothrowCreates and writes a long dataset
fnherr_t H5LTmake_dataset_float(hid_t loc_id, const char * dset_name, int rank, const hsize_t * dims, const float * buffer) extern(C) @nogc nothrowCreates and writes a float dataset
fnherr_t H5LTmake_dataset_double(hid_t loc_id, const char * dset_name, int rank, const hsize_t * dims, const double * buffer) extern(C) @nogc nothrowCreates and writes a double dataset
fnherr_t H5LTmake_dataset_string(hid_t loc_id, const char * dset_name, const char * buf) extern(C) @nogc nothrowCreates and writes a string dataset
fnherr_t H5LTread_dataset(hid_t loc_id, const char * dset_name, hid_t type_id, void * buffer) extern(C) @nogc nothrowReads a dataset
fnherr_t H5LTread_dataset_char(hid_t loc_id, const char * dset_name, char * buffer) extern(C) @nogc nothrowReads a char dataset
fnherr_t H5LTread_dataset_short(hid_t loc_id, const char * dset_name, short * buffer) extern(C) @nogc nothrowReads a short dataset
fnherr_t H5LTread_dataset_int(hid_t loc_id, const char * dset_name, int * buffer) extern(C) @nogc nothrowReads an int dataset
fnherr_t H5LTread_dataset_long(hid_t loc_id, const char * dset_name, long * buffer) extern(C) @nogc nothrowReads a long dataset
fnherr_t H5LTread_dataset_float(hid_t loc_id, const char * dset_name, float * buffer) extern(C) @nogc nothrowReads a float dataset
fnherr_t H5LTread_dataset_double(hid_t loc_id, const char * dset_name, double * buffer) extern(C) @nogc nothrowReads a double dataset
fnherr_t H5LTread_dataset_string(hid_t loc_id, const char * dset_name, char * buf) extern(C) @nogc nothrowReads a string dataset
fnherr_t H5LTget_dataset_ndims(hid_t loc_id, const char * dset_name, int * rank) extern(C) @nogc nothrowGets dataset rank
fnherr_t H5LTget_dataset_info(hid_t loc_id, const char * dset_name, hsize_t * dims, H5T_CLASS * type_class, size_t * type_size) extern(C) @nogc nothrowGets dataset info
fnherr_t H5LTfind_dataset(hid_t loc_id, const char * name) extern(C) @nogc nothrowFinds a dataset
fnherr_t H5LTset_attribute_string(hid_t loc_id, const char * obj_name, const char * attr_name, const char * attr_data) extern(C) @nogc nothrowSets a string attribute
fnherr_t H5LTset_attribute_char(hid_t loc_id, const char * obj_name, const char * attr_name, const char * buffer, size_t size) extern(C) @nogc nothrowSets a char attribute
fnherr_t H5LTset_attribute_int(hid_t loc_id, const char * obj_name, const char * attr_name, const int * buffer, size_t size) extern(C) @nogc nothrowSets an int attribute
fnherr_t H5LTset_attribute_long(hid_t loc_id, const char * obj_name, const char * attr_name, const long * buffer, size_t size) extern(C) @nogc nothrowSets a long attribute
fnherr_t H5LTset_attribute_float(hid_t loc_id, const char * obj_name, const char * attr_name, const float * buffer, size_t size) extern(C) @nogc nothrowSets a float attribute
fnherr_t H5LTset_attribute_double(hid_t loc_id, const char * obj_name, const char * attr_name, const double * buffer, size_t size) extern(C) @nogc nothrowSets a double attribute
fnherr_t H5LTget_attribute(hid_t loc_id, const char * obj_name, const char * attr_name, hid_t mem_type_id, void * data) extern(C) @nogc nothrowGets an attribute
fnherr_t H5LTget_attribute_string(hid_t loc_id, const char * obj_name, const char * attr_name, char * data) extern(C) @nogc nothrowGets a string attribute
fnherr_t H5LTget_attribute_char(hid_t loc_id, const char * obj_name, const char * attr_name, char * data) extern(C) @nogc nothrowGets a char attribute
fnherr_t H5LTget_attribute_int(hid_t loc_id, const char * obj_name, const char * attr_name, int * data) extern(C) @nogc nothrowGets an int attribute
fnherr_t H5LTget_attribute_long(hid_t loc_id, const char * obj_name, const char * attr_name, long * data) extern(C) @nogc nothrowGets a long attribute
fnherr_t H5LTget_attribute_float(hid_t loc_id, const char * obj_name, const char * attr_name, float * data) extern(C) @nogc nothrowGets a float attribute
fnherr_t H5LTget_attribute_double(hid_t loc_id, const char * obj_name, const char * attr_name, double * data) extern(C) @nogc nothrowGets a double attribute
fnherr_t H5LTget_attribute_ndims(hid_t loc_id, const char * obj_name, const char * attr_name, int * rank) extern(C) @nogc nothrowGets attribute rank
fnherr_t H5LTget_attribute_info(hid_t loc_id, const char * obj_name, const char * attr_name, hsize_t * dims, H5T_CLASS * type_class, size_t * type_size) extern(C) @nogc nothrowGets attribute info
fnherr_t H5LTdtype_to_text(hid_t dtype, char * str, H5LT_lang_t lang_type, size_t * len) extern(C) @nogc nothrowConverts datatype to text
fnhid_t H5LTtext_to_dtype(const char * text, H5LT_lang_t lang_type) extern(C) @nogc nothrowConverts text description to a datatype.
fnhtri_t H5LTpath_valid(hid_t loc_id, const char * path, hbool_t check_object_valid) extern(C) @nogc nothrowChecks if a path is valid.
fnhid_t H5LTopen_file_image(void * buf_ptr, size_t buf_size, uint flags) extern(C) @nogc nothrowOpens a file image in memory.
fnherr_t H5LTfind_attribute(hid_t loc_id, const char * name) extern(C) @nogc nothrowDetermines whether an attribute exists.
fnherr_t H5LTset_attribute_short(hid_t loc_id, const char * obj_name, const char * attr_name, const short * buffer, size_t size) extern(C) @nogc nothrowSets a short attribute.
fnherr_t H5LTset_attribute_uchar(hid_t loc_id, const char * obj_name, const char * attr_name, const ubyte * buffer, size_t size) extern(C) @nogc nothrowSets an unsigned char attribute.
fnherr_t H5LTset_attribute_uint(hid_t loc_id, const char * obj_name, const char * attr_name, const uint * buffer, size_t size) extern(C) @nogc nothrowSets an unsigned int attribute.
fnherr_t H5LTset_attribute_ushort(hid_t loc_id, const char * obj_name, const char * attr_name, const ushort * buffer, size_t size) extern(C) @nogc nothrowSets an unsigned short attribute.
fnherr_t H5LTset_attribute_ulong(hid_t loc_id, const char * obj_name, const char * attr_name, const ulong * buffer, size_t size) extern(C) @nogc nothrowSets an unsigned long attribute.
fnherr_t H5LTset_attribute_long_long(hid_t loc_id, const char * obj_name, const char * attr_name, const long * buffer, size_t size) extern(C) @nogc nothrowSets a long long attribute.
fnherr_t H5LTset_attribute_ullong(hid_t loc_id, const char * obj_name, const char * attr_name, const ulong * buffer, size_t size) extern(C) @nogc nothrowSets an unsigned long long attribute.
fnherr_t H5LTget_attribute_short(hid_t loc_id, const char * obj_name, const char * attr_name, short * data) extern(C) @nogc nothrowGets a short attribute.
fnherr_t H5LTget_attribute_uchar(hid_t loc_id, const char * obj_name, const char * attr_name, ubyte * data) extern(C) @nogc nothrowGets an unsigned char attribute.
fnherr_t H5LTget_attribute_uint(hid_t loc_id, const char * obj_name, const char * attr_name, uint * data) extern(C) @nogc nothrowGets an unsigned int attribute.
fnherr_t H5LTget_attribute_ushort(hid_t loc_id, const char * obj_name, const char * attr_name, ushort * data) extern(C) @nogc nothrowGets an unsigned short attribute.
fnherr_t H5LTget_attribute_ulong(hid_t loc_id, const char * obj_name, const char * attr_name, ulong * data) extern(C) @nogc nothrowGets an unsigned long attribute.
fnherr_t H5LTget_attribute_long_long(hid_t loc_id, const char * obj_name, const char * attr_name, long * data) extern(C) @nogc nothrowGets a long long attribute.
fnherr_t H5LTget_attribute_ullong(hid_t loc_id, const char * obj_name, const char * attr_name, ulong * data) extern(C) @nogc nothrowGets an unsigned long long attribute.
fnherr_t H5LT_dtype_to_text(hid_t dtype, char * str, H5LT_lang_t lang_type, size_t * len) extern(C) @nogc nothrowConverts a datatype to a text description.
fnherr_t H5LT_get_attribute_disk(hid_t loc_id, const char * obj_name, const char * attr_name, void * data) extern(C) @nogc nothrowGets an attribute from disk.
fnherr_t H5LT_set_attribute_numerical(hid_t loc_id, const char * obj_name, const char * attr_name, size_t size, hid_t type_id, const void * data) extern(C) @nogc nothrowSets a numerical attribute.
fnherr_t H5LT_set_attribute_string(hid_t loc_id, const char * obj_name, const char * attr_name, const char * data) extern(C) @nogc nothrowSets a string attribute.