|
const T & | operator* () |
| get a reference to the wrapped value More...
|
|
| sc_variable (const std::string &name, const T &value) |
| constructor taking a name and a reference of the variable to be wrapped More...
|
|
std::string | to_string () const override |
| create a textual representation of the wrapped value More...
|
|
T | get () const |
| value getter
|
|
| operator bool () const |
| bool conversion operator
|
|
| operator T () const |
| cast operator
|
|
sc_variable & | operator= (const T other) |
|
bool | operator== (T other) const |
|
bool | operator!= (T other) const |
|
bool | operator> (T other) const |
|
bool | operator< (T other) const |
|
bool | operator>= (T other) const |
|
bool | operator<= (T other) const |
|
sc_variable & | operator++ () |
| overloaded prefix ++ operator
|
|
T | operator++ (int) |
| overloaded postfix ++ operator
|
|
sc_variable & | operator-- () |
| overloaded prefix – operator
|
|
T | operator-- (int) |
| overloaded postfix – operator
|
|
T | operator+= (const T other) |
|
T | operator-= (const T other) |
|
T | operator*= (const T other) |
|
T | operator/= (const T other) |
|
T | operator+ (const T other) const |
|
T | operator- (const T other) const |
|
T | operator* (const T other) const |
|
T | operator/ (const T other) const |
|
T | operator+ (const this_type &other) const |
|
T | operator- (const this_type &other) const |
|
T | operator* (const this_type &other) const |
|
T | operator/ (const this_type &other) const |
|
void | trace (sc_core::sc_trace_file *tf) const override |
| register the value with the SystemC trace implementation More...
|
|
void | trace (observer *obs) const override |
|
| sc_variable_b (const char *name) |
|
const char * | kind () const |
| get the kind of this sc_object More...
|
|
template<typename T>
struct scc::sc_variable< T >
SystemC variable.
the sc_variable for a particular plain data type
This class makes plain and composite C++ datatype variables visible to the SystemC kernel by registering them in the SystemC object hierarchy.
- Template Parameters
-
T | the data type of the wrapped value |
Definition at line 80 of file sc_variable.h.