chihaya
Validating delayed array operations in HDF5
Loading...
Searching...
No Matches
Public Attributes | List of all members
chihaya::Options Struct Reference

Validation options. More...

#include <utils_public.hpp>

Public Attributes

bool details_only = false
 
std::unordered_map< std::string, std::function< ArrayDetails(const H5::Group &, const ritsuko::Version &, Options &)> > array_validate_registry
 
std::unordered_map< std::string, std::function< ArrayDetails(const H5::Group &, const ritsuko::Version &, Options &)> > operation_validate_registry
 

Detailed Description

Validation options.

This is used to configure options for a single call to validate(). It can be used to override validation functions without modifying the global validation registries, e.g., for parallelized applications. The options may also mutate throughout the duration of the call, allowing callers to collect statistics across the recursive invocations of validate() on the same Options object.

Member Data Documentation

◆ array_validate_registry

std::unordered_map<std::string, std::function<ArrayDetails(const H5::Group&, const ritsuko::Version&, Options&)> > chihaya::Options::array_validate_registry

Custom registry of functions to be used by validate() on arrays. If a custom function is provided for an array type, it is used instead of the default function .

◆ details_only

bool chihaya::Options::details_only = false

Whether to skip extensive validation and just return the ArrayDetails. If this is set to true, it is assumed that the array/operation is already valid.

◆ operation_validate_registry

std::unordered_map<std::string, std::function<ArrayDetails(const H5::Group&, const ritsuko::Version&, Options&)> > chihaya::Options::operation_validate_registry

Custom registry of functions to be used by validate() on operations. If a custom function is provided for an operation type, it is used instead of the default function .


The documentation for this struct was generated from the following file: