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
fn H5LT_dtype_to_text H5LT_get_attribute_disk H5LT_set_attribute_numerical H5LT_set_attribute_string H5LTdtype_to_text H5LTfind_attribute H5LTfind_dataset H5LTget_attribute H5LTget_attribute_char H5LTget_attribute_double H5LTget_attribute_float H5LTget_attribute_info H5LTget_attribute_int H5LTget_attribute_long H5LTget_attribute_long_long H5LTget_attribute_ndims H5LTget_attribute_short H5LTget_attribute_string H5LTget_attribute_uchar H5LTget_attribute_uint H5LTget_attribute_ullong H5LTget_attribute_ulong H5LTget_attribute_ushort H5LTget_dataset_info H5LTget_dataset_ndims H5LTmake_dataset H5LTmake_dataset_char H5LTmake_dataset_double H5LTmake_dataset_float H5LTmake_dataset_int H5LTmake_dataset_long H5LTmake_dataset_short H5LTmake_dataset_string H5LTopen_file_image H5LTpath_valid H5LTread_dataset H5LTread_dataset_char H5LTread_dataset_double H5LTread_dataset_float H5LTread_dataset_int H5LTread_dataset_long H5LTread_dataset_short H5LTread_dataset_string H5LTset_attribute_char H5LTset_attribute_double H5LTset_attribute_float H5LTset_attribute_int H5LTset_attribute_long H5LTset_attribute_long_long H5LTset_attribute_short H5LTset_attribute_string H5LTset_attribute_uchar H5LTset_attribute_uint H5LTset_attribute_ullong H5LTset_attribute_ulong H5LTset_attribute_ushort H5LTtext_to_dtype
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
fn
herr_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 datasetfn
herr_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 datasetfn
herr_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 datasetfn
herr_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 datasetfn
herr_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 datasetfn
herr_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 datasetfn
herr_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 datasetfn
herr_t H5LTmake_dataset_string(hid_t loc_id, const char * dset_name, const char * buf) extern(C) @nogc nothrowCreates and writes a string datasetfn
herr_t H5LTread_dataset(hid_t loc_id, const char * dset_name, hid_t type_id, void * buffer) extern(C) @nogc nothrowReads a datasetfn
herr_t H5LTread_dataset_char(hid_t loc_id, const char * dset_name, char * buffer) extern(C) @nogc nothrowReads a char datasetfn
herr_t H5LTread_dataset_short(hid_t loc_id, const char * dset_name, short * buffer) extern(C) @nogc nothrowReads a short datasetfn
herr_t H5LTread_dataset_int(hid_t loc_id, const char * dset_name, int * buffer) extern(C) @nogc nothrowReads an int datasetfn
herr_t H5LTread_dataset_long(hid_t loc_id, const char * dset_name, long * buffer) extern(C) @nogc nothrowReads a long datasetfn
herr_t H5LTread_dataset_float(hid_t loc_id, const char * dset_name, float * buffer) extern(C) @nogc nothrowReads a float datasetfn
herr_t H5LTread_dataset_double(hid_t loc_id, const char * dset_name, double * buffer) extern(C) @nogc nothrowReads a double datasetfn
herr_t H5LTread_dataset_string(hid_t loc_id, const char * dset_name, char * buf) extern(C) @nogc nothrowReads a string datasetfn
herr_t H5LTget_dataset_ndims(hid_t loc_id, const char * dset_name, int * rank) extern(C) @nogc nothrowGets dataset rankfn
herr_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 infofn
herr_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 attributefn
herr_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 attributefn
herr_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 attributefn
herr_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 attributefn
herr_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 attributefn
herr_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 attributefn
herr_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 attributefn
herr_t H5LTget_attribute_string(hid_t loc_id, const char * obj_name,
const char * attr_name, char * data) extern(C) @nogc nothrowGets a string attributefn
herr_t H5LTget_attribute_char(hid_t loc_id, const char * obj_name,
const char * attr_name, char * data) extern(C) @nogc nothrowGets a char attributefn
herr_t H5LTget_attribute_int(hid_t loc_id, const char * obj_name,
const char * attr_name, int * data) extern(C) @nogc nothrowGets an int attributefn
herr_t H5LTget_attribute_long(hid_t loc_id, const char * obj_name,
const char * attr_name, long * data) extern(C) @nogc nothrowGets a long attributefn
herr_t H5LTget_attribute_float(hid_t loc_id, const char * obj_name,
const char * attr_name, float * data) extern(C) @nogc nothrowGets a float attributefn
herr_t H5LTget_attribute_double(hid_t loc_id, const char * obj_name,
const char * attr_name, double * data) extern(C) @nogc nothrowGets a double attributefn
herr_t H5LTget_attribute_ndims(hid_t loc_id, const char * obj_name,
const char * attr_name, int * rank) extern(C) @nogc nothrowGets attribute rankfn
herr_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 infofn
herr_t H5LTdtype_to_text(hid_t dtype, char * str, H5LT_lang_t lang_type, size_t * len) extern(C) @nogc nothrowConverts datatype to textfn
hid_t H5LTtext_to_dtype(const char * text, H5LT_lang_t lang_type) extern(C) @nogc nothrowConverts text description to a datatype.fn
htri_t H5LTpath_valid(hid_t loc_id, const char * path, hbool_t check_object_valid) extern(C) @nogc nothrowChecks if a path is valid.fn
hid_t H5LTopen_file_image(void * buf_ptr, size_t buf_size, uint flags) extern(C) @nogc nothrowOpens a file image in memory.fn
herr_t H5LTfind_attribute(hid_t loc_id, const char * name) extern(C) @nogc nothrowDetermines whether an attribute exists.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.fn
herr_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.