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

◆ trace() [1/2]

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

return data trace

Definition at line 332 of file tsoftdata.h.

References DATRW_assert, and Mtraces.

Referenced by flushcollector(), main(), and datrw::tsoft::readfile().

333  {
334  DATRW_assert(((i<Mtraces.size()) && (i>=0)),
335  "illegal trace index");
336  return Mtraces[i];
337  }
#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
Here is the caller graph for this function: