#include <sysc/datatypes/bit/sc_bit_proxies.h>
Public Types | |
typedef T::traits_type | traits_type |
typedef traits_type::bit_type | bit_type |
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 bit_type | operator~ () const |
operator const bit_type () 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 | |
T & | m_obj |
int | m_index |
Friends | |
class | sc_bv_base |
class | sc_lv_base |
Definition at line 54 of file sc_bit_proxies.h.
typedef traits_type::bit_type sc_dt::sc_bitref_r< T >::bit_type |
Definition at line 64 of file sc_bit_proxies.h.
typedef T::traits_type sc_dt::sc_bitref_r< T >::traits_type |
Definition at line 63 of file sc_bit_proxies.h.
sc_dt::sc_bitref_r< T >::sc_bitref_r | ( | const T & | obj_, | |
int | index_ | |||
) | [inline] |
Definition at line 68 of file sc_bit_proxies.h.
sc_dt::sc_bitref_r< T >::sc_bitref_r | ( | const sc_bitref_r< T > & | a | ) | [inline] |
Definition at line 75 of file sc_bit_proxies.h.
sc_bitref_r<T>* sc_dt::sc_bitref_r< T >::clone | ( | ) | const [inline] |
Reimplemented in sc_dt::sc_bitref< X >.
Definition at line 81 of file sc_bit_proxies.h.
sc_logic_value_t sc_dt::sc_bitref_r< T >::get_bit | ( | int | n | ) | const [inline] |
Definition at line 1942 of file sc_bit_proxies.h.
sc_digit sc_dt::sc_bitref_r< T >::get_cword | ( | int | i | ) | const [inline] |
Definition at line 1971 of file sc_bit_proxies.h.
sc_digit sc_dt::sc_bitref_r< T >::get_word | ( | int | i | ) | const [inline] |
Definition at line 1957 of file sc_bit_proxies.h.
bool sc_dt::sc_bitref_r< T >::is_01 | ( | ) | const [inline] |
Definition at line 105 of file sc_bit_proxies.h.
int sc_dt::sc_bitref_r< T >::length | ( | ) | const [inline] |
Definition at line 117 of file sc_bit_proxies.h.
sc_dt::sc_bitref_r< T >::operator const bit_type | ( | ) | const [inline] |
Definition at line 95 of file sc_bit_proxies.h.
const bit_type sc_dt::sc_bitref_r< T >::operator~ | ( | ) | const [inline] |
Definition at line 89 of file sc_bit_proxies.h.
void sc_dt::sc_bitref_r< T >::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inline] |
Definition at line 131 of file sc_bit_proxies.h.
int sc_dt::sc_bitref_r< T >::size | ( | ) | const [inline] |
Definition at line 120 of file sc_bit_proxies.h.
bool sc_dt::sc_bitref_r< T >::to_bool | ( | ) | const [inline] |
Definition at line 108 of file sc_bit_proxies.h.
char sc_dt::sc_bitref_r< T >::to_char | ( | ) | const [inline] |
Definition at line 111 of file sc_bit_proxies.h.
sc_logic_value_t sc_dt::sc_bitref_r< T >::value | ( | ) | const [inline] |
Definition at line 101 of file sc_bit_proxies.h.
friend class sc_bv_base [friend] |
Reimplemented in sc_dt::sc_bitref< X >.
Definition at line 56 of file sc_bit_proxies.h.
friend class sc_lv_base [friend] |
Reimplemented in sc_dt::sc_bitref< X >.
Definition at line 57 of file sc_bit_proxies.h.
int sc_dt::sc_bitref_r< T >::m_index [protected] |
Definition at line 137 of file sc_bit_proxies.h.
T& sc_dt::sc_bitref_r< T >::m_obj [protected] |
Definition at line 136 of file sc_bit_proxies.h.