#include <sc_bit_proxies.h>
Public メソッド | |
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 |
sc_digit | get_word (int i) const |
sc_digit | get_cword (int i) const |
void | print (::std::ostream &os=::std::cout) const |
Protected 変数 | |
T & | m_obj |
int | m_index |
Private メソッド | |
sc_bitref_r () | |
sc_bitref_r< T > & | operator= (const sc_bitref_r< T > &) |
フレンド | |
class | sc_bv_base |
class | sc_lv_base |
sc_bit_proxies.h の 87 行で定義されています。
sc_dt::sc_bitref_r< T >::sc_bitref_r | ( | const T & | obj_, | |
int | index_ | |||
) | [inline] |
sc_dt::sc_bitref_r< T >::sc_bitref_r | ( | const sc_bitref_r< T > & | a | ) | [inline] |
sc_dt::sc_bitref_r< T >::sc_bitref_r | ( | ) | [private] |
sc_bitref_r<T>* sc_dt::sc_bitref_r< T >::clone | ( | ) | const [inline] |
const sc_logic sc_dt::sc_bitref_r< T >::operator~ | ( | ) | const [inline] |
sc_dt::sc_bitref_r< T >::operator const sc_logic | ( | ) | const [inline] |
sc_logic_value_t sc_dt::sc_bitref_r< T >::value | ( | ) | const [inline] |
bool sc_dt::sc_bitref_r< T >::is_01 | ( | ) | const [inline] |
bool sc_dt::sc_bitref_r< T >::to_bool | ( | ) | const [inline] |
char sc_dt::sc_bitref_r< T >::to_char | ( | ) | const [inline] |
int sc_dt::sc_bitref_r< T >::length | ( | ) | const [inline] |
int sc_dt::sc_bitref_r< T >::size | ( | ) | const [inline] |
sc_logic_value_t sc_dt::sc_bitref_r< T >::get_bit | ( | int | n | ) | const [inline] |
sc_bit_proxies.h の 1971 行で定義されています。
01972 { 01973 if( n == 0 ) { 01974 return m_obj.get_bit( m_index ); 01975 } else { 01976 SC_REPORT_ERROR( sc_core::SC_ID_OUT_OF_BOUNDS_ , 0 ); 01977 // never reached 01978 return Log_0; 01979 } 01980 }
sc_digit sc_dt::sc_bitref_r< T >::get_word | ( | int | i | ) | const [inline] |
sc_bit_proxies.h の 1986 行で定義されています。
01987 { 01988 if( n == 0 ) { 01989 return ( get_bit( n ) & SC_DIGIT_ONE ); 01990 } else { 01991 SC_REPORT_ERROR( sc_core::SC_ID_OUT_OF_BOUNDS_, 0 ); 01992 // never reached 01993 return 0; 01994 } 01995 }
sc_digit sc_dt::sc_bitref_r< T >::get_cword | ( | int | i | ) | const [inline] |
sc_bit_proxies.h の 2000 行で定義されています。
02001 { 02002 if( n == 0 ) { 02003 return ( get_bit( n ) & SC_DIGIT_TWO ); 02004 } else { 02005 SC_REPORT_ERROR( sc_core::SC_ID_OUT_OF_BOUNDS_, 0 ); 02006 // never reached 02007 return 0; 02008 } 02009 }
void sc_dt::sc_bitref_r< T >::print | ( | ::std::ostream & | os = ::std::cout |
) | const [inline] |
sc_bitref_r<T>& sc_dt::sc_bitref_r< T >::operator= | ( | const sc_bitref_r< T > & | ) | [private] |
sc_dt::sc_bitref< X >で再定義されています。
friend class sc_bv_base [friend] |
friend class sc_lv_base [friend] |
T& sc_dt::sc_bitref_r< T >::m_obj [protected] |
sc_bit_proxies.h の 165 行で定義されています。
int sc_dt::sc_bitref_r< T >::m_index [protected] |
sc_bit_proxies.h の 166 行で定義されています。