gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
sc_dt::sc_fxnum_fast_bitref Class Reference

#include <sc_fxnum.hh>

Public Member Functions

 sc_fxnum_fast_bitref (const sc_fxnum_fast_bitref &)
 
 operator bool () const
 
void print (::std::ostream &=::std::cout) const
 
void scan (::std::istream &=::std::cin)
 
void dump (::std::ostream &=::std::cout) const
 

Private Member Functions

bool get () const
 
void set (bool)
 
 sc_fxnum_fast_bitref (sc_fxnum_fast &, int)
 
 sc_fxnum_fast_bitref ()
 

Private Attributes

sc_fxnum_fastm_num
 
int m_idx
 

Friends

class sc_fxnum_fast
 
class sc_fxnum_bitref
 

Detailed Description

Definition at line 155 of file sc_fxnum.hh.

Constructor & Destructor Documentation

◆ sc_fxnum_fast_bitref() [1/3]

sc_dt::sc_fxnum_fast_bitref::sc_fxnum_fast_bitref ( sc_fxnum_fast & num_,
int idx_ )
inlineprivate

Definition at line 1398 of file sc_fxnum.hh.

References m_idx, m_num, and sc_fxnum_fast.

Referenced by sc_fxnum_bitref, and sc_fxnum_fast_bitref().

◆ sc_fxnum_fast_bitref() [2/3]

sc_dt::sc_fxnum_fast_bitref::sc_fxnum_fast_bitref ( const sc_fxnum_fast_bitref & a)
inline

Definition at line 1403 of file sc_fxnum.hh.

References a, m_idx, m_num, and sc_fxnum_fast_bitref().

◆ sc_fxnum_fast_bitref() [3/3]

sc_dt::sc_fxnum_fast_bitref::sc_fxnum_fast_bitref ( )
private

Member Function Documentation

◆ dump()

void sc_dt::sc_fxnum_fast_bitref::dump ( ::std::ostream & os = ::std::cout) const

Definition at line 115 of file sc_fxnum.cc.

References m_idx, and m_num.

◆ get()

bool sc_dt::sc_fxnum_fast_bitref::get ( ) const
private

Definition at line 100 of file sc_fxnum.cc.

References m_idx, and m_num.

Referenced by operator bool(), and print().

◆ operator bool()

sc_dt::sc_fxnum_fast_bitref::operator bool ( ) const
inline

Definition at line 1563 of file sc_fxnum.hh.

References get(), m_num, and SC_FXNUM_FAST_OBSERVER_READ_.

◆ print()

void sc_dt::sc_fxnum_fast_bitref::print ( ::std::ostream & os = ::std::cout) const

Definition at line 104 of file sc_fxnum.cc.

References get().

◆ scan()

void sc_dt::sc_fxnum_fast_bitref::scan ( ::std::istream & is = ::std::cin)

Definition at line 107 of file sc_fxnum.cc.

References b.

◆ set()

void sc_dt::sc_fxnum_fast_bitref::set ( bool high)
private

Definition at line 101 of file sc_fxnum.cc.

References m_idx, and m_num.

Friends And Related Symbol Documentation

◆ sc_fxnum_bitref

friend class sc_fxnum_bitref
friend

Definition at line 158 of file sc_fxnum.hh.

References DECL_ASN_OP, sc_fxnum_bitref, sc_fxnum_fast, and sc_fxnum_fast_bitref().

Referenced by sc_fxnum_bitref.

◆ sc_fxnum_fast

friend class sc_fxnum_fast
friend

Definition at line 157 of file sc_fxnum.hh.

References sc_fxnum_fast.

Referenced by sc_fxnum_bitref, sc_fxnum_fast, and sc_fxnum_fast_bitref().

Member Data Documentation

◆ m_idx

int sc_dt::sc_fxnum_fast_bitref::m_idx
private

Definition at line 198 of file sc_fxnum.hh.

Referenced by dump(), get(), sc_fxnum_fast_bitref(), sc_fxnum_fast_bitref(), and set().

◆ m_num

sc_fxnum_fast& sc_dt::sc_fxnum_fast_bitref::m_num
private

Definition at line 197 of file sc_fxnum.hh.

Referenced by dump(), get(), operator bool(), sc_fxnum_fast_bitref(), sc_fxnum_fast_bitref(), and set().


The documentation for this class was generated from the following files:

Generated on Mon May 26 2025 09:20:44 for gem5 by doxygen 1.13.2