h5cpp  0.5.2
A modern C++ wrapper for the HDF5 C library
hdf5::property::VirtualDataMap Class Reference

data mapping for virtual datasets More...

#include <virtual_data_map.hpp>

Public Member Functions

 VirtualDataMap ()=default
 default constructor More...
 
 VirtualDataMap (const VirtualDataMap &)=default
 copy constructor More...
 
 VirtualDataMap (const dataspace::View &target_view, const fs::path &source_file, const hdf5::Path &source_dataset, const dataspace::View &source_view)
 constructor More...
 
void operator() (const property::DatasetCreationList &dcpl) const
 apply mapping to a dataset creation list More...
 

Detailed Description

This class describes the mapping of data between the dataspace of a virtual dataset and the source dataset.

Constructor & Destructor Documentation

◆ VirtualDataMap() [1/3]

hdf5::property::VirtualDataMap::VirtualDataMap ( )
default

Need this for STL container compliance but can rely on the compiler provided default version.

◆ VirtualDataMap() [2/3]

hdf5::property::VirtualDataMap::VirtualDataMap ( const VirtualDataMap )
default

Need this for STL container compilance but can rely on the compiler provided default version.

◆ VirtualDataMap() [3/3]

hdf5::property::VirtualDataMap::VirtualDataMap ( const dataspace::View target_view,
const fs::path &  source_file,
const hdf5::Path source_dataset,
const dataspace::View source_view 
)
Exceptions
std::runtime_errorin case of a failure
Parameters
target_viewdataspace view with the selection where to view the source data
source_filepath to the source file
source_datasetpath to the source dataset
source_viewdataspace view with selection of the source dataset

Member Function Documentation

◆ operator()()

void hdf5::property::VirtualDataMap::operator() ( const property::DatasetCreationList dcpl) const
Exceptions
std::runtime_errorin case of a failure
Parameters
dcplreference to the dataset creation list onto which the mapping should be applied

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