EleFits  5.0.0
A modern C++ API on top of CFITSIO

◆ readSeqTo() [2/4]

void readSeqTo ( TColumns &...  columns) const

Read a sequence of columns into existing Columns.

Example usages:

// Heterogeneous sequence (returns a tuple)
auto columns = ext.readSeq(as<int>("A"), as<float, 2>("B"), as<std::string>("C"));
auto columns = ext.readSeq(as<int>(0), as<float, 2>(3), as<std::string>(4));
// Homogeneous sequence (returns a vector)
auto columns = ext.readSeq<int, 2>({"A", "B", "C"});
auto columns = ext.readSeq<int, 2>({0, 3, 4});
Warning
Multidimensional columns are read as vector columns as of today.