DATRW++ library: seismic data I/O with multiple formats
|
std::string datrw::ascii::anonymous_namespace{iasciistream.cc}::readsamples | ( | std::istream & | is, |
const unsigned int & | n, | ||
const std::string & | firstline, | ||
typename aff::Series< T > & | series, | ||
const bool & | nonfatal | ||
) |
read a sequence of samples
Read a sequence of samples being regarded as a contiguous trace.
T | type of sample value (double, float, int) |
is | input stream to read from |
n | expected number of samples |
firstline | first line from input, which is already read |
series | container to write samples to |
nonfatal | errors are made nonfatal if true |
Definition at line 318 of file iasciistream.cc.
References DATRW_nonfatal_assert, datrw::mseed::key::nonfatal, and datrw::hpmo::nsamples.
Referenced by readany().