SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
sc_dt::sc_fxnum_subref_r Class Reference

#include <sysc/datatypes/fx/sc_fxnum.h>

Inheritance diagram for sc_dt::sc_fxnum_subref_r:
Inheritance graph
[legend]
Collaboration diagram for sc_dt::sc_fxnum_subref_r:
Collaboration graph
[legend]

Public Member Functions

 sc_fxnum_subref_r (const sc_fxnum_subref_r &)
 
 ~sc_fxnum_subref_r ()
 
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
 
std::string to_string () const
 
std::string to_string (sc_numrep) const
 
std::string to_string (sc_numrep, bool) const
 
 operator sc_bv_base () const
 
void print (::std::ostream &=::std::cout) const
 
void dump (::std::ostream &=::std::cout) const
 

Protected Member Functions

bool get () const
 
 sc_fxnum_subref_r (sc_fxnum &, int, int)
 

Protected Attributes

sc_fxnumm_num
 
int m_from
 
int m_to
 
sc_bv_basem_bv
 

Friends

class sc_fxnum
 

Detailed Description

Definition at line 255 of file sc_fxnum.h.

Constructor & Destructor Documentation

◆ sc_fxnum_subref_r() [1/2]

sc_dt::sc_fxnum_subref_r::sc_fxnum_subref_r ( sc_fxnum num_,
int  from_,
int  to_ 
)
inlineprotected

Definition at line 1906 of file sc_fxnum.h.

◆ sc_fxnum_subref_r() [2/2]

sc_dt::sc_fxnum_subref_r::sc_fxnum_subref_r ( const sc_fxnum_subref_r a)
inline

Definition at line 1914 of file sc_fxnum.h.

◆ ~sc_fxnum_subref_r()

sc_dt::sc_fxnum_subref_r::~sc_fxnum_subref_r ( )
inline

Definition at line 1920 of file sc_fxnum.h.

Member Function Documentation

◆ and_reduce()

bool sc_dt::sc_fxnum_subref_r::and_reduce ( ) const

◆ dump()

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

◆ get()

bool sc_dt::sc_fxnum_subref_r::get ( ) const
protected

◆ length()

int sc_dt::sc_fxnum_subref_r::length ( ) const
inline

Definition at line 2001 of file sc_fxnum.h.

◆ nand_reduce()

bool sc_dt::sc_fxnum_subref_r::nand_reduce ( ) const

◆ nor_reduce()

bool sc_dt::sc_fxnum_subref_r::nor_reduce ( ) const

◆ operator sc_bv_base()

sc_dt::sc_fxnum_subref_r::operator sc_bv_base ( ) const
inline

Definition at line 2110 of file sc_fxnum.h.

◆ or_reduce()

bool sc_dt::sc_fxnum_subref_r::or_reduce ( ) const

◆ print()

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

◆ to_int()

int sc_dt::sc_fxnum_subref_r::to_int ( ) const
inline

Definition at line 2011 of file sc_fxnum.h.

◆ to_int64()

int64 sc_dt::sc_fxnum_subref_r::to_int64 ( ) const
inline

Definition at line 2020 of file sc_fxnum.h.

◆ to_long()

long sc_dt::sc_fxnum_subref_r::to_long ( ) const
inline

Definition at line 2047 of file sc_fxnum.h.

◆ to_string() [1/3]

std::string sc_dt::sc_fxnum_subref_r::to_string ( ) const
inline

Definition at line 2085 of file sc_fxnum.h.

◆ to_string() [2/3]

std::string sc_dt::sc_fxnum_subref_r::to_string ( sc_numrep  numrep) const
inline

Definition at line 2093 of file sc_fxnum.h.

◆ to_string() [3/3]

std::string sc_dt::sc_fxnum_subref_r::to_string ( sc_numrep  numrep,
bool  w_prefix 
) const
inline

Definition at line 2101 of file sc_fxnum.h.

◆ to_uint()

unsigned int sc_dt::sc_fxnum_subref_r::to_uint ( ) const
inline

Definition at line 2029 of file sc_fxnum.h.

◆ to_uint64()

uint64 sc_dt::sc_fxnum_subref_r::to_uint64 ( ) const
inline

Definition at line 2038 of file sc_fxnum.h.

◆ to_ulong()

unsigned long sc_dt::sc_fxnum_subref_r::to_ulong ( ) const
inline

Definition at line 2056 of file sc_fxnum.h.

◆ xnor_reduce()

bool sc_dt::sc_fxnum_subref_r::xnor_reduce ( ) const

◆ xor_reduce()

bool sc_dt::sc_fxnum_subref_r::xor_reduce ( ) const

Friends And Related Function Documentation

◆ sc_fxnum

friend class sc_fxnum
friend

Definition at line 257 of file sc_fxnum.h.

Member Data Documentation

◆ m_bv

sc_bv_base& sc_dt::sc_fxnum_subref_r::m_bv
protected

Definition at line 355 of file sc_fxnum.h.

◆ m_from

int sc_dt::sc_fxnum_subref_r::m_from
protected

Definition at line 352 of file sc_fxnum.h.

◆ m_num

sc_fxnum& sc_dt::sc_fxnum_subref_r::m_num
protected

Definition at line 351 of file sc_fxnum.h.

◆ m_to

int sc_dt::sc_fxnum_subref_r::m_to
protected

Definition at line 353 of file sc_fxnum.h.


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