|
std::string | net |
|
std::string | sta |
|
std::string | loc |
|
std::string | chan |
|
size_t | foff |
|
size_t | nbytes |
|
size_t | npts |
|
double | samprate |
|
double | starttime |
|
double | endtime |
|
double | last_packet_time |
|
◆ mseed_index() [1/2]
mspass::io::mseed_index::mseed_index |
( |
| ) |
|
|
inline |
23 {
24 net = "";
25 sta = "";
26 loc = "";
27 chan = "";
28 foff = 0;
29 nbytes = 0;
30 npts = 0;
31 samprate = 0.0;
32 starttime = 0.0;
33 endtime = 0.0;
34 last_packet_time = 0.0;
35 };
◆ mseed_index() [2/2]
mspass::io::mseed_index::mseed_index |
( |
const mseed_index & |
parent | ) |
|
|
inline |
37 : net(parent.net), sta(parent.sta), loc(parent.loc), chan(parent.chan) {
38 foff = parent.foff;
39 nbytes = parent.nbytes;
40 npts = parent.npts;
41 samprate = parent.samprate;
42 starttime = parent.starttime;
43 endtime = parent.endtime;
44 last_packet_time = parent.last_packet_time;
45 };
◆ operator=()
46 {
47 if (&parent != this) {
48 net = parent.net;
49 sta = parent.sta;
50 loc = parent.loc;
51 chan = parent.chan;
52 foff = parent.foff;
53 npts = parent.npts;
54 nbytes = parent.nbytes;
55 samprate = parent.samprate;
56 starttime = parent.starttime;
57 endtime = parent.endtime;
58 last_packet_time = parent.last_packet_time;
59 }
60 return *this;
61 };
◆ operator<<
std::ostringstream & operator<< |
( |
std::ostringstream & |
ss, |
|
|
const mseed_index & |
ind |
|
) |
| |
|
friend |
6 {
7 ss << ind.net << " " << ind.sta << " ";
8 if (ind.loc.size() > 0)
9 ss << ind.loc << " ";
10 else
11 ss << "NULL ";
12 ss << ind.chan << " " << ind.foff << " " << ind.nbytes << " "
13 << std::setprecision(20) << ind.starttime << " " << ind.last_packet_time
14 << " " << ind.endtime << " " << ind.samprate << " " << ind.npts;
15 return ss;
16};
The documentation for this class was generated from the following file:
- /home/runner/work/mspass/mspass/cxx/include/mspass/io/mseed_index.h