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 ()
 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
bool valid () const
virtual const char * what () const throw ()
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)

Protected Attributes

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

Friends

class sc_report_handler


Detailed Description

Definition at line 104 of file sc_report.h.


Constructor & Destructor Documentation

sc_core::sc_report::sc_report (  ) 

Definition at line 94 of file sc_report.cpp.

sc_core::sc_report::sc_report ( const sc_report other  ) 

Definition at line 122 of file sc_report.cpp.

sc_core::sc_report::~sc_report (  )  throw () [virtual]

Definition at line 156 of file sc_report.cpp.

sc_core::sc_report::sc_report ( sc_severity  severity_,
const sc_msg_def md_,
const char *  msg,
const char *  file,
int  line 
) [protected]

Definition at line 106 of file sc_report.cpp.


Member Function Documentation

sc_report & sc_core::sc_report::operator= ( const sc_report other  ) 

Definition at line 134 of file sc_report.cpp.

const char * sc_core::sc_report::get_msg_type (  )  const

Definition at line 167 of file sc_report.cpp.

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

Definition at line 118 of file sc_report.h.

sc_severity sc_core::sc_report::get_severity (  )  const [inline]

Definition at line 121 of file sc_report.h.

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

Definition at line 124 of file sc_report.h.

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

Definition at line 127 of file sc_report.h.

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

Definition at line 130 of file sc_report.h.

const char * sc_core::sc_report::get_process_name (  )  const

Definition at line 132 of file sc_report_handler.cpp.

bool sc_core::sc_report::valid (  )  const [inline]

Definition at line 135 of file sc_report.h.

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

Definition at line 140 of file sc_report.h.

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

Definition at line 241 of file sc_report.cpp.

bool sc_core::sc_report::is_suppressed ( int  id  )  [static]

Definition at line 249 of file sc_report.cpp.

void sc_core::sc_report::make_warnings_errors ( bool  flag  )  [static]

Definition at line 280 of file sc_report.cpp.

void sc_core::sc_report::register_id ( int  id,
const char *  msg 
) [static]

Definition at line 210 of file sc_report.cpp.

void sc_core::sc_report::suppress_id ( int  id,
bool  suppress 
) [static]

Definition at line 257 of file sc_report.cpp.

void sc_core::sc_report::suppress_infos ( bool  suppress  )  [static]

Definition at line 266 of file sc_report.cpp.

void sc_core::sc_report::suppress_warnings ( bool  suppress  )  [static]

Definition at line 273 of file sc_report.cpp.

int sc_core::sc_report::get_id (  )  const

Definition at line 286 of file sc_report.cpp.


Friends And Related Function Documentation

friend class sc_report_handler [friend]

Definition at line 147 of file sc_report.h.


Member Data Documentation

Definition at line 158 of file sc_report.h.

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

Definition at line 159 of file sc_report.h.

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

Definition at line 160 of file sc_report.h.

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

Definition at line 161 of file sc_report.h.

int sc_core::sc_report::line [protected]

Definition at line 162 of file sc_report.h.

Definition at line 163 of file sc_report.h.

Definition at line 164 of file sc_report.h.

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

Definition at line 165 of file sc_report.h.


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

Generated on Wed Jan 21 15:32:16 2009 for SystemC by  doxygen 1.5.5