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

◆ readSeqTo() [3/6]

template<typename TSeq >
void Euclid::Fits::BintableColumns::readSeqTo ( const std::vector< std::string > &  names,
TSeq &&  columns 
) const

Read a sequence of columns with given names 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));