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

◆ DATRW_assert_modifiers_are_recognized

#define DATRW_assert_modifiers_are_recognized (   S,
 
)
Value:
if (!S.allarechecked()) \
{ \
std::cerr << "ERROR (" << F << "):" << std::endl; \
S.notchecked(std::cerr); \
} \
DATRW_assert(S.allarechecked(), "ERROR: additional unrecognized modifiers");

abort if user passed unused modifiers

Parameters
Sinstance of type datrw::Subformat to check
Fname of function issuing the message
Examples:
libdatrwxxtests.cc.

Definition at line 76 of file formatmodifier.h.

Referenced by datrw::iasciistream::iasciistream(), datrw::imseedstream::imseedstream(), datrw::su::inputmodifiers(), datrw::itsoftstream::itsoftstream(), main(), datrw::oasciistream::oasciistream(), datrw::osffstream::osffstream(), datrw::su::outputmodifiers(), and datrw::iseifestream::settraceheader().