sc_dt::sc_bitref_r< T > Class Template Reference

#include <sc_bit_proxies.h>

Collaboration diagram for sc_dt::sc_bitref_r< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 sc_bitref_r (const T &obj_, int index_)
 sc_bitref_r (const sc_bitref_r< T > &a)
sc_bitref_r< T > * clone () const
const sc_logic operator~ () const
 operator const sc_logic () const
sc_logic_value_t value () const
bool is_01 () const
bool to_bool () const
char to_char () const
int length () const
int size () const
sc_logic_value_t get_bit (int n) const
unsigned long get_word (int i) const
unsigned long get_cword (int i) const
void print (::std::ostream &os=::std::cout) const

Protected Attributes

Tm_obj
int m_index

Private Member Functions

 sc_bitref_r ()
sc_bitref_r< T > & operator= (const sc_bitref_r< T > &)

Friends

class sc_bv_base
class sc_lv_base

template<class T>
class sc_dt::sc_bitref_r< T >


Constructor & Destructor Documentation

template<class T>
sc_dt::sc_bitref_r< T >::sc_bitref_r ( const T obj_,
int  index_ 
) [inline]

template<class T>
sc_dt::sc_bitref_r< T >::sc_bitref_r ( const sc_bitref_r< T > &  a  )  [inline]

template<class T>
sc_dt::sc_bitref_r< T >::sc_bitref_r (  )  [private]


Member Function Documentation

template<class T>
sc_bitref_r<T>* sc_dt::sc_bitref_r< T >::clone (  )  const [inline]

Reimplemented in sc_dt::sc_bitref< X >.

template<class T>
const sc_logic sc_dt::sc_bitref_r< T >::operator~ (  )  const [inline]

template<class T>
sc_dt::sc_bitref_r< T >::operator const sc_logic (  )  const [inline]

template<class T>
sc_logic_value_t sc_dt::sc_bitref_r< T >::value (  )  const [inline]

template<class T>
bool sc_dt::sc_bitref_r< T >::is_01 (  )  const [inline]

template<class T>
bool sc_dt::sc_bitref_r< T >::to_bool (  )  const [inline]

template<class T>
char sc_dt::sc_bitref_r< T >::to_char (  )  const [inline]

template<class T>
int sc_dt::sc_bitref_r< T >::length (  )  const [inline]

template<class T>
int sc_dt::sc_bitref_r< T >::size (  )  const [inline]

template<class T>
sc_logic_value_t sc_dt::sc_bitref_r< T >::get_bit ( int  n  )  const [inline]

template<class T>
unsigned long sc_dt::sc_bitref_r< T >::get_word ( int  i  )  const [inline]

template<class T>
unsigned long sc_dt::sc_bitref_r< T >::get_cword ( int  i  )  const [inline]

template<class T>
void sc_dt::sc_bitref_r< T >::print ( ::std::ostream &  os = ::std::cout  )  const [inline]

template<class T>
sc_bitref_r<T>& sc_dt::sc_bitref_r< T >::operator= ( const sc_bitref_r< T > &   )  [private]

Reimplemented in sc_dt::sc_bitref< X >.


Friends And Related Function Documentation

template<class T>
friend class sc_bv_base [friend]

Reimplemented in sc_dt::sc_bitref< X >.

template<class T>
friend class sc_lv_base [friend]

Reimplemented in sc_dt::sc_bitref< X >.


Member Data Documentation

template<class T>
T& sc_dt::sc_bitref_r< T >::m_obj [protected]

template<class T>
int sc_dt::sc_bitref_r< T >::m_index [protected]


The documentation for this class was generated from the following file:
Generated on Wed Apr 25 13:53:30 2007 for SystemC by  doxygen 1.5.1