#include <sc_int_base.h>
Public メソッド | |
sc_int_bitref (const sc_int_bitref &a) | |
sc_int_bitref & | operator= (const sc_int_bitref_r &b) |
sc_int_bitref & | operator= (const sc_int_bitref &b) |
sc_int_bitref & | operator= (bool b) |
sc_int_bitref & | operator &= (bool b) |
sc_int_bitref & | operator|= (bool b) |
sc_int_bitref & | operator^= (bool b) |
virtual void | concat_set (int64 src, int low_i) |
virtual void | concat_set (const sc_signed &src, int low_i) |
virtual void | concat_set (const sc_unsigned &src, int low_i) |
virtual void | concat_set (uint64 src, int low_i) |
void | scan (::std::istream &is=::std::cin) |
Static Public 変数 | |
static sc_core::sc_vpool < sc_int_bitref > | m_pool |
Private メソッド | |
sc_int_bitref () | |
フレンド | |
class | sc_int_base |
class | sc_core::sc_vpool< sc_int_bitref > |
sc_int_base.h の 244 行で定義されています。
sc_dt::sc_int_bitref::sc_int_bitref | ( | ) | [inline, private] |
sc_dt::sc_int_bitref::sc_int_bitref | ( | const sc_int_bitref & | a | ) | [inline] |
sc_int_bitref & sc_dt::sc_int_bitref::operator= | ( | const sc_int_bitref_r & | b | ) | [inline] |
sc_dt::sc_int_bitref_rを再定義しています。
sc_int_base.h の 923 行で定義されています。
00924 { 00925 m_obj_p->set( m_index, (bool) b ); 00926 m_obj_p->extend_sign(); 00927 return *this; 00928 }
sc_int_bitref & sc_dt::sc_int_bitref::operator= | ( | const sc_int_bitref & | b | ) | [inline] |
sc_int_base.h の 932 行で定義されています。
00933 { 00934 m_obj_p->set( m_index, (bool) b ); 00935 m_obj_p->extend_sign(); 00936 return *this; 00937 }
sc_int_bitref & sc_dt::sc_int_bitref::operator= | ( | bool | b | ) | [inline] |
sc_int_bitref & sc_dt::sc_int_bitref::operator &= | ( | bool | b | ) | [inline] |
sc_int_base.h の 951 行で定義されています。
00952 { 00953 if( ! b ) { 00954 m_obj_p->set( m_index, b ); 00955 m_obj_p->extend_sign(); 00956 } 00957 return *this; 00958 }
sc_int_bitref & sc_dt::sc_int_bitref::operator|= | ( | bool | b | ) | [inline] |
sc_int_base.h の 962 行で定義されています。
00963 { 00964 if( b ) { 00965 m_obj_p->set( m_index, b ); 00966 m_obj_p->extend_sign(); 00967 } 00968 return *this; 00969 }
sc_int_bitref & sc_dt::sc_int_bitref::operator^= | ( | bool | b | ) | [inline] |
void sc_dt::sc_int_bitref::concat_set | ( | int64 | src, | |
int | low_i | |||
) | [virtual] |
sc_dt::sc_value_baseを再定義しています。
sc_int_base.cpp の 89 行で定義されています。
00090 { 00091 sc_int_base aa( 1 ); 00092 *this = aa = (low_i < 64) ? src >> low_i : src >> 63; 00093 }
void sc_dt::sc_int_bitref::concat_set | ( | const sc_signed & | src, | |
int | low_i | |||
) | [virtual] |
sc_dt::sc_value_baseを再定義しています。
sc_int_base.cpp の 95 行で定義されています。
00096 { 00097 sc_int_base aa( 1 ); 00098 if ( low_i < src.length() ) 00099 *this = aa = 1 & (src >> low_i); 00100 else 00101 *this = aa = (src < 0) ? (int_type)-1 : 0; 00102 }
void sc_dt::sc_int_bitref::concat_set | ( | const sc_unsigned & | src, | |
int | low_i | |||
) | [virtual] |
sc_dt::sc_value_baseを再定義しています。
sc_int_base.cpp の 104 行で定義されています。
00105 { 00106 sc_int_base aa( 1 ); 00107 if ( low_i < src.length() ) 00108 *this = aa = 1 & (src >> low_i); 00109 else 00110 *this = aa = 0; 00111 }
void sc_dt::sc_int_bitref::concat_set | ( | uint64 | src, | |
int | low_i | |||
) | [virtual] |
sc_dt::sc_value_baseを再定義しています。
sc_int_base.cpp の 113 行で定義されています。
00114 { 00115 sc_int_base aa( 1 ); 00116 *this = aa = (low_i < 64) ? src >> low_i : 0; 00117 }
void sc_dt::sc_int_bitref::scan | ( | ::std::istream & | is = ::std::cin |
) |
friend class sc_int_base [friend] |
friend class sc_core::sc_vpool< sc_int_bitref > [friend] |
sc_int_base.h の 248 行で定義されています。
sc_int_base.h の 287 行で定義されています。