Fortran SFF API to data I/O streams in C++

◆ get()

sff::WID2 fapidxx::WID2container::WID2struct::get ( ) const

return values to WID2

Definition at line 209 of file wid2container.cc.

Referenced by fapidxx::WID2container::setwid2().

210  {
211  ::sff::WID2 retval;
212  libtime::TAbsoluteTime date(this->year, this->month, this->day,
213  this->hour, this->minute, this->second,
214  this->milsec, this->micsec);
215  retval.date=date;
216  retval.station=std::string(this->station);
217  retval.channel=std::string(this->channel);
218  retval.auxid=std::string(this->auxid);
219  retval.instype=std::string(this->instype);
220  retval.dt=this->dt;
221  retval.nsamples=this->nsamples;
222  retval.hang=this->hang;
223  retval.vang=this->vang;
224  retval.calib=this->calib;
225  retval.calper=this->calper;
226  return(retval);
227  } // ::sff::WID2 WID2container::WID2struct::get() const
char channel[clen+1]
FDSN channel code.
char instype[ilen+1]
instrument type
double dt
sampling interval (sec)
double calib
calibration factor
libtime::timeint micsec
time of first sample (microsecond)
libtime::timeint month
date of first sample (month value)
libtime::timeint day
date of first sample (day value)
double vang
veritcal orientation
libtime::timeint year
date of first sample (year value)
char auxid[alen+1]
Auxiliary identification code.
int nsamples
number of samples
libtime::timeint hour
time of first sample (hour)
libtime::timeint minute
time of first sample (minute)
double calper
calibration reference period
double hang
horizontal orientation
char station[slen+1]
Station code.
libtime::timeint milsec
time of first sample (millisecond)
libtime::timeint second
time of first sample (second)
Here is the caller graph for this function: