conv/many suite: convert (m)any seismic data format(s)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const IndexEntry entry 
)

output operator to report an index entry

Definition at line 304 of file anyextract.cc.

References IndexEntry::dataformat, IndexEntry::filename, IndexEntry::itrace, and IndexEntry::wid2.

305 {
306  std::string timestring=entry.wid2.date.timestring();
307  os << timestring.substr(4,23) << " ";
308  os << entry.wid2.station << " ";
309  os << entry.wid2.channel << " ";
310  os << entry.wid2.auxid << " ";
311  os << entry.wid2.instype << " ";
312  os << entry.filename << " ";
313  os << entry.itrace << " ";
314  os << entry.dataformat << " ";
315  return(os);
316 } // report an Index Entry
std::string dataformat
Definition: anyextract.cc:247
std::string filename
Definition: anyextract.cc:243
sff::WID2 wid2
Definition: anyextract.cc:249