Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

scv_debug.h File Reference

#include "scv/scv_config.h"
#include <stdio.h>
#include "scv/scv_object_if.h"
#include "scv/scv_util.h"

Include dependency graph for scv_debug.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  scv_debug

Defines

#define _scv_trace(arg)
#define SCV_DEBUG_ON
#define SCV_DEBUG(object_p, level, arg1)
#define SCV_DEBUG_CHECK(item, level)   _scv_debug_check((item),(level))

Functions

template<typename T> bool _scv_debug_check (T *object_p, int target_level)
bool _scv_debug_check (int actual_level, int target_level)


Define Documentation

#define _scv_trace arg   
 

Value:

if ((arg)) \
scv_out << "_scv_trace at file " << __FILE__ << " line " << __LINE__ << " "

Definition at line 78 of file scv_debug.h.

#define SCV_DEBUG object_p,
level,
arg1   
 

Value:

if ( scv_debug::check((object_p)->get_debug(),(level)) ) \
    scv_debug::record_data((__FILE__), (__LINE__), (object_p), (level), (arg1))

Definition at line 90 of file scv_debug.h.

#define SCV_DEBUG_CHECK item,
level       _scv_debug_check((item),(level))
 

Definition at line 96 of file scv_debug.h.

#define SCV_DEBUG_ON
 

Definition at line 83 of file scv_debug.h.


Function Documentation

bool _scv_debug_check int    actual_level,
int    target_level
[inline]
 

Definition at line 192 of file scv_debug.h.

References scv_debug::check().

template<typename T>
bool _scv_debug_check T *    object_p,
int    target_level
 

Definition at line 189 of file scv_debug.h.

References scv_debug::check().


Generated on Fri Jan 14 08:30:42 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18