TS++ library: time series library
dttimeseries.h
Go to the documentation of this file.
1 
35 // include guard
36 #ifndef TSXX_DTTIMESERIES_H_VERSION
37 
38 #define TSXX_DTTIMESERIES_H_VERSION \
39  "TSXX_DTTIMESERIES_H V1.1"
40 
41 #include<tsxx/tsxx.h>
42 
43 namespace ts {
44 
45  /*----------------------------------------------------------------------*/
46  // generic version
47 
53  template<class T>
54  struct DTHeader {
55  typedef T Tvalue;
56  DTHeader(const Tvalue& sdt): dt(sdt) { }
57  DTHeader(): dt(1) { }
60  }; // DTHeader
61 
66 
67 } // namespace ts
68 
69 #endif // TSXX_DTTIMESERIES_H_VERSION (includeguard)
70 
71 /* ----- END OF dttimeseries.h ----- */
ts::TimeSeries< aff::Series< double >, DTHeader< double > > TDtimeseries
double precision version of simple time series
Definition: dttimeseries.h:63
DTHeader(const Tvalue &sdt)
Definition: dttimeseries.h:56
Structure to hold the data samples of a series together with header information to form a time series...
Definition: tsxx.h:83
All stuff in this library will be placed within namespace ts.
Definition: anyfilter.cc:43
Tvalue dt
sampling interval
Definition: dttimeseries.h:59
basic modules of time series library in C++ (prototypes)
simple header
Definition: dttimeseries.h:54
ts::TimeSeries< aff::Series< float >, DTHeader< float > > TStimeseries
single precision version of simple time series
Definition: dttimeseries.h:65