Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

sc_dt::sc_concref_r< X, Y > Class Template Reference

#include <sc_bit_proxies.h>

Inheritance diagram for sc_dt::sc_concref_r< X, Y >:

Inheritance graph
[legend]
Collaboration diagram for sc_dt::sc_concref_r< X, Y >:

Collaboration graph
[legend]
List of all members.

Public Methods

 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
sc_logic_value_t get_bit (int n) const
void set_bit (int n, sc_logic_value_t value)
unsigned long get_word (int i) const
void set_word (int i, unsigned long w)
unsigned long get_cword (int i) const
void set_cword (int i, unsigned long w)
void clean_tail ()
bool is_01 () const

Protected Attributes

X & m_left
Y & m_right
int m_delete
int & m_refs

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


Constructor & Destructor Documentation

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 1116 of file sc_bit_proxies.h.

References CCAST, sc_dt::sc_concref_r< X, Y >::m_delete, sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_refs, and sc_dt::sc_concref_r< X, Y >::m_right.

template<class X, class Y>
sc_dt::sc_concref_r< X, Y >::sc_concref_r const sc_concref_r< X, Y > &    a [inline]
 

Definition at line 1124 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_delete, sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_refs, and sc_dt::sc_concref_r< X, Y >::m_right.

template<class X, class Y>
sc_dt::sc_concref_r< X, Y >::~sc_concref_r   [inline, virtual]
 

Definition at line 2984 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_delete, sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_refs, and sc_dt::sc_concref_r< X, Y >::m_right.


Member Function Documentation

template<class X, class Y>
void sc_dt::sc_concref_r< X, Y >::clean_tail   [inline]
 

Definition at line 1158 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, and sc_dt::sc_concref_r< X, Y >::m_right.

template<class X, class Y>
sc_concref_r<X,Y>* sc_dt::sc_concref_r< X, Y >::clone   const [inline]
 

Reimplemented in sc_dt::sc_concref< X, Y >.

Definition at line 1137 of file sc_bit_proxies.h.

Referenced by sc_dt::concat(), and sc_dt::operator,().

template<class X, class Y>
sc_logic_value_t sc_dt::sc_concref_r< X, Y >::get_bit int    n const [inline]
 

Definition at line 3006 of file sc_bit_proxies.h.

References sc_dt::Log_0, sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_right, and SC_REPORT_ERROR.

template<class X, class Y>
unsigned long sc_dt::sc_concref_r< X, Y >::get_cword int    i const [inline]
 

Definition at line 3111 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_right, SC_REPORT_ERROR, sc_dt::sc_concref_r< X, Y >::size(), sc_dt::UL_SIZE, and sc_dt::UL_ZERO.

template<class X, class Y>
unsigned long sc_dt::sc_concref_r< X, Y >::get_word int    i const [inline]
 

Definition at line 3039 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_right, SC_REPORT_ERROR, sc_dt::sc_concref_r< X, Y >::size(), sc_dt::UL_SIZE, and sc_dt::UL_ZERO.

template<class X, class Y>
bool sc_dt::sc_concref_r< X, Y >::is_01   const [inline]
 

Definition at line 1164 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, and sc_dt::sc_concref_r< X, Y >::m_right.

template<class X, class Y>
int sc_dt::sc_concref_r< X, Y >::length   const [inline]
 

Definition at line 1143 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, and sc_dt::sc_concref_r< X, Y >::m_right.

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

template<class X, class Y>
void sc_dt::sc_concref_r< X, Y >::set_bit int    n,
sc_logic_value_t    value
[inline]
 

Definition at line 3023 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_right, sc_dt::sc_logic_value_t, and SC_REPORT_ERROR.

template<class X, class Y>
void sc_dt::sc_concref_r< X, Y >::set_cword int    i,
unsigned long    w
[inline]
 

Definition at line 3143 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_right, SC_REPORT_ERROR, sc_dt::sc_concref_r< X, Y >::size(), sc_dt::UL_SIZE, and sc_dt::UL_ZERO.

template<class X, class Y>
void sc_dt::sc_concref_r< X, Y >::set_word int    i,
unsigned long    w
[inline]
 

Definition at line 3071 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::m_left, sc_dt::sc_concref_r< X, Y >::m_right, SC_REPORT_ERROR, sc_dt::sc_concref_r< X, Y >::size(), sc_dt::UL_SIZE, and sc_dt::UL_ZERO.

template<class X, class Y>
int sc_dt::sc_concref_r< X, Y >::size   const [inline]
 

Definition at line 1146 of file sc_bit_proxies.h.

References sc_dt::sc_concref_r< X, Y >::length(), and sc_dt::UL_SIZE.

Referenced by sc_dt::sc_concref_r< X, Y >::get_cword(), sc_dt::sc_concref_r< X, Y >::get_word(), sc_dt::sc_concref_r< X, Y >::set_cword(), and sc_dt::sc_concref_r< X, Y >::set_word().


Member Data Documentation

template<class X, class Y>
int sc_dt::sc_concref_r< X, Y >::m_delete [protected]
 

Definition at line 1171 of file sc_bit_proxies.h.

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

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

Definition at line 1169 of file sc_bit_proxies.h.

Referenced by sc_dt::sc_concref_r< X, Y >::clean_tail(), sc_dt::sc_concref_r< X, Y >::get_bit(), sc_dt::sc_concref_r< X, Y >::get_cword(), sc_dt::sc_concref_r< X, Y >::get_word(), sc_dt::sc_concref_r< X, Y >::is_01(), sc_dt::sc_concref_r< X, Y >::length(), sc_dt::sc_concref_r< X, Y >::sc_concref_r(), sc_dt::sc_concref_r< X, Y >::set_bit(), sc_dt::sc_concref_r< X, Y >::set_cword(), sc_dt::sc_concref_r< X, Y >::set_word(), and sc_dt::sc_concref_r< X, Y >::~sc_concref_r().

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

Definition at line 1172 of file sc_bit_proxies.h.

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

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

Definition at line 1170 of file sc_bit_proxies.h.

Referenced by sc_dt::sc_concref_r< X, Y >::clean_tail(), sc_dt::sc_concref_r< X, Y >::get_bit(), sc_dt::sc_concref_r< X, Y >::get_cword(), sc_dt::sc_concref_r< X, Y >::get_word(), sc_dt::sc_concref_r< X, Y >::is_01(), sc_dt::sc_concref_r< X, Y >::length(), sc_dt::sc_concref_r< X, Y >::sc_concref_r(), sc_dt::sc_concref_r< X, Y >::set_bit(), sc_dt::sc_concref_r< X, Y >::set_cword(), sc_dt::sc_concref_r< X, Y >::set_word(), and sc_dt::sc_concref_r< X, Y >::~sc_concref_r().


The documentation for this class was generated from the following file:
Generated on Fri Jan 14 08:32:34 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18