Public Member Functions
bbp::sonata::Hdf5PluginRead1DInterface< T > Class Template Referenceabstract

Interface for implementing readSelection<T>(dset, selection). More...

#include <hdf5_reader.h>

Public Member Functions

virtual std::vector< T > readSelection (const HighFive::DataSet &dset, const Selection &selection) const =0
 

Detailed Description

template<class T>
class bbp::sonata::Hdf5PluginRead1DInterface< T >

Interface for implementing readSelection<T>(dset, selection).

Member Function Documentation

◆ readSelection()

template<class T >
virtual std::vector<T> bbp::sonata::Hdf5PluginRead1DInterface< T >::readSelection ( const HighFive::DataSet &  dset,
const Selection selection 
) const
pure virtual

Read the selected subset of the one-dimensional array.

The selection is canonical, i.e. sorted and non-overlapping. The dataset is obtained from a HighFive::File opened via this->openFile.