SFF++ library: reading and writing SFF from C++

◆ srce_reference()

sff::SRCE sff::srce_reference ( )

return synthetic time reference from nothing

Definition at line 51 of file srcesynref.cc.

References sff::SRCE::date, srce_reference_ID(), and sff::SRCE::type.

52  {
53  sff::SRCE result;
54  result.type=srce_reference_ID();
55  result.date=libtime::now();
56  return(result);
57  } // sff::SRCE srce_reference()
std::string type
Definition: sffxx.h:173
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
Here is the call graph for this function: