DATRW++ library: seismic data I/O with multiple formats
seedstructdump.h
Go to the documentation of this file.
1 /*! \file seedstructdump.h
2  * \brief dump SEED structs in human readable form (prototypes)
3  *
4  * ----------------------------------------------------------------------------
5  *
6  * \author Thomas Forbriger
7  * \date 15/03/2006
8  *
9  * dump SEED structs in human readable form (prototypes)
10  *
11  * ----
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25  * ----
26  *
27  * Copyright (c) 2006 by Thomas Forbriger (BFO Schiltach)
28  *
29  * REVISIONS and CHANGES
30  * - 15/03/2006 V1.0 Thomas Forbriger
31  * - 09/05/2006 V1.1 support generic Steim Frame
32  *
33  * ============================================================================
34  */
35 
36 // include guard
37 #ifndef DATRW_SEEDSTRUCTDUMP_H_VERSION
38 
39 #define DATRW_SEEDSTRUCTDUMP_H_VERSION \
40  "DATRW_SEEDSTRUCTDUMP_H V1.1"
41 
42 #include<iostream>
43 #include<datrwxx/seedstructs.h>
44 
45 namespace datrw {
46 
47  namespace mseed {
48 
49  namespace SEED {
50 
51  void dump(const ControlHeader& s, std::ostream& os);
52  void dump(const BlocketteHeader& s, std::ostream& os);
53  void dump(const BTIME& s, std::ostream& os);
54  void dump(const DataExtensionBlockette& s, std::ostream& os);
55  void dump(const DataOnlySEEDBlockette& s, std::ostream& os);
56  void dump(const DataRecordBlocketteHeader& s, std::ostream& os);
57  void dump(const FixedDataRecordHeader& s, std::ostream& os);
58  void dump(const ActivityFlags& s, std::ostream& os);
59  void dump(const QualityFlags& s, std::ostream& os);
60  void dump(const IOFlags& s, std::ostream& os);
61  void dump_aflags(const unsigned char& s, std::ostream& os);
62  void dump_qflags(const unsigned char& s, std::ostream& os);
63  void dump_ioflags(const unsigned char& s, std::ostream& os);
64  void dump(const EEncodingFormat& e, std::ostream& os);
65  void dump(const EByteOrder& e, std::ostream& os);
66  void dump(SteimFrame& f, std::ostream& os);
67  void dump(Steim1Frame f, std::ostream& os);
68  void dump(Steim2Frame f, std::ostream& os);
69 
70  } // namespace SEED
71 
72  } // namespace mseed
73 
74 } // namespace datrw
75 
76 #endif // DATRW_SEEDSTRUCTDUMP_H_VERSION (includeguard)
77 
78 /* ----- END OF seedstructdump.h ----- */
void dump_aflags(const unsigned char &s, std::ostream &os)
void dump_ioflags(const unsigned char &s, std::ostream &os)
Root namespace of library.
Definition: aalibdatrwxx.cc:16
void dump_qflags(const unsigned char &s, std::ostream &os)
void dump(const ControlHeader &s, std::ostream &os)