TS++ library: time series library
|
Structure to hold the data samples of a series together with header information to form a time series. More...
#include <tsxx.h>
Public Types | |
Type definitions. | |
Header data and series shape can be declared invariable by application of the const qualifier. This is not the case for samples, being addressed through the series with handle semantics. | |
typedef S | Tseries |
typedef H | Theader |
typedef Tseries::Tvalue | Tvalue |
typedef TimeSeries< Tseries, Theader > | Ttimeseries |
typedef TimeSeries< typename Tseries::Tcoc, Theader > | Tconsttimeseries |
Public Member Functions | |
Constructors. | |
Conversion constructors are declared explicit, to avoid confusion, in mutual assignments of different class derived from this template. They all are a valid Tseries by definition. | |
TimeSeries () | |
TimeSeries (const Tseries &s, const Theader &h) | |
TimeSeries (const Ttimeseries &s) | |
Assignment operators. | |
Ttimeseries & | operator= (const Tseries &s) |
assign series to time series More... | |
Ttimeseries & | operator= (const Tvalue &v) |
set values of series in time series More... | |
Type conversion. | |
operator Tconsttimeseries () const | |
Public Attributes | |
Theader | header |
data header fields More... | |
Structure to hold the data samples of a series together with header information to form a time series.
Relevant information to be contained in the header:
The first two are necessary for time series processing, like filtering or application of tapers and windows. The third is relevant for keeping track of the data source. The most natural choice for the header structure appears to be an sff::WID2 header. Consequently we provide typdefs for these combinations of samples and header.
There are no hidden (private) parts of this class. Consequently it is defined to be a struct.