ritsuko
Helper utilities for ArtifactDB C++ code
Loading...
Searching...
No Matches
validate.hpp File Reference

Helper functions to validate compressed VLS datasets. More...

#include <string>
#include <vector>
#include <stdexcept>
#include <limits>
#include <cassert>
#include "H5Cpp.h"
#include "sanisizer/sanisizer.hpp"
#include "../hdf5/get_name.hpp"
#include "../hdf5/IterateChunks.hpp"
#include "../hdf5/mock_contiguous_chunks.hpp"
#include "Pointer.hpp"
Include dependency graph for validate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ritsuko
 Helper functions for ArtifactDB parsing and validation.
 
namespace  ritsuko::cvls
 Utilities for reading and validating compressed VLS arrays.
 

Functions

template<typename Offset_ , typename Length_ >
void ritsuko::cvls::validate_scalar_pointer (const H5::DataSet &data, hsize_t heap_length)
 
template<typename Offset_ , typename Length_ >
void ritsuko::cvls::validate_1d_pointers (const H5::DataSet &data, hsize_t full_length, hsize_t heap_length)
 
template<typename Offset_ , typename Length_ >
void ritsuko::cvls::validate_nd_pointers (const H5::DataSet &data, const std::vector< hsize_t > &dimensions, hsize_t heap_length)
 
void ritsuko::cvls::validate_heap (const H5::DataSet &data)
 

Detailed Description

Helper functions to validate compressed VLS datasets.