#include <scfx_mant.h>
Public メソッド | |
scfx_mant_ref () | |
scfx_mant_ref (const scfx_mant &) | |
scfx_mant_ref (scfx_mant *) | |
scfx_mant_ref & | operator= (const scfx_mant &) |
scfx_mant_ref & | operator= (scfx_mant *) |
~scfx_mant_ref () | |
operator scfx_mant & () | |
word | operator[] (int) |
Private メソッド | |
void | remove_it () |
scfx_mant_ref (const scfx_mant_ref &) | |
scfx_mant_ref & | operator= (const scfx_mant_ref &) |
void * | operator new (std::size_t sz) |
Private 変数 | |
scfx_mant * | m_mant |
bool | m_not_const |
scfx_mant.h の 374 行で定義されています。
sc_dt::scfx_mant_ref::scfx_mant_ref | ( | ) | [inline] |
sc_dt::scfx_mant_ref::scfx_mant_ref | ( | const scfx_mant & | mant | ) | [inline] |
scfx_mant.h の 425 行で定義されています。
00426 : m_mant( const_cast<scfx_mant*>( &mant ) ), m_not_const( false ) 00427 {}
sc_dt::scfx_mant_ref::scfx_mant_ref | ( | scfx_mant * | mant | ) | [inline] |
sc_dt::scfx_mant_ref::~scfx_mant_ref | ( | ) | [inline] |
sc_dt::scfx_mant_ref::scfx_mant_ref | ( | const scfx_mant_ref & | ) | [private] |
scfx_mant_ref & sc_dt::scfx_mant_ref::operator= | ( | const scfx_mant & | mant | ) | [inline] |
scfx_mant.h の 436 行で定義されています。
00437 { 00438 remove_it(); 00439 00440 m_mant = const_cast<scfx_mant*>( &mant ); 00441 m_not_const = false; 00442 00443 return *this; 00444 }
scfx_mant_ref & sc_dt::scfx_mant_ref::operator= | ( | scfx_mant * | mant | ) | [inline] |
scfx_mant.h の 448 行で定義されています。
00449 { 00450 remove_it(); 00451 00452 m_mant = mant; 00453 m_not_const = true; 00454 00455 return *this; 00456 }
sc_dt::scfx_mant_ref::operator scfx_mant & | ( | ) | [inline] |
scfx_mant.h の 465 行で定義されています。
00466 { 00467 // SC_ASSERT_( m_not_const, "not allowed to modify mant" ); 00468 return *m_mant; 00469 }
word sc_dt::scfx_mant_ref::operator[] | ( | int | i | ) | [inline] |
void sc_dt::scfx_mant_ref::remove_it | ( | ) | [inline, private] |
scfx_mant.h の 411 行で定義されています。
00412 { 00413 if( m_not_const ) 00414 { 00415 delete m_mant; 00416 } 00417 }
scfx_mant_ref& sc_dt::scfx_mant_ref::operator= | ( | const scfx_mant_ref & | ) | [private] |
void* sc_dt::scfx_mant_ref::operator new | ( | std::size_t | sz | ) | [inline, private] |
scfx_mant* sc_dt::scfx_mant_ref::m_mant [private] |
scfx_mant.h の 377 行で定義されています。
bool sc_dt::scfx_mant_ref::m_not_const [private] |
scfx_mant.h の 378 行で定義されています。