scc
2022.4.0
SystemC components library
|
#include <sc_variable.h>
Classes | |
struct | creator |
Public Member Functions | |
const bool & | operator* () |
sc_variable (const std::string &name, const bool &value) | |
std::string | to_string () const override |
retrieve the textual representation of the value More... | |
bool | get () const |
operator bool () const | |
sc_variable & | operator= (const bool other) |
bool | operator== (bool other) const |
bool | operator!= (bool other) const |
void | trace (sc_core::sc_trace_file *tf) const override |
void | trace (observer *obs) const override |
Public Member Functions inherited from scc::sc_variable_b | |
sc_variable_b (const char *name) | |
const char * | kind () const |
get the kind of this sc_object More... | |
Static Public Member Functions | |
static scc::sc_variable< bool > | create (const char *n, size_t i, bool default_val) |
specialization for bool as the cast operator for bool would be ambigous
Definition at line 287 of file sc_variable.h.
|
inlineoverridevirtual |
retrieve the textual representation of the value
Reimplemented from scc::sc_variable_b.
Definition at line 294 of file sc_variable.h.