TSIO++ Time series input/output
sfftsfile.h
Go to the documentation of this file.
1 
38 // include guard
39 #ifndef TSIO_SFFTSFILE_H_VERSION
40 
41 #define TSIO_SFFTSFILE_H_VERSION \
42  "TF_SFFTSFILE_H 2019/04/02"
43 
44 #include<tsioxx/fileheader.h>
45 #include<tsioxx/tracevector.h>
46 #include<tfxx/rangelist.h>
47 #include<datrwxx/datread.h>
48 
49 namespace ts {
50 
51  namespace sff {
52 
65  template<class C>
66  struct File: public TraceVector<C> {
67  public:
70  typedef typename Tbase::Ttimeseries Ttimeseries;
71  typedef tfxx::RangeList<int> Trangelist;
72  void read(datrw::idatstream& is,
73  const bool& verbose=false);
74  void read(datrw::idatstream& is,
75  const Trangelist& rl,
76  const bool& verbose=false);
78  }; // struct File
79 
85  } // namespace sff
86 } // namespace ts
87 
88 #endif // TSIO_SFFTSFILE_H_VERSION (includeguard)
89 
90 /* ----- END OF sfftsfile.h ----- */
hold SFF traces with full header information
Definition: tracevector.h:51
Tbase Ttracevector
Definition: sfftsfile.h:69
hold all information contained in an SFF data file
Definition: sfftsfile.h:66
FileHeader fileheader
Definition: sfftsfile.h:77
void read(datrw::idatstream &is, const bool &verbose=false)
Read a complete file with all traces.
Definition: sfftsfileread.h:57
define ts::sff::TraceVector<C> (prototypes)
TraceVector< C > Tbase
Definition: sfftsfile.h:68
Outer namespace.
Definition: cmdlinefiles.cc:46
tfxx::RangeList< int > Trangelist
Definition: sfftsfile.h:71
hold information for a complete SFF file header
Definition: fileheader.h:49
Tbase::Ttimeseries Ttimeseries
Definition: sfftsfile.h:70
define ts::sff::FileHeader (prototypes)