EleFits  4.0.0
A modern C++ API on top of CFitsIO

◆ readSeqTo() [6/6]

template<typename... Ts>
void Euclid::Fits::BintableColumns::readSeqTo ( const std::vector< long > &  indices,
Column< Ts > &...  columns 
) const

Read a sequence of columns with given indices into existing Columns.

Example usage:

auto columns = ext.readSeq(Named<int>("A"), Named<float>("B"), Named<std::string>("C"));
auto columns = ext.read(Indexed<int>(0), Indexed<float>(3), Indexed<std::string>(4));