sc_dt::sc_bitref< X > Class Template Reference

#include <sysc/datatypes/bit/sc_bit_proxies.h>

Inheritance diagram for sc_dt::sc_bitref< X >:

Inheritance graph
[legend]
Collaboration diagram for sc_dt::sc_bitref< X >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_bitref (X &obj_, int index_)
 sc_bitref (const sc_bitref< X > &a)
sc_bitref< X > * clone () const
sc_bitref< X > & operator= (const sc_bitref_r< X > &a)
sc_bitref< X > & operator= (const sc_bitref< X > &a)
sc_bitref< X > & operator= (const sc_logic &a)
sc_bitref< X > & operator= (sc_logic_value_t v)
sc_bitref< X > & operator= (bool a)
sc_bitref< X > & operator= (char a)
sc_bitref< X > & operator= (int a)
sc_bitref< X > & operator= (const sc_bit &a)
sc_bitref< X > & operator &= (const sc_bitref_r< X > &a)
sc_bitref< X > & operator &= (const sc_logic &a)
sc_bitref< X > & operator &= (sc_logic_value_t v)
sc_bitref< X > & operator &= (bool a)
sc_bitref< X > & operator &= (char a)
sc_bitref< X > & operator &= (int a)
sc_bitref< X > & operator|= (const sc_bitref_r< X > &a)
sc_bitref< X > & operator|= (const sc_logic &a)
sc_bitref< X > & operator|= (sc_logic_value_t v)
sc_bitref< X > & operator|= (bool a)
sc_bitref< X > & operator|= (char a)
sc_bitref< X > & operator|= (int a)
sc_bitref< X > & operator^= (const sc_bitref_r< X > &a)
sc_bitref< X > & operator^= (const sc_logic &a)
sc_bitref< X > & operator^= (sc_logic_value_t v)
sc_bitref< X > & operator^= (bool a)
sc_bitref< X > & operator^= (char a)
sc_bitref< X > & operator^= (int a)
sc_bitref< X > & b_not ()
void set_bit (int n, sc_logic_value_t value)
void set_word (int i, sc_digit w)
void set_cword (int i, sc_digit w)
void clean_tail ()
void scan (::std::istream &is=::std::cin)
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
sc_digit get_word (int i) const
sc_digit get_cword (int i) const
void print (::std::ostream &os=::std::cout) const

Protected Attributes

X & m_obj
int m_index

Friends

class sc_bv_base
class sc_lv_base


Detailed Description

template<class X>
class sc_dt::sc_bitref< X >

Definition at line 472 of file sc_bit_proxies.h.


Constructor & Destructor Documentation

template<class X>
sc_dt::sc_bitref< X >::sc_bitref ( X &  obj_,
int  index_ 
) [inline]

Definition at line 482 of file sc_bit_proxies.h.

template<class X>
sc_dt::sc_bitref< X >::sc_bitref ( const sc_bitref< X > &  a  )  [inline]

Definition at line 489 of file sc_bit_proxies.h.


Member Function Documentation

template<class X>
sc_bitref<X>* sc_dt::sc_bitref< X >::clone (  )  const [inline]

Reimplemented from sc_dt::sc_bitref_r< X >.

Definition at line 496 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator= ( const sc_bitref_r< X > &  a  )  [inline]

Reimplemented from sc_dt::sc_bitref_r< X >.

Definition at line 2249 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator= ( const sc_bitref< X > &  a  )  [inline]

Definition at line 2258 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( const sc_logic a  )  [inline]

Definition at line 505 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( sc_logic_value_t  v  )  [inline]

Definition at line 508 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( bool  a  )  [inline]

Definition at line 511 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( char  a  )  [inline]

Definition at line 514 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( int  a  )  [inline]

Definition at line 517 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator= ( const sc_bit a  )  [inline]

Definition at line 520 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator &= ( const sc_bitref_r< X > &  a  )  [inline]

Definition at line 2272 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator &= ( const sc_logic a  )  [inline]

Definition at line 2284 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator &= ( sc_logic_value_t  v  )  [inline]

Definition at line 529 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator &= ( bool  a  )  [inline]

Definition at line 532 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator &= ( char  a  )  [inline]

Definition at line 535 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator &= ( int  a  )  [inline]

Definition at line 538 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator|= ( const sc_bitref_r< X > &  a  )  [inline]

Definition at line 2295 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator|= ( const sc_logic a  )  [inline]

