40 #ifndef TF_STRUCTGAPANALYSIS_H_VERSION 42 #define TF_STRUCTGAPANALYSIS_H_VERSION \ 43 "TF_STRUCTGAPANALYSIS_H V1.1" 45 #include <tfxx/stringfunc.h> 46 #include <libtime++.h> 55 libtime::TRelativeTime
dt;
77 +
":"+tfxx::string::trimws(c.
station)
78 +
":"+tfxx::string::trimws(c.
auxid)),
82 {
return((this->
ID == other.
ID) && (this->dt == other.
dt)); }
84 {
return(!this->
operator==(other)); }
86 libtime::TRelativeTime
dt;
104 libtime::TRelativeTime retval(0);
111 unsigned int retval=0;
125 const libtime::TAbsoluteTime& latest,
126 const libtime::TRelativeTime& indt)
143 libtime::TRelativeTime
dt;
152 const libtime::TAbsoluteTime& earliest,
153 const libtime::TAbsoluteTime& latest)
184 #endif // TF_STRUCTGAPANALYSIS_H_VERSION (includeguard)
libtime::TRelativeTime dt
std::ostream & operator<<(std::ostream &os, const Gapid &id)
print stream ID
bool operator!=(const Gapid &other) const
libtime::TRelativeTime tspan
time span of analysis
unsigned int ngaps
total number of gaps
Gapsummary(const libtime::TAbsoluteTime &earliest, const libtime::TAbsoluteTime &latest, const libtime::TRelativeTime &indt)
libtime::TRelativeTime dt
sampling interval
Gapsofstream(const Gapid &id, const libtime::TAbsoluteTime &earliest, const libtime::TAbsoluteTime &latest)
Gapsummary summarize() const
provide a summary for this stream
struct to hold gaps of one stream
std::string station() const
std::vector< Gap > Tvecofgap
unsigned int nbreaks
total number of breaks
libtime::TAbsoluteTime first
libtime::TAbsoluteTime first
struct to present a summary
Indicate a contiguous set of data.
libtime::TAbsoluteTime Mlatest
bool operator==(const Gapid &other) const
unsigned int nmissing
number of missing samples
std::string channel() const
Gapid(const Contiguous &c)
std::string auxid() const
libtime::TAbsoluteTime last
std::list< Contiguous > TContiguouslist
A list to store information on all sequences of contiguous data.
libtime::TRelativeTime dt
libtime::TAbsoluteTime Mearliest
std::vector< Gapsofstream > Tvecofgaps
vector to hold all gaps
unsigned int nmissing() const
unsigned int nexpected
number of expected samples
libtime::TRelativeTime tmissing
time span not covered with samples
libtime::TAbsoluteTime last
libtime::TRelativeTime tmissing() const