SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_attribute< T > Class Template Reference

#include <sysc/kernel/sc_attribute.h>

Inheritance diagram for sc_core::sc_attribute< T >:
Collaboration diagram for sc_core::sc_attribute< T >:

Public Member Functions

 sc_attribute (const std::string &name_)
 
 sc_attribute (const std::string &name_, const T &value_)
 
 sc_attribute (const sc_attribute< T > &a)
 
virtual ~sc_attribute ()
 
const std::string & name () const
 

Public Attributes

value
 

Detailed Description

template<class T>
class sc_core::sc_attribute< T >

Definition at line 156 of file sc_attribute.h.

Constructor & Destructor Documentation

◆ sc_attribute() [1/3]

template<class T >
sc_core::sc_attribute< T >::sc_attribute ( const std::string &  name_)
inline

Definition at line 163 of file sc_attribute.h.

◆ sc_attribute() [2/3]

template<class T >
sc_core::sc_attribute< T >::sc_attribute ( const std::string &  name_,
const T &  value_ 
)
inline

Definition at line 167 of file sc_attribute.h.

◆ sc_attribute() [3/3]

template<class T >
sc_core::sc_attribute< T >::sc_attribute ( const sc_attribute< T > &  a)
inline

Definition at line 171 of file sc_attribute.h.

◆ ~sc_attribute()

template<class T >
virtual sc_core::sc_attribute< T >::~sc_attribute ( )
inlinevirtual

Definition at line 178 of file sc_attribute.h.

Member Function Documentation

◆ name()

const std::string& sc_core::sc_attr_base::name ( ) const
inherited

Member Data Documentation

◆ value

template<class T >
T sc_core::sc_attribute< T >::value

Definition at line 184 of file sc_attribute.h.


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