GSE++ library: reading and writing GSE waveforms

◆ convert()

intT GSE2::waveform::TDAT2readCM6::convert ( std::istream &  is)
privatevirtual

get from stream: user must define

Implementation class specific get function. The function reads a character sequence from the input stream, takes it converted integer value (second difference value), removes the second differences, and returns it.

Returns
integer value (not difference value) read from stream.

Implements GSE2::waveform::TDAT2read.

Definition at line 266 of file gsexx_TDAT2.cc.

References GSE2::waveform::CM6::decode(), and Mremovediff.

267 {
268  // it's simple :-)
269  return(Mremovediff(CM6::decode(is)));
270 }
remove2nddiffT Mremovediff
only compression formats apply differences.
Definition: gsexx.h:388
intT decode(std::istream &is)
CM6 subformat decoding function.
Definition: gsexx_cm6.cc:191
Here is the call graph for this function: