|
chihaya
Validating delayed array operations in HDF5
|
Namespace for all chihaya functions. More...
Namespaces | |
| namespace | binary_arithmetic |
| Namespace for delayed binary arithmetic operations. | |
| namespace | binary_comparison |
| Namespace for delayed binary comparisons. | |
| namespace | binary_logic |
| Namespace for delayed binary logical operations. | |
| namespace | combine |
| Namespace for delayed combining operations. | |
| namespace | constant_array |
| Namespace for constant arrays. | |
| namespace | custom_array |
| Namespace for custom third-party arrays. | |
| namespace | dense_array |
| Namespace for dense arrays. | |
| namespace | external_hdf5 |
| Namespace for external HDF5 arrays. | |
| namespace | matrix_product |
| Namespace for delayed matrix products. | |
| namespace | sparse_matrix |
| Namespace for sparse matrices. | |
| namespace | subset |
| Namespace for delayed subsets. | |
| namespace | subset_assignment |
| Namespace for delayed subset assignment. | |
| namespace | transpose |
| Namespace for delayed transposition. | |
| namespace | unary_arithmetic |
| Namespace for delayed unary arithmetic operations. | |
| namespace | unary_comparison |
| Namespace for delayed unary comparisons. | |
| namespace | unary_logic |
| Namespace for delayed unary logic operations. | |
| namespace | unary_math |
| Namespace for delayed unary math. | |
| namespace | unary_special_check |
| Namespace for delayed unary special checks. | |
Classes | |
| struct | ArrayDetails |
| Details about an array. More... | |
| struct | Options |
| Validation options. More... | |
Enumerations | |
| enum | ArrayType { BOOLEAN = 0 , INTEGER = 1 , FLOAT = 2 , STRING = 3 } |
Functions | |
| ArrayDetails | validate (const H5::Group &handle, const ritsuko::Version &version, Options &options) |
| ritsuko::Version | extract_version (const H5::Group &handle) |
| ArrayDetails | validate (const H5::Group &handle, Options &options) |
| ArrayDetails | validate (const std::string &path, const std::string &name, Options &options) |
| ArrayDetails | validate (const std::string &path, const std::string &name) |
Namespace for all chihaya functions.
| enum chihaya::ArrayType |
Type of the array. Operations involving mixed types will generally result in promotion to the more advanced types, e.g., an INTEGER and FLOAT addition will result in promotion to FLOAT. Note that operations involving the same types are not guaranteed to preserve type, e.g., INTEGER division is assumed to produce a FLOAT.
|
inline |
The version is taken from the delayed_version attribute of the handle. This should be a version string of the form <MAJOR>.<MINOR>. For back-compatibility purposes, the string "1.0.0" is also allowed, corresponding to version 1.0; and if delayed_version is missing, it defaults to 0.99.
| handle | Open handle to a HDF5 group corresponding to a delayed operation or array. |
|
inline |
For operations, this function will first search options.custom_operation_validate_registry for an available validation function. For arrays, this function will first search options.custom_array_validate_registry for an available validation function.
| handle | Open handle to a HDF5 group corresponding to a delayed operation or array. |
| version | Version of the chihaya specification. |
| options | Validation options, possibly containing custom validation functions. |
handle (and its children) have been applied.
|
inline |
Validate a delayed operation/array at the specified HDF5 group,
| handle | Open handle to a HDF5 group corresponding to a delayed operation or array. |
| options | Validation options, see validate() for details. |
handle (and its children) have been applied.
|
inline |
Validate a delayed operation/array at the specified HDF5 group. This simply calls the validate() overload for a H5::Group.
| path | Path to a HDF5 file. |
| name | Name of the group inside the file. |
|
inline |
Validate a delayed operation/array at the specified HDF5 group. This simply calls the validate() overload for a H5::Group.
| path | Path to a HDF5 file. |
| name | Name of the group inside the file. |
| options | Validation options, see validate() for details. |