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

◆ readSeqTo() [5/6]

template<typename TSeq >
void Euclid::Fits::BintableColumns::readSeqTo ( const std::vector< long > &  indices,
TSeq &&  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));