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

Compound datatype of the compresed VLS heap pointer. More...

#include <stdexcept>
#include <string>
#include <cstddef>
#include <limits>
#include "H5Cpp.h"
#include "sanisizer/sanisizer.hpp"
#include "../hdf5/as_numeric_datatype.hpp"
#include "../hdf5/exceeds_limit.hpp"
#include "../hdf5/get_name.hpp"
Include dependency graph for Pointer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ritsuko::cvls::Pointer< Offset_, Length_ >
 Pointer into the compressed VLS heap. More...
 

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_ >
H5::CompType ritsuko::cvls::define_pointer_datatype ()
 
void ritsuko::cvls::validate_pointer_datatype (const H5::CompType &type, const std::size_t offset_precision, const std::size_t length_precision)
 
void ritsuko::cvls::validate_pointer_datatype (const H5::DataSet &data, const std::size_t offset_precision, const std::size_t length_precision)
 
template<typename Offset_ , typename Length_ >
bool ritsuko::cvls::is_Pointer_out_of_range (const Pointer< Offset_, Length_ > &ptr, const hsize_t heap_length)
 

Detailed Description

Compound datatype of the compresed VLS heap pointer.