TSIO++ Time series input/output
|
hold a full SFF trace and provide conversion More...
#include <sfftimeseries.h>
Public Types | |
Type definitions. | |
Base class type definitions must be repeated, because typedefs are not inherited by default. | |
typedef ts::TimeSeries< C, ts::sff::TraceHeader > | Tbase |
typedef Tbase::Tvalue | Tvalue |
typedef ts::TimeSeries< C,::sff::WID2 > | Twid2timeseries |
typedef ts::TimeSeries< C, ts::DTHeader< Tvalue > > | Tdttimeseries |
typedef Tbase::Tseries | Tseries |
typedef Tbase::Theader | Theader |
typedef Tbase::Ttimeseries | Ttimeseries |
typedef Tbase::Tconsttimeseries | Tconsttimeseries |
Public Member Functions | |
void | read (std::istream &is, const bool &verbose=false) |
read data from input stream More... | |
int | traceindex () const |
return trace index member data More... | |
void | settraceindex (int ti) |
set trace index member data More... | |
Constructors. | |
Conversion constructors are declared explicit, to avoid confusion, in mutual assignments of different class derived from template ts::TimeSeries. They all are a valid Tseries by definition. | |
SFFTimeSeries (const int &i=-1) | |
default constructor More... | |
SFFTimeSeries (const Tseries &s, const Theader &h, const int &i=-1) | |
default constructor More... | |
SFFTimeSeries (const Tbase &s, const int &i=-1) | |
default constructor More... | |
SFFTimeSeries (const SFFTimeSeries &s) | |
default constructor More... | |
Type conversion and assignment operators. | |
The member data contains everything required to define a proper Twid2timeseries or a proper Tdttimeseries. | |
operator Twid2timeseries () const | |
Convert to Twid2timeseries with sff::WID2 header. More... | |
operator Tdttimeseries () const | |
Convert to Tdttimeseries with ts::DTHeader<Tvalue> header. More... | |
SFFTimeSeries & | operator= (const Tseries &s) |
Take contents of base class. More... | |
Private Attributes | |
int | Mtraceindex |
trace index in data file More... | |
hold a full SFF trace and provide conversion
This is a ts::TimeSeries<C,ts::sff::TraceHeader> class, due to public inheritance. However, it is not just a type definition, because we provide additional member data.
Definition at line 71 of file sfftimeseries.h.