mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

A utility to read in columns from a text file. More...

A utility to read in columns from a text file.

Author
Jared R. Males

Definition in file readColumns.hpp.

#include <cstring>
#include <string>
#include <fstream>
#include <format>
#include "../mxlib.hpp"
#include "stringUtils.hpp"

Go to the source code of this file.

Classes

struct  mx::ioutils::skipCol
 A dummy class to allow mx::readColumns to skip a column(s) in a file without requiring memory allocation. More...
 

Namespaces

namespace  mx
 The mxlib c++ namespace.
 

Functions

template<class delimT = readColSpaceDelim, class verboseT = verbose::vvv, typename... arrTs>
error_t mx::ioutils::readColumns (const std::string &fname, arrTs &...arrays)
 Read in columns from a text file.