Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

sc_dt::sc_uint_subref_r Class Reference

#include <sc_uint_base.h>

Inheritance diagram for sc_dt::sc_uint_subref_r:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 sc_uint_subref_r (const sc_uint_subref_r &a)
virtual ~sc_uint_subref_r ()
sc_uint_subref_r * clone () const
int length () const
virtual int concat_length (bool *xz_present_p) const
virtual bool concat_get_ctrl (unsigned long *dst_p, int low_i) const
virtual bool concat_get_data (unsigned long *dst_p, int low_i) const
virtual uint64 concat_get_uint64 () 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
 operator uint_type () const
uint_type value () 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 sc_string to_string (sc_numrep numrep=SC_DEC) const
const sc_string to_string (sc_numrep numrep, bool w_prefix) const
void print (ostream &os=cout) const

Protected Methods

 sc_uint_subref_r (const sc_uint_base &obj_, int left_, int right_)
 sc_uint_subref_r ()

Protected Attributes

sc_uint_basem_obj_p
int m_left
int m_right

Friends

class sc_uint_base

Constructor & Destructor Documentation

sc_dt::sc_uint_subref_r::sc_uint_subref_r const sc_uint_base   obj_,
int    left_,
int    right_
[inline, protected]
 

Definition at line 297 of file sc_uint_base.h.

References CCAST, m_left, m_obj_p, and m_right.

sc_dt::sc_uint_subref_r::sc_uint_subref_r   [inline, protected]
 

Definition at line 301 of file sc_uint_base.h.

References m_obj_p.

Referenced by clone().

sc_dt::sc_uint_subref_r::sc_uint_subref_r const sc_uint_subref_r &    a [inline]
 

Definition at line 308 of file sc_uint_base.h.

References m_left, m_obj_p, and m_right.

virtual sc_dt::sc_uint_subref_r::~sc_uint_subref_r   [inline, virtual]
 

Definition at line 314 of file sc_uint_base.h.


Member Function Documentation

bool sc_dt::sc_uint_subref_r::and_reduce   [inline]
 

Definition at line 985 of file sc_uint_base.h.

References sc_dt::sc_uint_base::and_reduce().

Referenced by sc_dt::and_reduce(), and nand_reduce().

sc_uint_subref_r* sc_dt::sc_uint_subref_r::clone   const [inline]
 

Reimplemented in sc_dt::sc_uint_subref.

Definition at line 319 of file sc_uint_base.h.

References sc_uint_subref_r().

bool sc_dt::sc_uint_subref_r::concat_get_ctrl unsigned long *    dst_p,
int    low_i
const [virtual]
 

Reimplemented from sc_dt::sc_value_base.

Definition at line 125 of file sc_uint_base.cpp.

References BITS_PER_DIGIT, m_left, m_right, and sc_dt::uint_type.

bool sc_dt::sc_uint_subref_r::concat_get_data unsigned long *    dst_p,
int    low_i
const [virtual]
 

Reimplemented from sc_dt::sc_value_base.

Definition at line 145 of file sc_uint_base.cpp.

References BITS_PER_DIGIT, DIGIT_MASK, m_left, m_obj_p, m_right, sc_dt::sc_uint_base::m_val, sc_dt::mask_int, and sc_dt::uint_type.

virtual uint64 sc_dt::sc_uint_subref_r::concat_get_uint64   const [inline, virtual]
 

Reimplemented from sc_dt::sc_value_base.

Definition at line 339 of file sc_uint_base.h.

References operator uint_type(), and sc_dt::uint64.

virtual int sc_dt::sc_uint_subref_r::concat_length bool *    xz_present_p const [inline, virtual]
 

Reimplemented from sc_dt::sc_value_base.

Definition at line 335 of file sc_uint_base.h.

References length().

int sc_dt::sc_uint_subref_r::length   const [inline]
 

Definition at line 325 of file sc_uint_base.h.

References m_left, and m_right.

Referenced by concat_length(), sc_dt::sc_uint_subref::concat_set(), and sc_dt::sc_uint_subref::operator=().

bool sc_dt::sc_uint_subref_r::nand_reduce   const [inline]
 

Definition at line 347 of file sc_uint_base.h.

References and_reduce().

Referenced by sc_dt::nand_reduce().

bool sc_dt::sc_uint_subref_r::nor_reduce   const [inline]
 

Definition at line 352 of file sc_uint_base.h.

References or_reduce().

Referenced by sc_dt::nor_reduce().

