GSE++ library: reading and writing GSE waveforms
GSE2::waveform::TDAT2write Class Referenceabstract

Abstract base class for writing GSE2 waveform data. More...

#include "gsexx.h"

Inheritance diagram for GSE2::waveform::TDAT2write:
Collaboration diagram for GSE2::waveform::TDAT2write:

Public Member Functions

virtual ~TDAT2write ()
 provide explicit virtual destructor More...
 
std::string operator() (const intT &value)
 write another value to the stream More...
 
const TCHK2checksum () const
 return the checksum More...
 
intT nread () const
 return the number of samples read More...
 
intT msamp () const
 return total number of samples to read More...
 
bool hot () const
 return true if not all samples are processed More...
 

Static Public Attributes

static const char *const GSEID ="DAT2"
 GSE line idetifier. More...
 

Protected Member Functions

 TDAT2write (const intT &msamp, const intT &linelength)
 constructor to be called from implementation class More...
 
void add (const intT &value)
 count a sample More...
 

Protected Attributes

intT Mlinelength
 linelength in output file More...
 
intT Mcpos
 character position in line More...
 

Private Member Functions

virtual std::string convert (const intT &value)=0
 put to stream: user must define More...
 

Detailed Description

Abstract base class for writing GSE2 waveform data.

This is an abstract base class, which defines a standard interface for writing GSE2 waveform data in any subformat. A derived class for each supported subformat must be defined to make this concept useable.

See also
GSE2::waveform::TDAT2writeCM6
GSE2::waveform::TDAT2writeCM8
GSE2::waveform::TDAT2writeINT
GSE2::waveform::TDAT2read

Definition at line 351 of file gsexx.h.


The documentation for this class was generated from the following files: