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

sc_dt::sc_unsigned_subref_r Class Reference

#include <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 Methods

virtual ~sc_unsigned_subref_r ()
 sc_unsigned_subref_r (const sc_unsigned_subref_r &a)
sc_unsigned_subref_r * clone () const
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 sc_string to_string (sc_numrep numrep=SC_DEC) const
const sc_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 (unsigned long *dst_p, int low_i) const
virtual bool concat_get_data (unsigned long *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 (ostream &os=cout) const

Protected Methods

 sc_unsigned_subref_r (const sc_unsigned &obj_, int left_, int right_)
 sc_unsigned_subref_r ()

Protected Attributes

sc_unsignedm_obj_p
int m_left
int m_right

Friends

class sc_unsigned
class sc_unsigned_signal

Constructor & Destructor Documentation

sc_dt::sc_unsigned_subref_r::sc_unsigned_subref_r const sc_unsigned   obj_,
int    left_,
int    right_
[inline, protected]
 

Definition at line 307 of file sc_unsigned.h.

References CCAST, m_left, m_obj_p, and m_right.

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

Definition at line 311 of file sc_unsigned.h.

Referenced by clone().

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

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

References m_left, m_obj_p, and m_right.


Member Function Documentation

bool sc_dt::sc_unsigned_subref_r::and_reduce   [inline]
 

Definition at line 1487 of file sc_unsigned.h.

References m_left, m_obj_p, m_right, and sc_dt::sc_unsigned::test().

Referenced by nand_reduce().

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

Reimplemented in sc_dt::sc_unsigned_subref.

Definition at line 331 of file sc_unsigned.h.

References sc_unsigned_subref_r().

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 5773 of file sc_unsigned.cpp.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 5780 of file sc_unsigned.cpp.

uint64 sc_dt::sc_unsigned_subref_r::concat_get_uint64   [virtual]
 

Reimplemented from sc_dt::sc_value_base.

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

References m_left, and m_right.

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

Definition at line 337 of file sc_unsigned.h.

References m_left, and m_right.

Referenced by sc_dt::sc_unsigned_subref::operator=().

bool sc_dt::sc_unsigned_subref_r::nand_reduce   [inline]
 

Definition at line 1495 of file sc_unsigned.h.

References and_reduce().

bool sc_dt::sc_unsigned_subref_r::nor_reduce   [inline]
 

Definition at line 1508 of file sc_unsigned.h.

References or_reduce().

sc_dt::sc_unsigned_subref_r::operator sc_unsigned  
 

Definition at line 5790 of file sc_unsigned.cpp.

bool sc_dt::sc_unsigned_subref_r::or_reduce   [inline]
 

Definition at line 1500 of file sc_unsigned.h.

References m_left, m_obj_p, m_right, and sc_dt::sc_unsigned::test().

Referenced by nor_reduce().

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

Definition at line 385 of file sc_unsigned.h.

References to_string().

Referenced by sc_dt::operator<<().

double sc_dt::sc_unsigned_subref_r::to_double  
 

Definition at line 5841 of file sc_unsigned.cpp.

int sc_dt::sc_unsigned_subref_r::to_int  
 

Definition at line 5799 of file sc_unsigned.cpp.

int64 sc_dt::sc_unsigned_subref_r::to_int64  
 

Definition at line 5827 of file sc_unsigned.cpp.

long sc_dt::sc_unsigned_subref_r::to_long  
 

Definition at line 5813 of file sc_unsigned.cpp.

const sc_string sc_dt::sc_unsigned_subref_r::to_string sc_numrep    numrep,
bool    w_prefix
const
 

Definition at line 5859 of file sc_unsigned.cpp.

const sc_string sc_dt::sc_unsigned_subref_r::to_string sc_numrep    numrep = SC_DEC const
 

Definition at line 5851 of file sc_unsigned.cpp.

Referenced by print().

unsigned int sc_dt::sc_unsigned_subref_r::to_uint  
 

Definition at line 5806 of file sc_unsigned.cpp.

uint64 sc_dt::sc_unsigned_subref_r::to_uint64  
 

Definition at line 5834 of file sc_unsigned.cpp.

unsigned long sc_dt::sc_unsigned_subref_r::to_ulong  
 

Definition at line 5820 of file sc_unsigned.cpp.

bool sc_dt::sc_unsigned_subref_r::xnor_reduce   [inline]
 

Definition at line 1523 of file sc_unsigned.h.

References xor_reduce().

bool sc_dt::sc_unsigned_subref_r::xor_reduce   [inline]
 

Definition at line 1513 of file sc_unsigned.h.

References m_left, m_obj_p, m_right, and sc_dt::sc_unsigned::test().

Referenced by xnor_reduce().


Friends And Related Function Documentation

friend class sc_unsigned [friend]
 

Reimplemented in sc_dt::sc_unsigned_subref.

Definition at line 300 of file sc_unsigned.h.

friend class sc_unsigned_signal [friend]
 

Definition at line 301 of file sc_unsigned.h.


Member Data Documentation

int sc_dt::sc_unsigned_subref_r::m_left [protected]
 

Definition at line 391 of file sc_unsigned.h.

Referenced by and_reduce(), concat_length(), length(), or_reduce(), sc_unsigned_subref_r(), and xor_reduce().

sc_unsigned* sc_dt::sc_unsigned_subref_r::m_obj_p [protected]
 

Definition at line 390 of file sc_unsigned.h.

Referenced by and_reduce(), or_reduce(), sc_unsigned_subref_r(), and xor_reduce().

int sc_dt::sc_unsigned_subref_r::m_right [protected]
 

Definition at line 392 of file sc_unsigned.h.

Referenced by and_reduce(), concat_length(), length(), or_reduce(), sc_unsigned_subref_r(), and xor_reduce().


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