|
GSE++ library: reading and writing GSE waveforms
|
Abstract base class for writing GSE2 waveform data. More...
#include "gsexx.h"


Public Member Functions | |
| virtual | ~TDAT2write () |
| provide explicit virtual destructor More... | |
| std::string | operator() (const intT &value) |
| write another value to the stream More... | |
| const TCHK2 & | checksum () 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... | |
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.