DATRW++ library: seismic data I/O with multiple formats

◆ dump() [9/15]

void datrw::mseed::SEED::dump ( const datrw::mseed::SEED::QualityFlags f,
std::ostream &  os 
)

Definition at line 224 of file seedstructdump.cc.

References datrw::mseed::SEED::QualityFlags::ampsat, datrw::mseed::SEED::QualityFlags::charging, datrw::mseed::SEED::QualityFlags::clip, datrw::mseed::SEED::QualityFlags::glitch, datrw::mseed::SEED::QualityFlags::miss, datrw::mseed::SEED::QualityFlags::spike, datrw::mseed::SEED::QualityFlags::telsynch, and datrw::mseed::SEED::QualityFlags::time.

225  {
226  os << "Quality Flags:" << std::endl;
227  if (f.ampsat)
228  { os << " amplifier saturation detected" << std::endl; }
229  if (f.clip) { os << " digitizer clipping detected" << std::endl; }
230  if (f.spike) { os << " spike detected" << std::endl; }
231  if (f.glitch) { os << " glitches detected" << std::endl; }
232  if (f.miss)
233  { os << " missing/padded data present" << std::endl; }
234  if (f.telsynch)
235  { os << " telemetry synchronization error" << std::endl; }
236  if (f.charging)
237  { os << " a digital filter may be charging" << std::endl; }
238  if (f.time) { os << " time tag is questionable" << std::endl; }
239  } // void dump(const QualityFlags& s, std::ostream& os)
bool ampsat
amplifier saturation detected
Definition: seedstructs.h:278
bool time
time tag is questionable
Definition: seedstructs.h:285
bool telsynch
telemetry synchronization error
Definition: seedstructs.h:283
bool spike
spikes detected
Definition: seedstructs.h:280
bool clip
digitizer clipping detected
Definition: seedstructs.h:279
bool glitch
glitches detected
Definition: seedstructs.h:281
bool miss
missing/padded data present
Definition: seedstructs.h:282
bool charging
a digital filter may be charging
Definition: seedstructs.h:284