ILNumerics Ultimate VS

H5AttributeClass Property

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Gets the HDF5 class of the base type used to store the elements.

[ILNumerics HDF5 Module]

Namespace:  ILNumerics.IO.HDF5
Assembly:  ILNumerics.IO.HDF5 (in ILNumerics.IO.HDF5.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public H5Class Class { get; }

Property Value

Type: H5Class
Remarks

The concepts of datatypes in HDF5 make it not too obvious if two types are 'equal' when compared. A type is identified by means of an identifier, which basically boils down to a locally unique ID for the objects in the file only. So the same datatype will often be represented by different data type ids when used in different files and/or between subsequent program starts.

The Class property therefore returns the _class_ for the element type used to store the attribute values.

The class does not allow to determine all individual settings which characterize a datatype completely. However, classes allow to compare the types of attribute elements and to find out of a certain attribute is suitable for storing values of a certain type.

Example: a H5StringAttribute will always return a Class value of STRING, regardless if the attribute elements (characters) were created with a base type of C_S1 or FORTRAN_S1 or any other predefined datattype or derivatives thereof.

[ILNumerics HDF5 Module]

See Also

Reference