sc_core::vcd_enum_trace Class Reference

Inheritance diagram for sc_core::vcd_enum_trace:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 vcd_enum_trace (const unsigned &object_, const std::string &name_, const std::string &vcd_name_, const char **enum_literals)
void write (FILE *f)
bool changed ()
virtual void set_width ()
virtual void print_variable_declaration_line (FILE *f)
void compose_data_line (char *rawdata, char *compdata)
std::string compose_line (const std::string data)

Static Public Member Functions

static const char * strip_leading_bits (const char *originalbuf)

Public Attributes

const std::string name
const std::string vcd_name
const char * vcd_var_typ_name
int bit_width

Protected Attributes

const unsigned & object
unsigned old_value
unsigned mask
const char ** literals
unsigned nliterals


Detailed Description

Definition at line 1630 of file sc_vcd_trace.cpp.


Constructor & Destructor Documentation

sc_core::vcd_enum_trace::vcd_enum_trace ( const unsigned &  object_,
const std::string &  name_,
const std::string &  vcd_name_,
const char **  enum_literals 
)

Definition at line 1648 of file sc_vcd_trace.cpp.


Member Function Documentation

void sc_core::vcd_enum_trace::write ( FILE *  f  )  [virtual]

Implements sc_core::vcd_trace.

Definition at line 1681 of file sc_vcd_trace.cpp.

bool sc_core::vcd_enum_trace::changed (  )  [virtual]

Implements sc_core::vcd_trace.

Definition at line 1676 of file sc_vcd_trace.cpp.

void sc_core::vcd_trace::set_width (  )  [virtual, inherited]

const char * sc_core::vcd_trace::strip_leading_bits ( const char *  originalbuf  )  [static, inherited]

Definition at line 207 of file sc_vcd_trace.cpp.

void sc_core::vcd_trace::print_variable_declaration_line ( FILE *  f  )  [virtual, inherited]

Definition at line 165 of file sc_vcd_trace.cpp.

void sc_core::vcd_trace::compose_data_line ( char *  rawdata,
char *  compdata 
) [inherited]

Definition at line 130 of file sc_vcd_trace.cpp.

std::string sc_core::vcd_trace::compose_line ( const std::string  data  )  [inherited]

Definition at line 155 of file sc_vcd_trace.cpp.


Member Data Documentation

const unsigned& sc_core::vcd_enum_trace::object [protected]

Definition at line 1640 of file sc_vcd_trace.cpp.

unsigned sc_core::vcd_enum_trace::old_value [protected]

Definition at line 1641 of file sc_vcd_trace.cpp.

unsigned sc_core::vcd_enum_trace::mask [protected]

Definition at line 1642 of file sc_vcd_trace.cpp.

const char** sc_core::vcd_enum_trace::literals [protected]

Definition at line 1643 of file sc_vcd_trace.cpp.

unsigned sc_core::vcd_enum_trace::nliterals [protected]

Definition at line 1644 of file sc_vcd_trace.cpp.

const std::string sc_core::vcd_trace::name [inherited]

Definition at line 113 of file sc_vcd_trace.cpp.

const std::string sc_core::vcd_trace::vcd_name [inherited]

Definition at line 114 of file sc_vcd_trace.cpp.

const char* sc_core::vcd_trace::vcd_var_typ_name [inherited]

Definition at line 115 of file sc_vcd_trace.cpp.

Definition at line 116 of file sc_vcd_trace.cpp.


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

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