libtime++: Date and time calculation

◆ string_read()

void libtime::TBaseClassTime::string_read ( const std::string &  timestring)
protectedinherited

Definition at line 47 of file base_constr.cc.

References EXIT_SUCCESS, libtime::TBaseClassTime::Mtime_Ts, time_read(), and libtime::TBaseClassTime::timestring().

Referenced by libtime::TBaseClassTime::char_read(), libtime::TAbsoluteTime::operator=(), operator=(), and libtime::TBaseClassTime::TBaseClassTime().

48 {
50  timestring.c_str())
51  !=EXIT_SUCCESS)
52  {
53  std::cerr << "TBaseClassTime could not initialize time structure "
54  << "from string:\n" << timestring << "\n";
55  std::abort();
56  }
57 }
time_kernel::time_Ts Mtime_Ts
Definition: libtime++.h:140
std::string timestring() const
Definition: libtime++.h:267
#define EXIT_SUCCESS
Definition: libtime.h:86
int time_read(time_Ts *Date, const char *String)
Definition: ctime_read.c:37
Here is the call graph for this function:
Here is the caller graph for this function: