gem5  v22.0.0.1
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
sc_dt::sc_concref_r< X, Y > Class Template Reference

#include <sc_bit_proxies.hh>

Public Types

typedef sc_proxy< sc_concref_r< X, Y > >::value_type value_type
 

Public Member Functions

 sc_concref_r (const X &left_, const Y &right_, int delete_=0)
 
 sc_concref_r (const sc_concref_r< X, Y > &a)
 
virtual ~sc_concref_r ()
 
sc_concref_r< X, Y > * clone () const
 
int length () const
 
int size () const
 
value_type get_bit (int n) const
 
void set_bit (int n, value_type value)
 
sc_digit get_word (int i) const
 
void set_word (int i, sc_digit w)
 
sc_digit get_cword (int i) const
 
void set_cword (int i, sc_digit w)
 
void clean_tail ()
 
bool is_01 () const
 

Protected Attributes

X & m_left
 
Y & m_right
 
int m_delete
 
int & m_refs
 

Private Member Functions

 sc_concref_r ()
 
sc_concref_r< X, Y > & operator= (const sc_concref_r< X, Y > &)
 

Detailed Description

template<class X, class Y>
class sc_dt::sc_concref_r< X, Y >

Definition at line 76 of file sc_bit_proxies.hh.

Member Typedef Documentation

◆ value_type

template<class X , class Y >
typedef sc_proxy<sc_concref_r<X, Y> >::value_type sc_dt::sc_concref_r< X, Y >::value_type

Definition at line 1061 of file sc_bit_proxies.hh.

Constructor & Destructor Documentation

◆ sc_concref_r() [1/3]

template<class X , class Y >
sc_dt::sc_concref_r< X, Y >::sc_concref_r ( const X &  left_,
const Y &  right_,
int  delete_ = 0 
)
inline

Definition at line 1064 of file sc_bit_proxies.hh.

◆ sc_concref_r() [2/3]

template<class X , class Y >
sc_dt::sc_concref_r< X, Y >::sc_concref_r ( const sc_concref_r< X, Y > &  a)
inline

◆ ~sc_concref_r()

template<class X , class Y >
sc_dt::sc_concref_r< X, Y >::~sc_concref_r
inlinevirtual

Definition at line 2669 of file sc_bit_proxies.hh.

◆ sc_concref_r() [3/3]

template<class X , class Y >
sc_dt::sc_concref_r< X, Y >::sc_concref_r ( )
private

Member Function Documentation

◆ clean_tail()

template<class X , class Y >
void sc_dt::sc_concref_r< X, Y >::clean_tail ( )
inline

Definition at line 1095 of file sc_bit_proxies.hh.

◆ clone()

template<class X , class Y >
sc_concref_r<X, Y>* sc_dt::sc_concref_r< X, Y >::clone ( ) const
inline

Definition at line 1079 of file sc_bit_proxies.hh.

◆ get_bit()

template<class X , class Y >
sc_concref_r< X, Y >::value_type sc_dt::sc_concref_r< X, Y >::get_bit ( int  n) const
inline

Definition at line 2688 of file sc_bit_proxies.hh.

◆ get_cword()

template<class X , class Y >
sc_digit sc_dt::sc_concref_r< X, Y >::get_cword ( int  i) const
inline

Definition at line 2790 of file sc_bit_proxies.hh.

◆ get_word()

template<class X , class Y >
sc_digit sc_dt::sc_concref_r< X, Y >::get_word ( int  i) const
inline

Definition at line 2717 of file sc_bit_proxies.hh.

◆ is_01()

template<class X , class Y >
bool sc_dt::sc_concref_r< X, Y >::is_01 ( ) const
inline

Definition at line 1098 of file sc_bit_proxies.hh.

◆ length()

template<class X , class Y >
int sc_dt::sc_concref_r< X, Y >::length ( ) const
inline

Definition at line 1082 of file sc_bit_proxies.hh.

◆ operator=()

template<class X , class Y >
sc_concref_r<X, Y>& sc_dt::sc_concref_r< X, Y >::operator= ( const sc_concref_r< X, Y > &  )
private

◆ set_bit()

template<class X , class Y >
void sc_dt::sc_concref_r< X, Y >::set_bit ( int  n,
value_type  value 
)
inline

Definition at line 2703 of file sc_bit_proxies.hh.

◆ set_cword()

template<class X , class Y >
void sc_dt::sc_concref_r< X, Y >::set_cword ( int  i,
sc_digit  w 
)
inline

◆ set_word()

template<class X , class Y >
void sc_dt::sc_concref_r< X, Y >::set_word ( int  i,
sc_digit  w 
)
inline

◆ size()

template<class X , class Y >
int sc_dt::sc_concref_r< X, Y >::size ( ) const
inline

Definition at line 1084 of file sc_bit_proxies.hh.

Member Data Documentation

◆ m_delete

template<class X , class Y >
int sc_dt::sc_concref_r< X, Y >::m_delete
mutableprotected

Definition at line 1103 of file sc_bit_proxies.hh.

◆ m_left

template<class X , class Y >
X& sc_dt::sc_concref_r< X, Y >::m_left
protected

Definition at line 1101 of file sc_bit_proxies.hh.

Referenced by sc_dt::sc_concref_r< X, Y >::sc_concref_r().

◆ m_refs

template<class X , class Y >
int& sc_dt::sc_concref_r< X, Y >::m_refs
protected

Definition at line 1104 of file sc_bit_proxies.hh.

◆ m_right

template<class X , class Y >
Y& sc_dt::sc_concref_r< X, Y >::m_right
protected

Definition at line 1102 of file sc_bit_proxies.hh.

Referenced by sc_dt::sc_concref_r< X, Y >::sc_concref_r().


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

Generated on Sat Jun 18 2022 08:15:24 for gem5 by doxygen 1.8.17