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

sc_dt::sc_signed_subref_r Class Reference

#include <sc_signed.h>

Inheritance diagram for sc_dt::sc_signed_subref_r:

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

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~sc_signed_subref_r ()
 sc_signed_subref_r (const sc_signed_subref_r &a)
sc_signed_subref_r * clone () const
int length () const
 operator sc_signed () 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_signed_subref_r (const sc_signed &obj_, int left_, int right_)
 sc_signed_subref_r ()

Protected Attributes

sc_signedm_obj_p
int m_left
int m_right

Friends

class sc_signed
class sc_signed_signal

Constructor & Destructor Documentation

sc_dt::sc_signed_subref_r::sc_signed_subref_r const sc_signed   obj_,
int    left_,
int    right_
[inline, protected]
 

Definition at line 304 of file sc_signed.h.

References CCAST, m_left, m_obj_p, and m_right.

sc_dt::sc_signed_subref_r::sc_signed_subref_r   [inline, protected]
 

Definition at line 308 of file sc_signed.h.

Referenced by clone().

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

Definition at line 316 of file sc_signed.h.

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

Definition at line 321 of file sc_signed.h.

References m_left, m_obj_p, and m_right.


Member Function Documentation

bool sc_dt::sc_signed_subref_r::and_reduce   [inline]
 

Definition at line 1583 of file sc_signed.h.

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

Referenced by nand_reduce().

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

Reimplemented in sc_dt::sc_signed_subref.

Definition at line 328 of file sc_signed.h.

References sc_signed_subref_r().

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 7724 of file sc_signed.cpp.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 7732 of file sc_signed.cpp.

uint64 sc_dt::sc_signed_subref_r::concat_get_uint64   [virtual]
 

Reimplemented from sc_dt::sc_value_base.

Definition at line 7717 of file sc_signed.cpp.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 362 of file sc_signed.h.

References m_left, and m_right.

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

Definition at line 334 of file sc_signed.h.

References m_left, and m_right.

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

bool sc_dt::sc_signed_subref_r::nand_reduce   [inline]
 

Definition at line 1591 of file sc_signed.h.

References and_reduce().

bool sc_dt::sc_signed_subref_r::nor_reduce   [inline]
 

Definition at line 1604 of file sc_signed.h.

References or_reduce().

sc_dt::sc_signed_subref_r::operator sc_signed  
 

Definition at line 7742 of file sc_signed.cpp.

bool sc_dt::sc_signed_subref_r::or_reduce   [inline]
 

Definition at line 1596 of file sc_signed.h.

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

Referenced by nor_reduce().

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

Definition at line 383 of file sc_signed.h.

References to_string().

Referenced by sc_dt::operator<<().

double sc_dt::sc_signed_subref_r::to_double  
 

Definition at line 7793 of file sc_signed.cpp.

int sc_dt::sc_signed_subref_r::to_int  
 

Definition at line 7751 of file sc_signed.cpp.

int64 sc_dt::sc_signed_subref_r::to_int64  
 

Definition at line 7779 of file sc_signed.cpp.

long sc_dt::sc_signed_subref_r::to_long  
 

Definition at line 7765 of file sc_signed.cpp.

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

Definition at line 7811 of file sc_signed.cpp.

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

Definition at line 7803 of file sc_signed.cpp.

Referenced by print().

unsigned int sc_dt::sc_signed_subref_r::to_uint  
 

Definition at line 7758 of file sc_signed.cpp.

uint64 sc_dt::sc_signed_subref_r::to_uint64  
 

Definition at line 7786 of file sc_signed.cpp.

unsigned long sc_dt::sc_signed_subref_r::to_ulong  
 

Definition at line 7772 of file sc_signed.cpp.

bool sc_dt::sc_signed_subref_r::xnor_reduce   [inline]
 

Definition at line 1619 of file sc_signed.h.

References xor_reduce().

bool sc_dt::sc_signed_subref_r::xor_reduce   [inline]
 

Definition at line 1609 of file sc_signed.h.

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

Referenced by xnor_reduce().


Friends And Related Function Documentation

friend class sc_signed [friend]
 

Reimplemented in sc_dt::sc_signed_subref.

Definition at line 297 of file sc_signed.h.

friend class sc_signed_signal [friend]
 

Definition at line 298 of file sc_signed.h.


Member Data Documentation

int sc_dt::sc_signed_subref_r::m_left [protected]
 

Definition at line 389 of file sc_signed.h.

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

sc_signed* sc_dt::sc_signed_subref_r::m_obj_p [protected]
 

Definition at line 388 of file sc_signed.h.

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

int sc_dt::sc_signed_subref_r::m_right [protected]
 

Definition at line 390 of file sc_signed.h.

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


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