SFF++ library: reading and writing SFF from C++
srcesynref.cc
Go to the documentation of this file.
1 
34 #define TF_SRCESYNREF_CC_VERSION \
35  "TF_SRCESYNREF_CC V1.0 "
36 
37 #include <sffxx.h>
38 
39 namespace sff {
40 
42  std::string srce_reference_ID()
43  {
44  return(std::string("synthetic.reference"));
45  } // std::string srce_reference_ID()
46 
47  /*----------------------------------------------------------------------*/
48 
52  {
53  sff::SRCE result;
54  result.type=srce_reference_ID();
55  result.date=libtime::now();
56  return(result);
57  } // sff::SRCE srce_reference()
58 
59 } // namespace sff
60 
61 /* ----- END OF srcesynref.cc ----- */
all SFF modules
Definition: offset.cc:42
std::string type
Definition: sffxx.h:173
sff::SRCE srce_reference()
return synthetic time reference from nothing
Definition: srcesynref.cc:51
libtime::TAbsoluteTime date
time of source
Definition: sffxx.h:174
std::string srce_reference_ID()
return ID string for synthtic time reference
Definition: srcesynref.cc:42
SFF library (prototypes)