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

◆ writetrace() [2/3]

void datrw::obinarystream::writetrace ( const Tfseries::Tcoc &  series)
protectedvirtual

write single precision float data

Reimplemented from datrw::odatstream.

Definition at line 119 of file obinarystream.cc.

References datrw::binary::Ffloat, Mobs, datrw::binary::obinstream::write(), and writetraceheader().

120  {
121  this->writetraceheader(binary::Ffloat, series.size());
122  Mobs.write(series);
123  } // void obinarystream::writetrace(const Tfseries& series)
binary::obinstream Mobs
Definition: binary.h:148
void write(const char &v)
Definition: obinstream.cc:59
trace has float data
Definition: binary.h:83
void writetraceheader(const binary::Eflags &, const unsigned int &nsamples)
Here is the call graph for this function: