1#ifndef CHIHAYA_DIMNAMES_HPP
2#define CHIHAYA_DIMNAMES_HPP
5#include "ritsuko/ritsuko.hpp"
6#include "ritsuko/hdf5/hdf5.hpp"
8#include "utils_list.hpp"
28inline ArrayDetails validate(
const H5::Group& handle,
const ritsuko::Version& version,
Options& options) {
29 ArrayDetails seed_details = internal_misc::load_seed_details(handle,
"seed", version, options);
30 if (!handle.exists(
"dimnames")) {
31 throw std::runtime_error(
"expected a 'dimnames' group");
35 internal_dimnames::validate(handle, seed_details.
dimensions, version);
Namespace for all chihaya functions.
Definition: binary_arithmetic.hpp:22
Details about an array.
Definition: utils_public.hpp:36
std::vector< size_t > dimensions
Definition: utils_public.hpp:56
Validation options.
Definition: utils_public.hpp:66
bool details_only
Definition: utils_public.hpp:71
Various public utilities.