sc_core::sc_report Class Reference

#include <sysc/utils/sc_report.h>

Inheritance diagram for sc_core::sc_report:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_report:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_report (const sc_report &)
sc_reportoperator= (const sc_report &)
virtual ~sc_report () throw ()
const char * get_msg_type () const
const char * get_msg () const
sc_severity get_severity () const
const char * get_file_name () const
int get_line_number () const
const sc_timeget_time () const
const char * get_process_name () const
int get_verbosity () const
bool valid () const
virtual const char * what () const throw ()
void swap (sc_report &)
int get_id () const

Static Public Member Functions

static const char * get_message (int id)
static bool is_suppressed (int id)
static void make_warnings_errors (bool)
static void register_id (int id, const char *msg)
static void suppress_id (int id, bool)
static void suppress_infos (bool)
static void suppress_warnings (bool)

Protected Member Functions

 sc_report (sc_severity, const sc_msg_def *, const char *msg, const char *file, int line, int verbosity_level=SC_MEDIUM)

Protected Attributes

sc_severity severity
const sc_msg_defmd
char * msg
char * file
int line
sc_timetimestamp
sc_objectprocess
int m_verbosity_level
char * m_what

Friends

class sc_report_handler
sc_reportsc_handle_exception ()

Detailed Description

Definition at line 102 of file sc_report.h.


Constructor & Destructor Documentation

sc_core::sc_report::sc_report ( const sc_report  ) 
virtual sc_core::sc_report::~sc_report (  )  throw () [virtual]
sc_core::sc_report::sc_report ( sc_severity  ,
const sc_msg_def ,
const char *  msg,
const char *  file,
int  line,
int  verbosity_level = SC_MEDIUM 
) [protected]

Member Function Documentation

const char* sc_core::sc_report::get_file_name (  )  const [inline]

Definition at line 125 of file sc_report.h.

int sc_core::sc_report::get_id (  )  const
int sc_core::sc_report::get_line_number (  )  const [inline]

Definition at line 128 of file sc_report.h.

static const char* sc_core::sc_report::get_message ( int  id  )  [static]
const char* sc_core::sc_report::get_msg (  )  const [inline]

Definition at line 119 of file sc_report.h.

const char* sc_core::sc_report::get_msg_type (  )  const
const char* sc_core::sc_report::get_process_name (  )  const
sc_severity sc_core::sc_report::get_severity (  )  const [inline]

Definition at line 122 of file sc_report.h.

const sc_time& sc_core::sc_report::get_time (  )  const [inline]

Definition at line 131 of file sc_report.h.

int sc_core::sc_report::get_verbosity (  )  const [inline]

Definition at line 136 of file sc_report.h.

static bool sc_core::sc_report::is_suppressed ( int  id  )  [static]
static void sc_core::sc_report::make_warnings_errors ( bool   )  [static]
sc_report& sc_core::sc_report::operator= ( const sc_report  ) 
static void sc_core::sc_report::register_id ( int  id,
const char *  msg 
) [static]
static void sc_core::sc_report::suppress_id ( int  id,
bool   
) [static]
static void sc_core::sc_report::suppress_infos ( bool   )  [static]
static void sc_core::sc_report::suppress_warnings ( bool   )  [static]
void sc_core::sc_report::swap ( sc_report  ) 
bool sc_core::sc_report::valid (  )  const [inline]

Definition at line 138 of file sc_report.h.

virtual const char* sc_core::sc_report::what (  )  const throw () [inline, virtual]

Definition at line 143 of file sc_report.h.


Friends And Related Function Documentation

sc_report* sc_handle_exception (  )  [friend]
friend class sc_report_handler [friend]

Definition at line 104 of file sc_report.h.


Member Data Documentation

char* sc_core::sc_report::file [protected]

Definition at line 162 of file sc_report.h.

int sc_core::sc_report::line [protected]

Definition at line 163 of file sc_report.h.

Definition at line 166 of file sc_report.h.

char* sc_core::sc_report::m_what [protected]

Definition at line 167 of file sc_report.h.

const sc_msg_def* sc_core::sc_report::md [protected]

Definition at line 160 of file sc_report.h.

char* sc_core::sc_report::msg [protected]

Definition at line 161 of file sc_report.h.

Definition at line 165 of file sc_report.h.

Definition at line 159 of file sc_report.h.

Definition at line 164 of file sc_report.h.


The documentation for this class was generated from the following file:

Generated on 31 Jul 2017 for SystemC by  doxygen 1.6.1