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]

List of all members.

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

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 782 of file sc_unsigned.h.


Constructor & Destructor Documentation

sc_dt::sc_unsigned_subref_r::sc_unsigned_subref_r (  )  [inline, protected]

Definition at line 792 of file sc_unsigned.h.

virtual sc_dt::sc_unsigned_subref_r::~sc_unsigned_subref_r (  )  [inline, virtual]

Definition at line 806 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 812 of file sc_unsigned.h.


Member Function Documentation

void sc_dt::sc_unsigned_subref_r::initialize ( const sc_unsigned obj_p,
int  left_,
int  right_ 
) [inline, protected]

Definition at line 795 of file sc_unsigned.h.

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

Definition at line 819 of file sc_unsigned.h.

sc_dt::sc_unsigned_subref_r::operator sc_unsigned (  )  const

Definition at line 6097 of file sc_unsigned.cpp.

int sc_dt::sc_unsigned_subref_r::to_int (  )  const

Definition at line 6106 of file sc_unsigned.cpp.

unsigned int sc_dt::sc_unsigned_subref_r::to_uint (  )  const

Definition at line 6113 of file sc_unsigned.cpp.

long sc_dt::sc_unsigned_subref_r::to_long (  )  const

Definition at line 6120 of file sc_unsigned.cpp.

unsigned long sc_dt::sc_unsigned_subref_r::to_ulong (  )  const

Definition at line 6127 of file sc_unsigned.cpp.

int64 sc_dt::sc_unsigned_subref_r::to_int64 (  )  const

Definition at line 6134 of file sc_unsigned.cpp.

uint64 sc_dt::sc_unsigned_subref_r::to_uint64 (  )  const

Definition at line 6141 of file sc_unsigned.cpp.

double sc_dt::sc_unsigned_subref_r::to_double (  )  const

Definition at line 6148 of file sc_unsigned.cpp.

const std::string sc_dt::sc_unsigned_subref_r::to_string ( sc_numrep  numrep = SC_DEC  )  const

Definition at line 6158 of file sc_unsigned.cpp.

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

Definition at line 6166 of file sc_unsigned.cpp.

virtual int sc_dt::sc_unsigned_subref_r::concat_length ( bool *  xz_present_p  )  const [inline, virtual]

Reimplemented from sc_dt::sc_value_base.

Definition at line 847 of file sc_unsigned.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 6073 of file sc_unsigned.cpp.

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.

Definition at line 6080 of file sc_unsigned.cpp.

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.

Definition at line 6087 of file sc_unsigned.cpp.

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

Definition at line 2047 of file sc_unsigned.h.

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

Definition at line 2055 of file sc_unsigned.h.

bool sc_dt::sc_unsigned_subref_r::or_reduce (  )  const [inline]

Definition at line 2060 of file sc_unsigned.h.

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

Definition at line 2068 of file sc_unsigned.h.

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

Definition at line 2073 of file sc_unsigned.h.

bool sc_dt::sc_unsigned_subref_r::xnor_reduce (  )  const [inline]

Definition at line 2083 of file sc_unsigned.h.

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

Definition at line 867 of file sc_unsigned.h.


Friends And Related Function Documentation

friend class sc_signed [friend]

Definition at line 784 of file sc_unsigned.h.

friend class sc_unsigned [friend]

Reimplemented in sc_dt::sc_unsigned_subref.

Definition at line 785 of file sc_unsigned.h.

friend class sc_unsigned_signal [friend]

Definition at line 786 of file sc_unsigned.h.


Member Data Documentation

Definition at line 872 of file sc_unsigned.h.

Definition at line 873 of file sc_unsigned.h.

Definition at line 874 of file sc_unsigned.h.


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

Generated on Wed Jan 21 15:32:22 2009 for SystemC by  doxygen 1.5.5