49 std::getline(is, this->
Mline);
50 if (
Mline.length() != 45) {
throw NoHeaderException(); }
51 if (verbose) { std::cout <<
Mline << std::endl; }
52 std::string secstring=
Mline.substr(17,2);
54 std::string timestring;
55 const std::string sep(
"/");
56 timestring=
Mline.substr(6,4)+sep+
Mline.substr(0,2)+sep+
58 if (verbose) { std::cout << timestring << std::endl; }
59 Mtime=libtime::TAbsoluteTime(timestring);
60 if (verbose) { std::cout <<
Mtime.timestring() << std::endl; }
61 std::string timezone=
Mline.substr(23,3);
62 if (verbose) { std::cout << timezone << std::endl; }
64 "unexpected time code string!");
65 std::string errorcode=
Mline.substr(34,1);
66 if (verbose) { std::cout << errorcode << std::endl; }
68 if (verbose) { std::cout <<
Merrorflag << std::endl; }
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.