63 _msgType = r._msgType ? strdup(r._msgType) :
nullptr;
65 _msg = r._msg ? strdup(r._msg) :
nullptr;
94 return it->second.c_str();
180 panic(
"simulation aborted");
virtual const char * what() const
sc_report(const sc_report &)
static void register_id(int id, const char *msg)
static const char * get_message(int id)
static void make_warnings_errors(bool)
const char * _processName
static bool is_suppressed(int id)
sc_report & operator=(const sc_report &)
static void suppress_id(int id, bool)
static void suppress_infos(bool)
static void suppress_warnings(bool)
#define panic(...)
This implements a cprintf based panic() function.
const std::string sc_report_compose_message(const sc_report &)
const char SC_ID_REGISTER_ID_FAILED_[]
@ SC_DEFAULT_INFO_ACTIONS
@ SC_DEFAULT_WARNING_ACTIONS
std::map< std::string, ReportMsgInfo > & reportMsgInfoMap()
std::map< int, std::string > & reportIdToMsgMap()
bool reportWarningsAsErrors
ReportSevInfo reportSevInfos[sc_core::SC_MAX_SEVERITY]
#define SC_REPORT_ERROR(msg_type, msg)