DATRW++ library: seismic data I/O with multiple formats

◆ trace() [2/2]

Datatrace& datrw::tsoft::Channeldata::trace ( const unsigned int &  i)
inline

return data trace

Definition at line 339 of file tsoftdata.h.

References DATRW_assert, and Mtraces.

340  {
341  DATRW_assert(((i<Mtraces.size()) && (i>=0)),
342  "illegal trace index");
343  return Mtraces[i];
344  }
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92
Tvodt Mtraces
data traces
Definition: tsoftdata.h:359