TSIO++ Time series input/output
fileheader.h
Go to the documentation of this file.
1
34
// include guard
35
#ifndef TSIO_FILEHEADER_H_VERSION
36
37
#define TSIO_FILEHEADER_H_VERSION \
38
"TSIO_FILEHEADER_H 2019/04/02"
39
40
#include<sffxx.h>
41
42
namespace
ts
{
43
44
namespace
sff {
45
49
class
FileHeader
{
50
public
:
51
FileHeader
():
Mhasfree
(false),
Mhassrce
(false) { }
52
void
srce
(const ::sff::SRCE& s);
53
void
free
(const ::sff::FREE& f);
54
void
append
(const ::sff::FREE& f);
55
::sff::FREE
free
()
const
{
return
Mfree
; }
56
::sff::SRCE
srce
()
const
{
return
Msrce
; }
57
bool
hasfree
()
const
{
return
Mhasfree
; }
58
bool
hassrce
()
const
{
return
Mhassrce
; }
59
private
:
60
::sff::FREE
Mfree
;
61
::sff::SRCE
Msrce
;
62
bool
Mhasfree
;
63
bool
Mhassrce
;
64
};
// struct FileHeader
65
66
}
// namespace sff
67
68
}
// namespace ts
69
70
#endif // TSIO_FILEHEADER_H_VERSION (includeguard)
71
72
/* ----- END OF fileheader.h ----- */
ts::sff::FileHeader::Mhasfree
bool Mhasfree
Definition:
fileheader.h:62
ts::sff::FileHeader::Msrce
::sff::SRCE Msrce
Definition:
fileheader.h:61
ts::sff::FileHeader::append
void append(const ::sff::FREE &f)
Definition:
fileheader.cc:58
ts::sff::FileHeader::hasfree
bool hasfree() const
Definition:
fileheader.h:57
ts::sff::FileHeader::hassrce
bool hassrce() const
Definition:
fileheader.h:58
ts
Outer namespace.
Definition:
cmdlinefiles.cc:46
ts::sff::FileHeader::FileHeader
FileHeader()
Definition:
fileheader.h:51
ts::sff::FileHeader
hold information for a complete SFF file header
Definition:
fileheader.h:49
ts::sff::FileHeader::Mfree
::sff::FREE Mfree
Definition:
fileheader.h:60
ts::sff::FileHeader::free
::sff::FREE free() const
Definition:
fileheader.h:55
ts::sff::FileHeader::Mhassrce
bool Mhassrce
Definition:
fileheader.h:63
ts::sff::FileHeader::srce
::sff::SRCE srce() const
Definition:
fileheader.h:56
fileheader.h
Generated on Mon Aug 21 2023 17:36:31 for TSIO++ Time series input/output by
1.8.14