SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_dt::sc_fxnum_subref Class Reference

Proxy class for part-selection in class sc_fxnum,. More...

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

Public Member Functions

 sc_fxnum_subref (const sc_fxnum_subref &)
 
 ~sc_fxnum_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
 

Friends

class sc_fxnum
 
class sc_fxnum_fast_subref
 

Detailed Description

Proxy class for part-selection in class sc_fxnum,.

behaves like sc_bv_base.

Definition at line 239 of file sc_fxnum.h.

Constructor & Destructor Documentation

◆ sc_fxnum_subref()

sc_dt::sc_fxnum_subref::sc_fxnum_subref ( const sc_fxnum_subref a)
inline

Definition at line 1875 of file sc_fxnum.h.

◆ ~sc_fxnum_subref()

sc_dt::sc_fxnum_subref::~sc_fxnum_subref ( )
inline

Definition at line 1884 of file sc_fxnum.h.

Member Function Documentation

◆ and_reduce()

bool sc_dt::sc_fxnum_subref::and_reduce ( ) const

◆ dump()

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

◆ length()

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

Definition at line 2070 of file sc_fxnum.h.

◆ nand_reduce()

bool sc_dt::sc_fxnum_subref::nand_reduce ( ) const

◆ nor_reduce()

bool sc_dt::sc_fxnum_subref::nor_reduce ( ) const

◆ operator sc_bv_base()

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

Definition at line 2180 of file sc_fxnum.h.

◆ or_reduce()

bool sc_dt::sc_fxnum_subref::or_reduce ( ) const

◆ print()

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

◆ scan()

void sc_dt::sc_fxnum_subref::scan ( ::std::istream &  = ::std::cin)

◆ to_int()

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

Definition at line 2080 of file sc_fxnum.h.

◆ to_int64()

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

Definition at line 2089 of file sc_fxnum.h.

◆ to_long()

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

Definition at line 2116 of file sc_fxnum.h.

◆ to_string() [1/3]

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

Definition at line 2154 of file sc_fxnum.h.

◆ to_string() [2/3]

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

Definition at line 2162 of file sc_fxnum.h.

◆ to_string() [3/3]

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

Definition at line 2170 of file sc_fxnum.h.

◆ to_uint()

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

Definition at line 2098 of file sc_fxnum.h.

◆ to_uint64()

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

Definition at line 2107 of file sc_fxnum.h.

◆ to_ulong()

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

Definition at line 2125 of file sc_fxnum.h.

◆ xnor_reduce()

bool sc_dt::sc_fxnum_subref::xnor_reduce ( ) const

◆ xor_reduce()

bool sc_dt::sc_fxnum_subref::xor_reduce ( ) const

Friends And Related Function Documentation

◆ sc_fxnum

friend class sc_fxnum
friend

Definition at line 241 of file sc_fxnum.h.

◆ sc_fxnum_fast_subref

friend class sc_fxnum_fast_subref
friend

Definition at line 242 of file sc_fxnum.h.


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