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)
sc_int_subref_r * clone () const
int length () 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 int_type () const
int_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_)

Protected Attributes

sc_int_basem_obj
int m_left
int m_right

Friends

class sc_int_base

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 862 of file sc_int_base.h.

References CCAST, m_left, m_obj, and m_right.

Referenced by clone().

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

Definition at line 871 of file sc_int_base.h.

References m_left, m_obj, and m_right.


Member Function Documentation

bool sc_dt::sc_int_subref_r::and_reduce   [inline]
 

Definition at line 2956 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 878 of file sc_int_base.h.

References sc_int_subref_r().

Referenced by sc_dt::concat(), and sc_dt::operator,().

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

Definition at line 884 of file sc_int_base.h.

References m_left, and m_right.

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

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

Definition at line 897 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 902 of file sc_int_base.h.

References or_reduce().

Referenced by sc_dt::nor_reduce().

sc_dt::sc_int_subref_r::operator int_type   [inline]
 

Definition at line 2943 of file sc_int_base.h.

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

Referenced by value().

bool sc_dt::sc_int_subref_r::or_reduce   [inline]
 

Definition at line 2964 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 939 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 3031 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 2983 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 3015 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 2999 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 3050 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 3042 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 2991 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 3023 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 3007 of file sc_int_base.h.

References sc_dt::sc_int_base::to_ulong().

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

Definition at line 918 of file sc_int_base.h.

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

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

Definition at line 907 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 2972 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 856 of file sc_int_base.h.


Member Data Documentation

int sc_dt::sc_int_subref_r::m_left [protected]
 

Definition at line 945 of file sc_int_base.h.

Referenced by length(), operator int_type(), sc_dt::sc_int_subref::operator=(), and sc_int_subref_r().

sc_int_base& sc_dt::sc_int_subref_r::m_obj [protected]
 

Definition at line 944 of file sc_int_base.h.

Referenced by operator int_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 946 of file sc_int_base.h.

Referenced by length(), operator int_type(), sc_dt::sc_int_subref::operator=(), and sc_int_subref_r().


The documentation for this class was generated from the following file:
Generated on Sun Dec 12 19:23:59 2004 for SystemC2.0.1(excludingMSLib)(IncludingSCV) by doxygen1.2.18