SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
sc_dt::sc_unsigned_subref_r Class Reference

#include <sysc/datatypes/int/sc_unsigned.h>

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

Public Member Functions

virtual ~sc_unsigned_subref_r ()
 
 sc_unsigned_subref_r (const sc_unsigned_subref_r &a)
 
int length () const
 
 operator sc_unsigned () 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
 
double to_double () const
 
const std::string to_string (sc_numrep numrep=SC_DEC) const
 
const std::string to_string (sc_numrep numrep, bool w_prefix) const
 
virtual int concat_length (bool *xz_present_p) const
 
virtual uint64 concat_get_uint64 () const
 
virtual bool concat_get_ctrl (sc_digit *dst_p, int low_i) const
 
virtual bool concat_get_data (sc_digit *dst_p, int low_i) const
 
bool and_reduce () const
 
bool nand_reduce () const
 
bool or_reduce () const
 
bool nor_reduce () const
 
bool xor_reduce () const
 
bool xnor_reduce () const
 
void print (::std::ostream &os=::std::cout) const
 
- Public Member Functions inherited from sc_dt::sc_value_base
virtual ~sc_value_base ()
 

Protected Member Functions

 sc_unsigned_subref_r ()
 
void initialize (const sc_unsigned *obj_p, int left_, int right_)
 

Protected Attributes

int m_left
 
sc_unsignedm_obj_p
 
int m_right
 

Friends

class sc_signed
 
class sc_unsigned
 
class sc_unsigned_signal
 

Detailed Description

Definition at line 795 of file sc_unsigned.h.

Constructor & Destructor Documentation

sc_dt::sc_unsigned_subref_r::sc_unsigned_subref_r ( )
inlineprotected

Definition at line 805 of file sc_unsigned.h.

virtual sc_dt::sc_unsigned_subref_r::~sc_unsigned_subref_r ( )
inlinevirtual

Definition at line 819 of file sc_unsigned.h.

sc_dt::sc_unsigned_subref_r::sc_unsigned_subref_r ( const sc_unsigned_subref_r a)
inline

Definition at line 825 of file sc_unsigned.h.

Member Function Documentation

bool sc_dt::sc_unsigned_subref_r::and_reduce ( ) const
inline

Definition at line 2061 of file sc_unsigned.h.

virtual bool sc_dt::sc_unsigned_subref_r::concat_get_ctrl ( sc_digit dst_p,
int  low_i 
) const
virtual

Reimplemented from sc_dt::sc_value_base.

virtual bool sc_dt::sc_unsigned_subref_r::concat_get_data ( sc_digit dst_p,
int  low_i 
) const
virtual

Reimplemented from sc_dt::sc_value_base.

virtual uint64 sc_dt::sc_unsigned_subref_r::concat_get_uint64 ( ) const
virtual

Reimplemented from sc_dt::sc_value_base.

virtual int sc_dt::sc_unsigned_subref_r::concat_length ( bool *  xz_present_p) const
inlinevirtual

Reimplemented from sc_dt::sc_value_base.

Definition at line 861 of file sc_unsigned.h.

void sc_dt::sc_unsigned_subref_r::initialize ( const sc_unsigned obj_p,
int  left_,
int  right_ 
)
inlineprotected

Definition at line 808 of file sc_unsigned.h.

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

Definition at line 833 of file sc_unsigned.h.

bool sc_dt::sc_unsigned_subref_r::nand_reduce ( ) const
inline

Definition at line 2069 of file sc_unsigned.h.

bool sc_dt::sc_unsigned_subref_r::nor_reduce ( ) const
inline

Definition at line 2082 of file sc_unsigned.h.

sc_dt::sc_unsigned_subref_r::operator sc_unsigned ( ) const
bool sc_dt::sc_unsigned_subref_r::or_reduce ( ) const
inline

Definition at line 2074 of file sc_unsigned.h.

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

Definition at line 881 of file sc_unsigned.h.

double sc_dt::sc_unsigned_subref_r::to_double ( ) const
int sc_dt::sc_unsigned_subref_r::to_int ( ) const
int64 sc_dt::sc_unsigned_subref_r::to_int64 ( ) const
long sc_dt::sc_unsigned_subref_r::to_long ( ) const
const std::string sc_dt::sc_unsigned_subref_r::to_string ( sc_numrep  numrep = SC_DEC) const
const std::string sc_dt::sc_unsigned_subref_r::to_string ( sc_numrep  numrep,
bool  w_prefix 
) const
unsigned int sc_dt::sc_unsigned_subref_r::to_uint ( ) const
uint64 sc_dt::sc_unsigned_subref_r::to_uint64 ( ) const
unsigned long sc_dt::sc_unsigned_subref_r::to_ulong ( ) const
bool sc_dt::sc_unsigned_subref_r::xnor_reduce ( ) const
inline

Definition at line 2097 of file sc_unsigned.h.

bool sc_dt::sc_unsigned_subref_r::xor_reduce ( ) const
inline

Definition at line 2087 of file sc_unsigned.h.

Friends And Related Function Documentation

friend class sc_signed
friend

Definition at line 797 of file sc_unsigned.h.

friend class sc_unsigned
friend

Definition at line 798 of file sc_unsigned.h.

friend class sc_unsigned_signal
friend

Definition at line 799 of file sc_unsigned.h.

Member Data Documentation

int sc_dt::sc_unsigned_subref_r::m_left
protected

Definition at line 886 of file sc_unsigned.h.

sc_unsigned* sc_dt::sc_unsigned_subref_r::m_obj_p
protected

Definition at line 887 of file sc_unsigned.h.

int sc_dt::sc_unsigned_subref_r::m_right
protected

Definition at line 888 of file sc_unsigned.h.


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