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

◆ checkindex()

void datrw::tsoft::Datacontainer::checkindex ( const unsigned int &  i) const
inlineprivate

check index

Definition at line 435 of file tsoftdata.h.

References DATRW_assert, and Mchannels.

Referenced by channel(), and resizetoindex().

436  {
437  DATRW_assert(((i<Mchannels.size()) && (i>=0)),
438  "illegal channel index");
439  }
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92
Tvocd Mchannels
data sequences
Definition: tsoftdata.h:443
Here is the caller graph for this function: