44 #include "config_hdf.h"
53 using std::ostringstream;
60 hcerr::hcerr(
const char *msg,
const char *file,
int line)
64 strm << get_error_message() << endl
65 <<
"Location: \"" << file <<
"\", line " << line << endl;
66 for (
int i = 0; i < 5; ++i)
67 strm << i <<
") " << HEstring((hdf_err_code_t) HEvalue(i)) << endl;
68 (*BESLog::TheLog()) << strm.str() << endl ;