grain.hdf5

HDF5 bindings

This file is part of HDF5. The full HDF5 copyright notice, including * terms governing use, modification, and redistribution, is contained in * the files COPYING and Copyright.html. COPYING can be found at the root * of the source code distribution tree; Copyright.html can be found at the * root level of an installed copy of the electronic HDF5 document set and * is linked from the top-level documents page. It can also be found at * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have * access to either file, you may request a copy from help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Ported to D by Laeeth Isharc 2014 Borrowed heavily in terms of C API declarations from https://github.com/SFrijters/hdf5-d Stefan Frijters bindings for D

Bindings probably not yet complete or bug-free.

Consider this not even alpha stage. It probably isn't so far away from being useful though. This is written for Linux and will need modification to work on other platforms.

Modified by Shigeki Karita 2018

Members

Aliases

herr_t
alias herr_t = int
hid_t
alias hid_t = long

NOTE: changed from int to int64_t at 1.10.0

hsize_t
alias hsize_t = ulong
hssize_t
alias hssize_t = long

Functions

H5Dclose
herr_t H5Dclose(hid_t dset_id)
H5Dcreate2
hid_t H5Dcreate2(hid_t loc_id, const char* name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id)
H5Dopen2
hid_t H5Dopen2(hid_t file_id, const char* name, hid_t dapl_id)
H5Dread
herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t plist_id, void* buf)
H5Dwrite
herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t plist_id, const void* buf)
H5Fclose
herr_t H5Fclose(hid_t file_id)
H5Fcreate
hid_t H5Fcreate(const char* filename, uint flags, hid_t create_plist, hid_t access_plist)
H5Fopen
hid_t H5Fopen(const char* filename, uint flags, hid_t access_plist)
H5Sclose
herr_t H5Sclose(hid_t space_id)
H5Screate_simple
hid_t H5Screate_simple(int rank, const hsize_t* dims, const hsize_t* maxdims)

Manifest constants

H5S_ALL
enum H5S_ALL;

Define atomic datatypes

H5S_MAX_RANK
enum H5S_MAX_RANK;

Define user-level maximum number of dimensions

H5S_UNLIMITED
enum H5S_UNLIMITED;

Meta