GSE++ library: reading and writing GSE waveforms
GSE2::waveform::TDAT2writeCM6 Class Reference

Derived class for writing CM6 subformat data. More...

#include "gsexx.h"

Inheritance diagram for GSE2::waveform::TDAT2writeCM6:
Collaboration diagram for GSE2::waveform::TDAT2writeCM6:

Public Member Functions

virtual ~TDAT2writeCM6 ()
 provide explicit virtual destructor More...
 
 TDAT2writeCM6 (const intT &msamp, const intT &linelength=80)
 constructor of implementation class 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

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

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

Private Attributes

apply2nddiffT Mapplydiff
 only compression formats apply differences. More...
 

Detailed Description

Derived class for writing CM6 subformat data.

This is a class to write GSE2 waveform data in CM6 subformat.

See also
GSE2::waveform::TDAT2write
Internal details
This class uses the encoding function CM6::encode.
See also
GSE2::waveform::CM6

Definition at line 394 of file gsexx.h.


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