scc 2025.09
SystemC components library
scc::sc_attribute_randomized< T > Class Template Reference
Inheritance diagram for scc::sc_attribute_randomized< T >:
Collaboration diagram for scc::sc_attribute_randomized< T >:

Public Types

template<bool cond, typename U>
using resolvedType = typename std::enable_if<cond, U>::type

Public Member Functions

 sc_attribute_randomized (const std::string &name_)
 sc_attribute_randomized (const std::string &name_, const T &value_)
 sc_attribute_randomized (const sc_core::sc_attribute< T > &a)
template<typename U = T>
resolvedType< std::is_signed< T >::value, U > get_value ()
template<typename U = T>
resolvedType< std::is_unsigned< T >::value, U > get_value ()

Detailed Description

template<typename T>
class scc::sc_attribute_randomized< T >

Definition at line 30 of file sc_attribute_randomized.h.

Member Typedef Documentation

◆ resolvedType

template<typename T>
template<bool cond, typename U>
using scc::sc_attribute_randomized< T >::resolvedType = typename std::enable_if<cond, U>::type

Definition at line 45 of file sc_attribute_randomized.h.

Constructor & Destructor Documentation

◆ sc_attribute_randomized() [1/3]

template<typename T>
scc::sc_attribute_randomized< T >::sc_attribute_randomized ( const std::string & name_)
inline

Definition at line 32 of file sc_attribute_randomized.h.

◆ sc_attribute_randomized() [2/3]

template<typename T>
scc::sc_attribute_randomized< T >::sc_attribute_randomized ( const std::string & name_,
const T & value_ )
inline

Definition at line 35 of file sc_attribute_randomized.h.

◆ sc_attribute_randomized() [3/3]

template<typename T>
scc::sc_attribute_randomized< T >::sc_attribute_randomized ( const sc_core::sc_attribute< T > & a)
inline

Definition at line 38 of file sc_attribute_randomized.h.

◆ ~sc_attribute_randomized()

template<typename T>
virtual scc::sc_attribute_randomized< T >::~sc_attribute_randomized ( )
inlinevirtual

Definition at line 43 of file sc_attribute_randomized.h.

Member Function Documentation

◆ get_value() [1/2]

template<typename T>
template<typename U = T>
resolvedType< std::is_unsigned< T >::value, U > scc::sc_attribute_randomized< T >::get_value ( )
inline

Definition at line 54 of file sc_attribute_randomized.h.

◆ get_value() [2/2]

template<typename T>
template<typename U = T>
resolvedType< std::is_signed< T >::value, U > scc::sc_attribute_randomized< T >::get_value ( )
inline

Definition at line 47 of file sc_attribute_randomized.h.


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