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

◆ dump() [1/15]

void datrw::mseed::SEED::dump ( const ControlHeader s,
std::ostream &  os 
)

Definition at line 68 of file seedstructdump.cc.

References datrw::mseed::SEED::ControlHeader::cont, datrw::mseed::SEED::util::print_field_name(), datrw::mseed::SEED::ControlHeader::seqno, and datrw::mseed::SEED::ControlHeader::type.

Referenced by dump(), dump_aflags(), dump_ioflags(), dump_qflags(), and main().

69  {
70  os << "Control Header:" << std::endl;
71  util::print_field_name("sequence no", os);
72  os << std::string(s.seqno, 6);
73  os << std::endl;
74  util::print_field_name("type", os);
75  os << s.type;
76  os << std::endl;
77  util::print_field_name("cont", os);
78  os << s.cont;
79  os << std::endl;
80  } // void dump(const ControlHeader& s, std::ostream& os)
void print_field_name(const char *f, std::ostream &os)
Here is the call graph for this function:
Here is the caller graph for this function: