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

sc_dt::sc_int_concref_r< T1, T2 > Class Template Reference

#include <sc_int_base.h>

Inheritance diagram for sc_dt::sc_int_concref_r< T1, T2 >:

Inheritance graph
[legend]
Collaboration diagram for sc_dt::sc_int_concref_r< T1, T2 >:

Collaboration graph
[legend]
List of all members.

Public Methods

 sc_int_concref_r (const T1 &left_, const T2 &right_, int delete_=0)
 sc_int_concref_r (const sc_int_concref_r< T1, T2 > &a)
 ~sc_int_concref_r ()
sc_int_concref_r< T1, T2 > * 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 Attributes

T1 & m_left
T2 & m_right
int m_len
int m_delete
int & m_refs

template<class T1, class T2>
class sc_dt::sc_int_concref_r< T1, T2 >


Constructor & Destructor Documentation

template<class T1, class T2>
sc_dt::sc_int_concref_r< T1, T2 >::sc_int_concref_r const T1 &    left_,
const T2 &    right_,
int    delete_ = 0
[inline]
 

Definition at line 113 of file sc_int_base.h.

References CCAST, sc_dt::sc_int_concref_r< T1, T2 >::m_delete, sc_dt::sc_int_concref_r< T1, T2 >::m_left, sc_dt::sc_int_concref_r< T1, T2 >::m_len, sc_dt::sc_int_concref_r< T1, T2 >::m_refs, and sc_dt::sc_int_concref_r< T1, T2 >::m_right.

template<class T1, class T2>
sc_dt::sc_int_concref_r< T1, T2 >::sc_int_concref_r const sc_int_concref_r< T1, T2 > &    a [inline]
 

Definition at line 121 of file sc_int_base.h.

References sc_dt::sc_int_concref_r< T1, T2 >::m_delete, sc_dt::sc_int_concref_r< T1, T2 >::m_left, sc_dt::sc_int_concref_r< T1, T2 >::m_len, sc_dt::sc_int_concref_r< T1, T2 >::m_refs, and sc_dt::sc_int_concref_r< T1, T2 >::m_right.

template<class T1, class T2>
sc_dt::sc_int_concref_r< T1, T2 >::~sc_int_concref_r   [inline]
 

Definition at line 1755 of file sc_int_base.h.

References sc_dt::sc_int_concref_r< T1, T2 >::m_delete, sc_dt::sc_int_concref_r< T1, T2 >::m_left, sc_dt::sc_int_concref_r< T1, T2 >::m_refs, and sc_dt::sc_int_concref_r< T1, T2 >::m_right.


Member Function Documentation

template<class T1, class T2>
bool sc_dt::sc_int_concref_r< T1, T2 >::and_reduce   [inline]
 

Definition at line 1777 of file sc_int_base.h.

References sc_dt::sc_int_base::and_reduce().

Referenced by sc_dt::and_reduce(), and sc_dt::sc_int_concref_r< T1, T2 >::nand_reduce().

template<class T1, class T2>
sc_int_concref_r<T1,T2>* sc_dt::sc_int_concref_r< T1, T2 >::clone   const [inline]
 

Reimplemented in sc_dt::sc_int_concref< T1, T2 >.

Definition at line 134 of file sc_int_base.h.

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

template<class T1, class T2>
int sc_dt::sc_int_concref_r< T1, T2 >::length   const [inline]
 

Definition at line 140 of file sc_int_base.h.

References sc_dt::sc_int_concref_r< T1, T2 >::m_len.

template<class T1, class T2>
bool sc_dt::sc_int_concref_r< T1, T2 >::nand_reduce   const [inline]
 

Definition at line 153 of file sc_int_base.h.

References sc_dt::sc_int_concref_r< T1, T2 >::and_reduce().

Referenced by sc_dt::nand_reduce().

template<class T1, class T2>
bool sc_dt::sc_int_concref_r< T1, T2 >::nor_reduce   const [inline]
 

Definition at line 158 of file sc_int_base.h.

References sc_dt::sc_int_concref_r< T1, T2 >::or_reduce().

Referenced by sc_dt::nor_reduce().

template<class T1, class T2>
sc_dt::sc_int_concref_r< T1, T2 >::operator int_type   [inline]
 

Definition at line 1806 of file sc_int_base.h.

References sc_dt::int_type, sc_dt::sc_int_concref_r< T1, T2 >::m_left, sc_dt::sc_int_concref_r< T1, T2 >::m_len, sc_dt::sc_int_concref_r< T1, T2 >::m_right, SC_INTWIDTH, and sc_dt::UINT_ZERO.

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::value().

template<class T1, class T2>
bool sc_dt::sc_int_concref_r< T1, T2 >::or_reduce   [inline]
 

Definition at line 1786 of file sc_int_base.h.

References sc_dt::sc_int_base::or_reduce().

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::nor_reduce(), and sc_dt::or_reduce().

template<class T1, class T2>
void sc_dt::sc_int_concref_r< T1, T2 >::print ostream &    os = cout const [inline]
 

Definition at line 195 of file sc_int_base.h.

References sc_dt::sc_int_concref_r< T1, T2 >::to_string().

template<class T1, class T2>
double sc_dt::sc_int_concref_r< T1, T2 >::to_double   [inline]
 

Definition at line 1876 of file sc_int_base.h.

References sc_dt::sc_int_base::to_double().

template<class T1, class T2>
int sc_dt::sc_int_concref_r< T1, T2 >::to_int   [inline]
 

Definition at line 1822 of file sc_int_base.h.

References sc_dt::sc_int_base::to_int().

template<class T1, class T2>
int64 sc_dt::sc_int_concref_r< T1, T2 >::to_int64   [inline]
 

Definition at line 1858 of file sc_int_base.h.

References sc_dt::sc_int_base::to_int64().

template<class T1, class T2>
long sc_dt::sc_int_concref_r< T1, T2 >::to_long   [inline]
 

Definition at line 1840 of file sc_int_base.h.

References sc_dt::sc_int_base::to_long().

template<class T1, class T2>
const sc_string sc_dt::sc_int_concref_r< T1, T2 >::to_string sc_numrep    numrep,
bool    w_prefix
const [inline]
 

Definition at line 1897 of file sc_int_base.h.

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

template<class T1, class T2>
const sc_string sc_dt::sc_int_concref_r< T1, T2 >::to_string sc_numrep    numrep = SC_DEC const [inline]
 

Definition at line 1888 of file sc_int_base.h.

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

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::print().

template<class T1, class T2>
unsigned int sc_dt::sc_int_concref_r< T1, T2 >::to_uint   [inline]
 

Definition at line 1831 of file sc_int_base.h.

References sc_dt::sc_int_base::to_uint().

template<class T1, class T2>
uint64 sc_dt::sc_int_concref_r< T1, T2 >::to_uint64   [inline]
 

Definition at line 1867 of file sc_int_base.h.

References sc_dt::sc_int_base::to_uint64().

template<class T1, class T2>
unsigned long sc_dt::sc_int_concref_r< T1, T2 >::to_ulong   [inline]
 

Definition at line 1849 of file sc_int_base.h.

References sc_dt::sc_int_base::to_ulong().

template<class T1, class T2>
int_type sc_dt::sc_int_concref_r< T1, T2 >::value   const [inline]
 

Definition at line 174 of file sc_int_base.h.

References sc_dt::int_type, and sc_dt::sc_int_concref_r< T1, T2 >::operator int_type().

template<class T1, class T2>
bool sc_dt::sc_int_concref_r< T1, T2 >::xnor_reduce   const [inline]
 

Definition at line 163 of file sc_int_base.h.

References sc_dt::sc_int_concref_r< T1, T2 >::xor_reduce().

Referenced by sc_dt::xnor_reduce().

template<class T1, class T2>
bool sc_dt::sc_int_concref_r< T1, T2 >::xor_reduce   [inline]
 

Definition at line 1795 of file sc_int_base.h.

References sc_dt::sc_int_base::xor_reduce().

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::xnor_reduce(), and sc_dt::xor_reduce().


Member Data Documentation

template<class T1, class T2>
int sc_dt::sc_int_concref_r< T1, T2 >::m_delete [protected]
 

Definition at line 203 of file sc_int_base.h.

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::sc_int_concref_r(), and sc_dt::sc_int_concref_r< T1, T2 >::~sc_int_concref_r().

template<class T1, class T2>
T1& sc_dt::sc_int_concref_r< T1, T2 >::m_left [protected]
 

Definition at line 200 of file sc_int_base.h.

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::operator int_type(), sc_dt::sc_int_concref< T1, T2 >::operator=(), sc_dt::sc_int_concref_r< T1, T2 >::sc_int_concref_r(), and sc_dt::sc_int_concref_r< T1, T2 >::~sc_int_concref_r().

template<class T1, class T2>
int sc_dt::sc_int_concref_r< T1, T2 >::m_len [protected]
 

Definition at line 202 of file sc_int_base.h.

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::length(), sc_dt::sc_int_concref_r< T1, T2 >::operator int_type(), and sc_dt::sc_int_concref_r< T1, T2 >::sc_int_concref_r().

template<class T1, class T2>
int& sc_dt::sc_int_concref_r< T1, T2 >::m_refs [protected]
 

Definition at line 204 of file sc_int_base.h.

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::sc_int_concref_r(), and sc_dt::sc_int_concref_r< T1, T2 >::~sc_int_concref_r().

template<class T1, class T2>
T2& sc_dt::sc_int_concref_r< T1, T2 >::m_right [protected]
 

Definition at line 201 of file sc_int_base.h.

Referenced by sc_dt::sc_int_concref_r< T1, T2 >::operator int_type(), sc_dt::sc_int_concref< T1, T2 >::operator=(), sc_dt::sc_int_concref_r< T1, T2 >::sc_int_concref_r(), and sc_dt::sc_int_concref_r< T1, T2 >::~sc_int_concref_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