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

◆ clear()

void datrw::su::SUheader::clear ( )

clear header struct

Definition at line 123 of file suheader.cc.

References DATRW_debug, Mdebug, Mhasinfo, Mhassrce, Mhaswid2, and Mheader.

Referenced by setdefaults().

124  {
125  memset(static_cast<void *>(&Mheader), 0, sizeof(TraceHeaderStruct));
126  Mhaswid2=false;
127  Mhasinfo=false;
128  Mhassrce=false;
129  DATRW_debug(Mdebug, "SUheader::clear()", "cleared all fields");
130  } // void SUheader::clear()
bool Mhassrce
we received srce data
Definition: suheader.h:225
bool Mhaswid2
we received wid2 data
Definition: suheader.h:227
bool Mdebug
be verbose
Definition: suheader.h:204
#define DATRW_debug(C, N, M)
produce debug output
Definition: debug.h:50
bool Mhasinfo
we received info data
Definition: suheader.h:229
TraceHeaderStruct Mheader
the actual data fields are provided for public access
Definition: suheader.h:239
Here is the caller graph for this function: