GSE++ library: reading and writing GSE waveforms

◆ TDAT2write()

GSE2::waveform::TDAT2write::TDAT2write ( const intT msamp,
const intT linelength 
)
inlineprotected

constructor to be called from implementation class

Standard constructor for the writing classes. It takes an output stream to write a waveform data stream to. If you want to write to a string, use string streams.

Parameters
osoutput stream to write to
msampnumber of samples to be written (may be checked with the ::hot() function)
linelengthline length for the encoded waveform data in the file

Definition at line 360 of file gsexx.h.

360  :
361  TDAT2sum(msamp), Mlinelength(linelength), Mcpos(0) { }
TDAT2sum(const intT &msamp)
only derived class should create an instance
Definition: gsexx.h:309
intT msamp() const
return total number of samples to read
Definition: gsexx.h:302
intT Mcpos
character position in line
Definition: gsexx.h:369
intT Mlinelength
linelength in output file
Definition: gsexx.h:367