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

◆ reportheader()

void reportheader ( const datrw::thiesdl1::FileHeader header)

Definition at line 59 of file thiesdl1test.cc.

References datrw::thiesdl1::FileHeader::creationdate, datrw::thiesdl1::FileHeader::earliestdate, datrw::thiesdl1::FileHeader::expectedfinaldataline, datrw::thiesdl1::FileHeader::expectedinitialdataline, datrw::thiesdl1::FileHeader::initialdataline, datrw::thiesdl1::FileHeader::latestdate, and datrw::thiesdl1::FileHeader::lines.

Referenced by main().

60 {
61  std::cout << "File Header contents:\n"
62  << "---------------------" << endl;
63  std::cout << " earliest: " <<
64  header.earliestdate.timestring() << std::endl;
65  std::cout << " latest: " <<
66  header.latestdate.timestring() << std::endl;
67  std::cout << " creation: " <<
68  header.creationdate.timestring() << std::endl;
69  std::cout << " expected initial: >>" <<
70  header.expectedinitialdataline << "<<" << std::endl;
71  std::cout << " expected final: >>" <<
72  header.expectedfinaldataline << "<<" << std::endl;
73  std::cout << " initial: >>" <<
74  header.initialdataline << "<<" << std::endl;
75  ::sff::verbose(cout, header.lines);
76  std::cout << "end of File Header" << endl;
77 } // void reportheader(const datrw::thiesdl1::Header& header)
libtime::TAbsoluteTime latestdate
latest date
Definition: thiesdl1file.h:102
::sff::FREE lines
A collection of header lines with hash sign stripped off.
Definition: thiesdl1file.h:92
std::string initialdataline
Initial data line.
Definition: thiesdl1file.h:98
libtime::TAbsoluteTime creationdate
creation date
Definition: thiesdl1file.h:104
std::string expectedfinaldataline
Expected final data line (as announced in header lines)
Definition: thiesdl1file.h:96
libtime::TAbsoluteTime earliestdate
earliest date
Definition: thiesdl1file.h:100
std::string expectedinitialdataline
Expected initial data line (as announced in header lines)
Definition: thiesdl1file.h:94
Here is the caller graph for this function: