SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
Proxy class for user-defined value classes and other classes that. More...
#include <sysc/datatypes/misc/sc_value_base.h>
Public Member Functions | |
const T * | operator-> () const |
T * | operator-> () |
Proxy class for user-defined value classes and other classes that.
are defined outside of SystemC. The class is utilized as a base class for the arbitrary class:
class my_class : public sc_generic_base<my_class>
The purpose of the class is to allow to_XXXX methods defined within that class so that assignments and casts from the arbitrary class to native SystemC types are possible. To interact correctly with the SystemC library the class derived from sc_generic_base must implement the following methods: (1) uint64 to_uint64() const (2) int64 to_int64() const (3) void to_sc_unsigned( sc_unsigned& ) const (4) void to_sc_signed( sc_signed& ) const
Definition at line 120 of file sc_value_base.h.
|
inline |
Definition at line 122 of file sc_value_base.h.
|
inline |
Definition at line 126 of file sc_value_base.h.