Definition at line 2307 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( sc_logic_value_t  v  )  [inline]

Definition at line 545 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( bool  a  )  [inline]

Definition at line 548 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( char  a  )  [inline]

Definition at line 551 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator|= ( int  a  )  [inline]

Definition at line 554 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator^= ( const sc_bitref_r< X > &  a  )  [inline]

Definition at line 2318 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::operator^= ( const sc_logic a  )  [inline]

Definition at line 2330 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( sc_logic_value_t  v  )  [inline]

Definition at line 561 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( bool  a  )  [inline]

Definition at line 564 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( char  a  )  [inline]

Definition at line 567 of file sc_bit_proxies.h.

template<class X>
sc_bitref<X>& sc_dt::sc_bitref< X >::operator^= ( int  a  )  [inline]

Definition at line 570 of file sc_bit_proxies.h.

template<class X>
sc_bitref< X > & sc_dt::sc_bitref< X >::b_not (  )  [inline]

Definition at line 2345 of file sc_bit_proxies.h.

template<class X>
void sc_dt::sc_bitref< X >::set_bit ( int  n,
sc_logic_value_t  value 
) [inline]

Definition at line 2358 of file sc_bit_proxies.h.

template<class X>
void sc_dt::sc_bitref< X >::set_word ( int  i,
sc_digit  w 
) [inline]

Definition at line 2370 of file sc_bit_proxies.h.

template<class X>
void sc_dt::sc_bitref< X >::set_cword ( int  i,
sc_digit  w 
) [inline]

Definition at line 2388 of file sc_bit_proxies.h.

template<class X>
void sc_dt::sc_bitref< X >::clean_tail (  )  [inline]

Definition at line 588 of file sc_bit_proxies.h.

template<class X>
void sc_dt::sc_bitref< X >::scan ( ::std::istream &  is = ::std::cin  )  [inline]

Definition at line 2407 of file sc_bit_proxies.h.

const sc_logic sc_dt::sc_bitref_r< X >::operator~ (  )  const [inline, inherited]

Definition at line 118 of file sc_bit_proxies.h.

sc_dt::sc_bitref_r< X >::operator const sc_logic (  )  const [inline, inherited]

Definition at line 124 of file sc_bit_proxies.h.

sc_logic_value_t sc_dt::sc_bitref_r< X >::value (  )  const [inline, inherited]

Definition at line 130 of file sc_bit_proxies.h.

bool sc_dt::sc_bitref_r< X >::is_01 (  )  const [inline, inherited]

Definition at line 134 of file sc_bit_proxies.h.

bool sc_dt::sc_bitref_r< X >::to_bool (  )  const [inline, inherited]

Definition at line 137 of file sc_bit_proxies.h.

char sc_dt::sc_bitref_r< X >::to_char (  )  const [inline, inherited]

Definition at line 140 of file sc_bit_proxies.h.

int sc_dt::sc_bitref_r< X >::length (  )  const [inline, inherited]

Definition at line 146 of file sc_bit_proxies.h.

int sc_dt::sc_bitref_r< X >::size (  )  const [inline, inherited]

Definition at line 149 of file sc_bit_proxies.h.

sc_logic_value_t sc_dt::sc_bitref_r< X >::get_bit ( int  n  )  const [inherited]

sc_digit sc_dt::sc_bitref_r< X >::get_word ( int  i  )  const [inherited]

sc_digit sc_dt::sc_bitref_r< X >::get_cword ( int  i  )  const [inherited]

void sc_dt::sc_bitref_r< X >::print ( ::std::ostream &  os = ::std::cout  )  const [inline, inherited]

Definition at line 160 of file sc_bit_proxies.h.


Friends And Related Function Documentation

template<class X>
friend class sc_bv_base [friend]

Reimplemented from sc_dt::sc_bitref_r< X >.

Definition at line 475 of file sc_bit_proxies.h.

template<class X>
friend class sc_lv_base [friend]

Reimplemented from sc_dt::sc_bitref_r< X >.

Definition at line 476 of file sc_bit_proxies.h.


Member Data Documentation

X & sc_dt::sc_bitref_r< X >::m_obj [protected, inherited]

Definition at line 165 of file sc_bit_proxies.h.

int sc_dt::sc_bitref_r< X >::m_index [protected, inherited]

Definition at line 166 of file sc_bit_proxies.h.


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

Generated on Wed Jan 21 15:32:17 2009 for SystemC by  doxygen 1.5.5