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

◆ flushfileheader()

void datrw::odatstream::flushfileheader ( )
inherited

flush file header to file

Definition at line 167 of file datwrite.cc.

References datrw::odatstream::Mfreeset, datrw::odatstream::Mheaderflushed, and datrw::odatstream::writefileheader().

Referenced by datrw::odatstream::setwid2().

168  {
169  if (!Mheaderflushed)
170  {
171  writefileheader();
172  }
173  Mheaderflushed=true;
174  /*
175  * 1.4.2011: I see no reason to clear Msrceset here. Keeping this flag
176  * provides the trace writing functions with information on the source
177  * which relates to the trace. This is of particular value for writer like
178  * osustream, which have to calculate delay times.
179  */
180  // Msrceset=false;
181  Mfreeset=false;
182  }
virtual void writefileheader()
actually write the file header
Definition: datwrite.h:164
Here is the call graph for this function:
Here is the caller graph for this function: