ILNumerics Ultimate VS

H5AttributeGetT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieve attribute value as ILNumerics array.

[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 RetArray<T> Get<T>()

Type Parameters

T
The type of the elements of this attribute.

Return Value

Type: RetArrayT
Full attribute data as ILNumerics array of the specified type T.
Remarks

This function is used to retrieve the values from the attribute as ILNumerics array.

The type of the elements for the array returned is specified by the generic parameter T. Note that T does not need to match the actual type of the elements stored in the attribute. HDF5 will convert between compatible types automatically.

HDF5 attributes do not utilize partial I/O. This means, attribute values are completely retrieved from the attribute object in the HDF5 file - regardless if only a subset of the attribute value is needed by the user. However, since the value is returned as regular ILNumerics array, all subarray options for ILNumerics arrays are available on the return value.

This API corresponds to the expectation/recommendation for attribute values being rather small (compared with regular dataset content). If you are working with large data and have the need for frequent access to only a part of it, consider using HDF5 datasets instead. Their hyperslab feature may prevent from performance degradation.

[ILNumerics HDF5 Module]

See Also

Reference