ddn.lib.hdf5.types
HDF5 Core Binding Types
This module defines the fundamental types, constants, and enumerations used throughout the HDF5 D language bindings. These types directly correspond to their C counterparts in the HDF5 library.
License
Types 32
Type for object identifiers in HDF5.
This is the primary handle type used to reference HDF5 objects such as files, datasets, groups, attributes, datatypes, and dataspaces.
Type for error return values.
Most HDF5 functions return this type to indicate success (non-negative) or failure (negative).
Type for boolean values in HDF5.
Used by HDF5 functions that return or accept boolean parameters.
Type for sizes in HDF5.
Used for dimension sizes, dataset sizes, and other unsigned size values.
Type for signed sizes in HDF5.
Used when a size value can be negative, such as for unlimited dimensions.
Type for tri-state return values.
Used by HDF5 functions that can return true (positive), false (zero), or error (negative).
Type for signed size values.
Compatible with C's ssize_t type.
File access flags.
These flags control how HDF5 files are opened or created.
File flush scope.
Controls the scope of file flushing operations.
Datatype class identifiers.
These values identify the class of an HDF5 datatype.
Dataspace class identifiers.
These values identify the class of an HDF5 dataspace.
Selection operation types.
Used for combining selections in dataspaces.
Dataset layout types.
Controls how dataset data is stored in the file.
Identifier types.
These values identify the type of an HDF5 object by its identifier.
Type for file addresses in HDF5.
Used to represent absolute addresses within an HDF5 file. This is typically an unsigned 64-bit integer representing byte offsets.
File close degree options.
Controls behavior when closing a file with open objects.
Library version bounds.
Used to specify minimum and maximum library versions for file format features.
File memory types.
Identifies different memory categories for file space allocation.
File space handling strategies.
Controls how free space is managed within an HDF5 file.
Chunk indexing types.
Identifies the indexing method used for chunked datasets.
Virtual dataset view options.
Controls which data is visible in a virtual dataset.
Object types.
Identifies the type of an HDF5 object.
Object header information structure (version 1).
Contains metadata about an HDF5 object's header.
uint version_Version number of the object headeruint nmesgsNumber of messages in the object headeruint nchunksNumber of chunks in the object headeruint flagsHeader flagsSpace spaceSpace statisticsMesg mesgMessage statisticsSpaceSpace information for the object headerMesgMessage type countsObject information structure (version 1).
Provides comprehensive information about an HDF5 object. This is the older API structure; prefer H5O_info2_t for new code.
ulong filenoFile number that this object belongs tohaddr_t addrObject address in the fileH5O_TYPE typeType of the objectuint rcReference count of the objectlong atimeAccess time (if tracked)long mtimeModification timelong ctimeChange time (if tracked)long btimeBirth time (if tracked)hsize_t num_attrsNumber of attributes on the objectH5O_hdr_info_t hdrObject header informationMetaSize meta_sizeMetadata size statisticsMetaSizeMetadata space usage by typeObject token type.
A platform-independent identifier for objects within a file. Used in version 2 of the object info API.
ubyte[16] __dataInternal token data (16 bytes)Object native information structure (version 2).
Provides native file-format-specific information about an HDF5 object.
MetaSizeMetadata space usage by typeObject information structure (version 2).
Provides comprehensive information about an HDF5 object using tokens instead of addresses for better portability.
ulong filenoFile number that this object belongs toH5O_token_t tokenObject token (replaces address in v2 API)H5O_TYPE typeType of the objectuint rcReference count of the objectlong atimeAccess time (if tracked)long mtimeModification timelong ctimeChange time (if tracked)long btimeBirth time (if tracked)hsize_t num_attrsNumber of attributes on the objectAlias for backwards compatibility.
H5O_info_t maps to H5O_info1_t for compatibility with existing code.
Link types.
Identifies the type of an HDF5 link.
Link information structure (version 1).
Provides information about an HDF5 link. This is the older API structure; prefer H5L_info2_t for new code.
Link information structure (version 2).
Provides information about an HDF5 link using tokens instead of addresses for better portability.
Alias for backwards compatibility.
H5L_info_t maps to H5L_info1_t for compatibility with existing code.
Variables 3
H5I_INVALID_HID = - 1Invalid HDF5 identifier constant.
This value indicates an invalid or uninitialized HDF5 object identifier. Functions returning hid_t use this value to indicate failure.
H5P_DEFAULT = 0Default property list constant.
Used when default property list settings are desired for HDF5 operations.
HADDR_UNDEF = haddr_t.maxUndefined file address constant.
This value indicates an undefined or invalid file address.