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

sc_dt::sc_int_subref_r Class Reference

#include <sc_int_base.h>

Inheritance diagram for sc_dt::sc_int_subref_r:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 sc_int_subref_r (const sc_int_subref_r &a)
virtual ~sc_int_subref_r ()
sc_int_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_int_subref_r (const sc_int_base &obj_, int left_, int right_)
 sc_int_subref_r ()

Protected Attributes

sc_int_basem_obj_p
int m_left
int m_right

Friends

class sc_int_base
class sc_int_signal

Constructor & Destructor Documentation

sc_dt::sc_int_subref_r::sc_int_subref_r const sc_int_base   obj_,
int    left_,
int    right_
[inline, protected]
 

Definition at line 296 of file sc_int_base.h.

References CCAST, m_left, m_obj_p, and m_right.

sc_dt::sc_int_subref_r::sc_int_subref_r   [inline, protected]
 

Definition at line 300 of file sc_int_base.h.

Referenced by clone().

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

Definition at line 308 of file sc_int_base.h.

References m_left, m_obj_p, and m_right.

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

Definition at line 314 of file sc_int_base.h.


Member Function Documentation

bool sc_dt::sc_int_subref_r::and_reduce   [inline]
 

Definition at line 1000 of file sc_int_base.h.

References sc_dt::sc_int_base::and_reduce().

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

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

Reimplemented in sc_dt::sc_int_subref.

Definition at line 319 of file sc_int_base.h.

References sc_int_subref_r().

bool sc_dt::sc_int_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_int_base.cpp.

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

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 171 of file sc_int_base.cpp.

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

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 339 of file sc_int_base.h.

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

virtual int sc_dt::sc_int_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_int_base.h.

References length().

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

Definition at line 325 of file sc_int_base.h.

References m_left, and m_right.

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

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

Definition at line 353 of file sc_int_base.h.

References and_reduce().

Referenced by sc_dt::nand_reduce().

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

Definition at line 358 of file sc_int_base.h.

References or_reduce().

Referenced by sc_dt::nor_reduce().

sc_dt::sc_int_subref_r::operator uint_type   [inline]
 

Definition at line 987 of file sc_int_base.h.

References sc_dt::int_type, m_left, m_obj_p, m_right, sc_dt::sc_int_base::m_val, and SC_INTWIDTH.

Referenced by concat_get_uint64(), and value().

bool sc_dt::sc_int_subref_r::or_reduce   [inline]
 

Definition at line 1008 of file sc_int_base.h.

References sc_dt::sc_int_base::or_reduce().

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

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

Definition at line 395 of file sc_int_base.h.

References to_string().

Referenced by sc_dt::operator<<().

double sc_dt::sc_int_subref_r::to_double   [inline]
 

Definition at line 1075 of file sc_int_base.h.

References sc_dt::sc_int_base::to_double().

int sc_dt::sc_int_subref_r::to_int   [inline]
 

Definition at line 1027 of file sc_int_base.h.

References sc_dt::sc_int_base::to_int().

int64 sc_dt::sc_int_subref_r::to_int64   [inline]
 

Definition at line 1059 of file sc_int_base.h.

References sc_dt::sc_int_base::to_int64().

long sc_dt::sc_int_subref_r::to_long   [inline]
 

Definition at line 1043 of file sc_int_base.h.

References sc_dt::sc_int_base::to_long().

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

Definition at line 1094 of file sc_int_base.h.

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

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

Definition at line 1086 of file sc_int_base.h.

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

Referenced by print().

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

Definition at line 1035 of file sc_int_base.h.

References sc_dt::sc_int_base::to_uint().

uint64 sc_dt::sc_int_subref_r::to_uint64   [inline]
 

Definition at line 1067 of file sc_int_base.h.

References sc_dt::sc_int_base::to_uint64().

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

Definition at line 1051 of file sc_int_base.h.

References sc_dt::sc_int_base::to_ulong().

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

Definition at line 374 of file sc_int_base.h.

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

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

Definition at line 363 of file sc_int_base.h.

References xor_reduce().

Referenced by sc_dt::xnor_reduce().

bool sc_dt::sc_int_subref_r::xor_reduce   [inline]
 

Definition at line 1016 of file sc_int_base.h.

References sc_dt::sc_int_base::xor_reduce().

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


Friends And Related Function Documentation

friend class sc_int_base [friend]
 

Reimplemented in sc_dt::sc_int_subref.

Definition at line 289 of file sc_int_base.h.

friend class sc_int_signal [friend]
 

Definition at line 290 of file sc_int_base.h.


Member Data Documentation

int sc_dt::sc_int_subref_r::m_left [protected]
 

Definition at line 401 of file sc_int_base.h.

Referenced by concat_get_ctrl(), concat_get_data(), length(), operator uint_type(), sc_dt::sc_int_subref::operator=(), and sc_int_subref_r().

sc_int_base* sc_dt::sc_int_subref_r::m_obj_p [protected]
 

Definition at line 400 of file sc_int_base.h.

Referenced by concat_get_data(), operator uint_type(), sc_dt::sc_int_subref::operator=(), and sc_int_subref_r().

int sc_dt::sc_int_subref_r::m_right [protected]
 

Definition at line 402 of file sc_int_base.h.

Referenced by concat_get_ctrl(), concat_get_data(), length(), operator uint_type(), sc_dt::sc_int_subref::operator=(), and sc_int_subref_r().


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