Fortran SFF API to data I/O streams in C++
|
This struct ist used by fapidxx::WID2container to store WID2 line data. More...
#include <wid2container.h>
Public Member Functions | |
::sff::WID2 | get () const |
return values to WID2 More... | |
void | set (const ::sff::WID2 &wid2) |
set values from WID2 More... | |
Public Attributes | |
char | auxid [alen+1] |
Auxiliary identification code. More... | |
double | calib |
calibration factor More... | |
double | calper |
calibration reference period More... | |
char | channel [clen+1] |
FDSN channel code. More... | |
libtime::timeint | day |
date of first sample (day value) More... | |
double | dt |
sampling interval (sec) More... | |
double | hang |
horizontal orientation More... | |
libtime::timeint | hour |
time of first sample (hour) More... | |
char | ID [idlen] |
ID string. More... | |
char | instype [ilen+1] |
instrument type More... | |
libtime::timeint | micsec |
time of first sample (microsecond) More... | |
libtime::timeint | milsec |
time of first sample (millisecond) More... | |
libtime::timeint | minute |
time of first sample (minute) More... | |
libtime::timeint | month |
date of first sample (month value) More... | |
int | nsamples |
number of samples More... | |
libtime::timeint | second |
time of first sample (second) More... | |
char | station [slen+1] |
Station code. More... | |
double | vang |
veritcal orientation More... | |
libtime::timeint | year |
date of first sample (year value) More... | |
Static Public Attributes | |
static const unsigned short | alen =4 |
static const unsigned short | clen =3 |
static const char * | encodeID ="WIDY" |
ID indicating the WID2 is encoded in binary form in the WID2 line. More... | |
static const unsigned short | idlen =4 |
static const unsigned short | ilen =6 |
static const unsigned short | slen =5 |
This struct ist used by fapidxx::WID2container to store WID2 line data.
The WID2::struct member data is written in binary for (memcpy) to the WID2 line Fortran string.
The WID2struct member data comprises:
item | size | total size |
---|---|---|
ID | 4 bytes | 4 bytes |
date | 8*4 bytes | 32 bytes |
1 int | 4 bytes | 4 bytes |
5 double | 5*4 bytes | 20 bytes |
character sequences | 22 bytes | |
station | 6 bytes | |
channel | 4 bytes | |
auxid | 5 bytes | |
instype | 7 bytes | |
total | 82 bytes |
Two member functions are provided to fill data member field with WID2 data from an ::sff::WID2 struct or to pass WID2 data from this struct to an ::sff::WID2 struct:
Definition at line 106 of file wid2container.h.