sc_dt::sc_uint_subref_r::operator uint_type   [inline]
 

Definition at line 973 of file sc_uint_base.h.

References m_left, m_obj_p, m_right, sc_dt::sc_uint_base::m_val, SC_INTWIDTH, sc_dt::uint_type, and sc_dt::UINT_ZERO.

Referenced by concat_get_uint64(), and value().

bool sc_dt::sc_uint_subref_r::or_reduce   [inline]
 

Definition at line 993 of file sc_uint_base.h.

References sc_dt::sc_uint_base::or_reduce().

Referenced by nor_reduce(), and sc_dt::or_reduce().

void sc_dt::sc_uint_subref_r::print ostream &    os = cout const [inline]
 

Definition at line 389 of file sc_uint_base.h.

References to_string().

Referenced by sc_dt::operator<<().

double sc_dt::sc_uint_subref_r::to_double   [inline]
 

Definition at line 1060 of file sc_uint_base.h.

References sc_dt::sc_uint_base::to_double().

int sc_dt::sc_uint_subref_r::to_int   [inline]
 

Definition at line 1012 of file sc_uint_base.h.

References sc_dt::sc_uint_base::to_int().

int64 sc_dt::sc_uint_subref_r::to_int64   [inline]
 

Definition at line 1044 of file sc_uint_base.h.

References sc_dt::sc_uint_base::to_int64().

long sc_dt::sc_uint_subref_r::to_long   [inline]
 

Definition at line 1028 of file sc_uint_base.h.

References sc_dt::sc_uint_base::to_long().

const sc_string sc_dt::sc_uint_subref_r::to_string sc_numrep    numrep,
bool    w_prefix
const [inline]
 

Definition at line 1079 of file sc_uint_base.h.

References sc_numrep, and sc_dt::sc_uint_base::to_string().

const sc_string sc_dt::sc_uint_subref_r::to_string sc_numrep    numrep = SC_DEC const [inline]
 

Definition at line 1071 of file sc_uint_base.h.

References sc_numrep, and sc_dt::sc_uint_base::to_string().

Referenced by print().

unsigned int sc_dt::sc_uint_subref_r::to_uint   [inline]
 

Definition at line 1020 of file sc_uint_base.h.

References sc_dt::sc_uint_base::to_uint().

uint64 sc_dt::sc_uint_subref_r::to_uint64   [inline]
 

Definition at line 1052 of file sc_uint_base.h.

References sc_dt::sc_uint_base::to_uint64().

unsigned long sc_dt::sc_uint_subref_r::to_ulong   [inline]
 

Definition at line 1036 of file sc_uint_base.h.

References sc_dt::sc_uint_base::to_ulong().

uint_type sc_dt::sc_uint_subref_r::value   const [inline]
 

Definition at line 368 of file sc_uint_base.h.

References operator uint_type(), and sc_dt::uint_type.

bool sc_dt::sc_uint_subref_r::xnor_reduce   const [inline]
 

Definition at line 357 of file sc_uint_base.h.

References xor_reduce().

Referenced by sc_dt::xnor_reduce().

bool sc_dt::sc_uint_subref_r::xor_reduce   [inline]
 

Definition at line 1001 of file sc_uint_base.h.

References sc_dt::sc_uint_base::xor_reduce().

Referenced by xnor_reduce(), and sc_dt::xor_reduce().


Friends And Related Function Documentation

friend class sc_uint_base [friend]
 

Reimplemented in sc_dt::sc_uint_subref.

Definition at line 291 of file sc_uint_base.h.


Member Data Documentation

int sc_dt::sc_uint_subref_r::m_left [protected]
 

Definition at line 395 of file sc_uint_base.h.

Referenced by concat_get_ctrl(), concat_get_data(), length(), operator uint_type(), sc_dt::sc_uint_subref::operator=(), and sc_uint_subref_r().

sc_uint_base* sc_dt::sc_uint_subref_r::m_obj_p [protected]
 

Definition at line 394 of file sc_uint_base.h.

Referenced by concat_get_data(), operator uint_type(), sc_dt::sc_uint_subref::operator=(), and sc_uint_subref_r().

int sc_dt::sc_uint_subref_r::m_right [protected]
 

Definition at line 396 of file sc_uint_base.h.

Referenced by concat_get_ctrl(), concat_get_data(), length(), operator uint_type(), sc_dt::sc_uint_subref::operator=(), and sc_uint_subref_r().


The documentation for this class was generated from the following files:
Generated on Fri Jan 14 08:32:41 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18