GSE++ library: reading and writing GSE waveforms
|
Abstract base class for reading GSE2 waveform data. More...
#include "gsexx.h"
Public Member Functions | |
virtual | ~TDAT2read () |
provide explicit virtual destructor More... | |
intT | operator() (std::istream &is) |
get another value from 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 | |
TDAT2read (const intT &msamp) | |
constructor to be called from implementation class More... | |
void | add (const intT &value) |
count a sample More... | |
Private Member Functions | |
virtual intT | convert (std::istream &is)=0 |
get from stream: user must define More... | |
Abstract base class for reading GSE2 waveform data.
This is an abstract base class, which defines a standard interface for reading GSE2 waveform data in any subformat. A derived class for each supported subformat must be defined to make this concept useable.