gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
sc_gem5::VcdTraceScope Class Reference

#include <vcd.hh>

Public Member Functions

void addValue (const std::string &name, VcdTraceValBase *value)
 
void output (const std::string &name, std::ostream &os)
 

Private Attributes

std::vector< std::pair< std::string, VcdTraceValBase * > > values
 
std::map< std::string, VcdTraceScope * > scopes
 

Detailed Description

Definition at line 40 of file vcd.hh.

Member Function Documentation

◆ addValue()

void sc_gem5::VcdTraceScope::addValue ( const std::string &  name,
VcdTraceValBase value 
)

Definition at line 142 of file vcd.cc.

References name(), scopes, and values.

Referenced by sc_gem5::VcdTraceFile::addNewTraceVal().

◆ output()

void sc_gem5::VcdTraceScope::output ( const std::string &  name,
std::ostream &  os 
)

Member Data Documentation

◆ scopes

std::map<std::string, VcdTraceScope *> sc_gem5::VcdTraceScope::scopes
private

Definition at line 44 of file vcd.hh.

Referenced by addValue(), and output().

◆ values

std::vector<std::pair<std::string, VcdTraceValBase *> > sc_gem5::VcdTraceScope::values
private

Definition at line 43 of file vcd.hh.

Referenced by addValue(), and output().


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

Generated on Wed Sep 30 2020 14:03:10 for gem5 by doxygen 1.8.17