sc_core::sc_report Class Reference

#include <sc_report.h>

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


Constructor & Destructor Documentation

sc_core::sc_report::sc_report (  ) 

sc_core::sc_report::sc_report ( const sc_report  ) 

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 
) [protected]


Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

int sc_core::sc_report::get_id (  )  const


Friends And Related Function Documentation

friend class sc_report_handler [friend]


Member Data Documentation

sc_severity sc_core::sc_report::severity [protected]

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

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

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

int sc_core::sc_report::line [protected]

sc_time* sc_core::sc_report::timestamp [protected]

sc_object* sc_core::sc_report::process [protected]

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


The documentation for this class was generated from the following files:
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page