#include <sc_fxnum.h>
Public メソッド | |
sc_fxnum_fast_subref (const sc_fxnum_fast_subref &) | |
~sc_fxnum_fast_subref () | |
bool | and_reduce () const |
bool | nand_reduce () const |
bool | or_reduce () const |
bool | nor_reduce () const |
bool | xor_reduce () const |
bool | xnor_reduce () const |
int | length () const |
int | to_int () const |
unsigned int | to_uint () const |
long | to_long () const |
unsigned long | to_ulong () const |
int64 | to_int64 () const |
uint64 | to_uint64 () const |
const std::string | to_string () const |
const std::string | to_string (sc_numrep) const |
const std::string | to_string (sc_numrep, bool) const |
operator sc_bv_base () const | |
void | print (::std::ostream &=::std::cout) const |
void | scan (::std::istream &=::std::cin) |
void | dump (::std::ostream &=::std::cout) const |
Private メソッド | |
bool | get () const |
bool | set () |
sc_fxnum_fast_subref (sc_fxnum_fast &, int, int) | |
sc_fxnum_fast_subref () | |
Private 変数 | |
sc_fxnum_fast & | m_num |
int | m_from |
int | m_to |
sc_bv_base & | m_bv |
フレンド | |
class | sc_fxnum_fast |
class | sc_fxnum_subref |
sc_fxnum.h の 387 行で定義されています。
sc_dt::sc_fxnum_fast_subref::sc_fxnum_fast_subref | ( | sc_fxnum_fast & | num_, | |
int | from_, | |||
int | to_ | |||
) | [inline, private] |
sc_dt::sc_fxnum_fast_subref::sc_fxnum_fast_subref | ( | const sc_fxnum_fast_subref & | a | ) | [inline] |
sc_dt::sc_fxnum_fast_subref::~sc_fxnum_fast_subref | ( | ) | [inline] |
sc_dt::sc_fxnum_fast_subref::sc_fxnum_fast_subref | ( | ) | [private] |
bool sc_dt::sc_fxnum_fast_subref::get | ( | ) | const [private] |
bool sc_dt::sc_fxnum_fast_subref::set | ( | ) | [private] |
bool sc_dt::sc_fxnum_fast_subref::and_reduce | ( | ) | const |
bool sc_dt::sc_fxnum_fast_subref::nand_reduce | ( | ) | const |
bool sc_dt::sc_fxnum_fast_subref::or_reduce | ( | ) | const |
bool sc_dt::sc_fxnum_fast_subref::nor_reduce | ( | ) | const |
bool sc_dt::sc_fxnum_fast_subref::xor_reduce | ( | ) | const |
bool sc_dt::sc_fxnum_fast_subref::xnor_reduce | ( | ) | const |
int sc_dt::sc_fxnum_fast_subref::length | ( | ) | const [inline] |
int sc_dt::sc_fxnum_fast_subref::to_int | ( | ) | const [inline] |
sc_fxnum.h の 2404 行で定義されています。
02405 { 02406 SC_FXNUM_FAST_OBSERVER_READ_( m_num ) 02407 get(); 02408 return m_bv.to_int(); 02409 }
unsigned int sc_dt::sc_fxnum_fast_subref::to_uint | ( | ) | const [inline] |
sc_fxnum.h の 2422 行で定義されています。
02423 { 02424 SC_FXNUM_FAST_OBSERVER_READ_( m_num ) 02425 get(); 02426 return m_bv.to_uint(); 02427 }
long sc_dt::sc_fxnum_fast_subref::to_long | ( | ) | const [inline] |
sc_fxnum.h の 2440 行で定義されています。
02441 { 02442 SC_FXNUM_FAST_OBSERVER_READ_( m_num ) 02443 get(); 02444 return m_bv.to_long(); 02445 }
unsigned long sc_dt::sc_fxnum_fast_subref::to_ulong | ( | ) | const [inline] |
sc_fxnum.h の 2449 行で定義されています。
02450 { 02451 SC_FXNUM_FAST_OBSERVER_READ_( m_num ) 02452 get(); 02453 return m_bv.to_ulong(); 02454 }
int64 sc_dt::sc_fxnum_fast_subref::to_int64 | ( | ) | const [inline] |
sc_fxnum.h の 2413 行で定義されています。
02414 { 02415 SC_FXNUM_FAST_OBSERVER_READ_( m_num ) 02416 get(); 02417 return m_bv.to_int64(); 02418 }
uint64 sc_dt::sc_fxnum_fast_subref::to_uint64 | ( | ) | const [inline] |
sc_fxnum.h の 2431 行で定義されています。
02432 { 02433 SC_FXNUM_FAST_OBSERVER_READ_( m_num ) 02434 get(); 02435 return m_bv.to_uint64(); 02436 }
const std::string sc_dt::sc_fxnum_fast_subref::to_string | ( | ) | const [inline] |
const std::string sc_dt::sc_fxnum_fast_subref::to_string | ( | sc_numrep | numrep | ) | const [inline] |
const std::string sc_dt::sc_fxnum_fast_subref::to_string | ( | sc_numrep | numrep, | |
bool | w_prefix | |||
) | const [inline] |
sc_fxnum.h の 2494 行で定義されています。
02495 { 02496 get(); 02497 return m_bv.to_string( numrep, w_prefix ); 02498 }
sc_dt::sc_fxnum_fast_subref::operator sc_bv_base | ( | ) | const [inline] |
sc_fxnum.h の 2504 行で定義されています。
02505 { 02506 SC_FXNUM_FAST_OBSERVER_READ_( m_num ) 02507 get(); 02508 return m_bv; 02509 }
void sc_dt::sc_fxnum_fast_subref::print | ( | ::std::ostream & | os = ::std::cout |
) | const |
void sc_dt::sc_fxnum_fast_subref::scan | ( | ::std::istream & | is = ::std::cin |
) |
void sc_dt::sc_fxnum_fast_subref::dump | ( | ::std::ostream & | os = ::std::cout |
) | const |
sc_fxnum.cpp の 234 行で定義されています。
00235 { 00236 os << "sc_fxnum_fast_subref" << ::std::endl; 00237 os << "(" << ::std::endl; 00238 os << "num = "; 00239 m_num.dump( os ); 00240 os << "from = " << m_from << ::std::endl; 00241 os << "to = " << m_to << ::std::endl; 00242 os << ")" << ::std::endl; 00243 }
friend class sc_fxnum_fast [friend] |
sc_fxnum.h の 389 行で定義されています。
friend class sc_fxnum_subref [friend] |
sc_fxnum.h の 390 行で定義されています。
sc_fxnum_fast& sc_dt::sc_fxnum_fast_subref::m_num [private] |
sc_fxnum.h の 530 行で定義されています。
int sc_dt::sc_fxnum_fast_subref::m_from [private] |
sc_fxnum.h の 531 行で定義されています。
int sc_dt::sc_fxnum_fast_subref::m_to [private] |
sc_fxnum.h の 532 行で定義されています。
sc_bv_base& sc_dt::sc_fxnum_fast_subref::m_bv [private] |
sc_fxnum.h の 534 行で定義されています。