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

Public Member Functions

virtual std::vector< std::array< uint64_t, 2 > > readSelection (const HighFive::DataSet &dset, const Selection &xsel, const Selection &ysel) const =0
 

Member Function Documentation

◆ readSelection()

template<class T >
virtual std::vector<std::array<uint64_t, 2> > bbp::sonata::Hdf5PluginRead2DInterface< T >::readSelection ( const HighFive::DataSet &  dset,
const Selection xsel,
const Selection ysel 
) const
pure virtual

Read the Cartesian product of the two selections.

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