sc_dt::sc_int_subref Class Reference

#include <sysc/datatypes/int/sc_int_base.h>

Inheritance diagram for sc_dt::sc_int_subref:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_int_subref (const sc_int_subref &a)
sc_int_subrefoperator= (int_type v)
sc_int_subrefoperator= (const sc_int_base &a)
sc_int_subrefoperator= (const sc_int_subref_r &a)
sc_int_subrefoperator= (const sc_int_subref &a)
template<class T>
sc_int_subrefoperator= (const sc_generic_base< T > &a)
sc_int_subrefoperator= (const char *a)
sc_int_subrefoperator= (unsigned long a)
sc_int_subrefoperator= (long a)
sc_int_subrefoperator= (unsigned int a)
sc_int_subrefoperator= (int a)
sc_int_subrefoperator= (uint64 a)
sc_int_subrefoperator= (double a)
sc_int_subrefoperator= (const sc_signed &)
sc_int_subrefoperator= (const sc_unsigned &)
sc_int_subrefoperator= (const sc_bv_base &)
sc_int_subrefoperator= (const sc_lv_base &)
virtual void concat_set (int64 src, int low_i)
virtual void concat_set (const sc_signed &src, int low_i)
virtual void concat_set (const sc_unsigned &src, int low_i)
virtual void concat_set (uint64 src, int low_i)
void scan (::std::istream &is=::std::cin)
int length () const
virtual int concat_length (bool *xz_present_p) const
virtual bool concat_get_ctrl (sc_digit *dst_p, int low_i) const
virtual bool concat_get_data (sc_digit *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 std::string to_string (sc_numrep numrep=SC_DEC) const
const std::string to_string (sc_numrep numrep, bool w_prefix) const
void print (::std::ostream &os=::std::cout) const

Static Public Attributes

static sc_core::sc_vpool
< sc_int_subref
m_pool

Protected Member Functions

 sc_int_subref ()
void initialize (const sc_int_base *obj_p, int left_i, int right_i)

Protected Attributes

int m_left
sc_int_basem_obj_p
int m_right

Friends

class sc_int_base
class sc_core::sc_vpool< sc_int_subref >


Detailed Description

Definition at line 437 of file sc_int_base.h.


Constructor & Destructor Documentation

sc_dt::sc_int_subref::sc_int_subref (  )  [inline, protected]

Definition at line 447 of file sc_int_base.h.

sc_dt::sc_int_subref::sc_int_subref ( const sc_int_subref a  )  [inline]

Definition at line 454 of file sc_int_base.h.


Member Function Documentation

sc_int_subref & sc_dt::sc_int_subref::operator= ( int_type  v  ) 

Definition at line 253 of file sc_int_base.cpp.

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_int_base a  )  [inline]

Definition at line 1183 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( const sc_int_subref_r a  )  [inline]

Reimplemented from sc_dt::sc_int_subref_r.

Definition at line 462 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( const sc_int_subref a  )  [inline]

Definition at line 465 of file sc_int_base.h.

template<class T>
sc_int_subref& sc_dt::sc_int_subref::operator= ( const sc_generic_base< T > &  a  )  [inline]

Definition at line 469 of file sc_int_base.h.

sc_int_subref & sc_dt::sc_int_subref::operator= ( const char *  a  )  [inline]

Definition at line 1190 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( unsigned long  a  )  [inline]

Definition at line 474 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( long  a  )  [inline]

Definition at line 477 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( unsigned int  a  )  [inline]

Definition at line 480 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( int  a  )  [inline]

Definition at line 483 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( uint64  a  )  [inline]

Definition at line 486 of file sc_int_base.h.

sc_int_subref& sc_dt::sc_int_subref::operator= ( double  a  )  [inline]

Definition at line 489 of file sc_int_base.h.

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_signed a  ) 

Definition at line 265 of file sc_int_base.cpp.

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_unsigned a  ) 

Definition at line 272 of file sc_int_base.cpp.

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_bv_base a  ) 

Definition at line 279 of file sc_int_base.cpp.

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_lv_base a  ) 

Definition at line 286 of file sc_int_base.cpp.

void sc_dt::sc_int_subref::concat_set ( int64  src,
int  low_i 
) [virtual]

Reimplemented from sc_dt::sc_value_base.

Definition at line 296 of file sc_int_base.cpp.

void sc_dt::sc_int_subref::concat_set ( const sc_signed src,
int  low_i 
) [virtual]

Reimplemented from sc_dt::sc_value_base.

Definition at line 302 of file sc_int_base.cpp.

void sc_dt::sc_int_subref::concat_set ( const sc_unsigned src,
int  low_i 
) [virtual]

Reimplemented from sc_dt::sc_value_base.

Definition at line 311 of file sc_int_base.cpp.

void sc_dt::sc_int_subref::concat_set ( uint64  src,
int  low_i 
) [virtual]

Reimplemented from sc_dt::sc_value_base.

Definition at line 320 of file sc_int_base.cpp.

void sc_dt::sc_int_subref::scan ( ::std::istream &  is = ::std::cin  ) 

Definition at line 330 of file sc_int_base.cpp.

void sc_dt::sc_int_subref_r::initialize ( const sc_int_base obj_p,
int  left_i,
int  right_i 
) [inline, protected, inherited]

Definition at line 319 of file sc_int_base.h.

int sc_dt::sc_int_subref_r::length (  )  const [inline, inherited]

Definition at line 341 of file sc_int_base.h.

virtual int sc_dt::sc_int_subref_r::concat_length ( bool *  xz_present_p  )  const [inline, virtual, inherited]

Reimplemented from sc_dt::sc_value_base.

Definition at line 351 of file sc_int_base.h.

bool sc_dt::sc_int_subref_r::concat_get_ctrl ( sc_digit dst_p,
int  low_i 
) const [virtual, inherited]

Reimplemented from sc_dt::sc_value_base.

Definition at line 137 of file sc_int_base.cpp.

bool sc_dt::sc_int_subref_r::concat_get_data ( sc_digit dst_p,
int  low_i 
) const [virtual, inherited]

Reimplemented from sc_dt::sc_value_base.

Definition at line 183 of file sc_int_base.cpp.

virtual uint64 sc_dt::sc_int_subref_r::concat_get_uint64 (  )  const [inline, virtual, inherited]

Reimplemented from sc_dt::sc_value_base.

Definition at line 355 of file sc_int_base.h.

bool sc_dt::sc_int_subref_r::and_reduce (  )  const [inline, inherited]

Definition at line 1015 of file sc_int_base.h.

bool sc_dt::sc_int_subref_r::nand_reduce (  )  const [inline, inherited]

Definition at line 369 of file sc_int_base.h.

bool sc_dt::sc_int_subref_r::or_reduce (  )  const [inline, inherited]

Definition at line 1023 of file sc_int_base.h.

bool sc_dt::sc_int_subref_r::nor_reduce (  )  const [inline, inherited]

Definition at line 374 of file sc_int_base.h.

bool sc_dt::sc_int_subref_r::xor_reduce (  )  const [inline, inherited]

Definition at line 1031 of file sc_int_base.h.

bool sc_dt::sc_int_subref_r::xnor_reduce (  )  const [inline, inherited]

Definition at line 379 of file sc_int_base.h.

sc_dt::sc_int_subref_r::operator uint_type (  )  const [inline, inherited]

Definition at line 1002 of file sc_int_base.h.

uint_type sc_dt::sc_int_subref_r::value (  )  const [inline, inherited]

Definition at line 390 of file sc_int_base.h.

int sc_dt::sc_int_subref_r::to_int (  )  const [inline, inherited]

Definition at line 1042 of file sc_int_base.h.

unsigned int sc_dt::sc_int_subref_r::to_uint (  )  const [inline, inherited]

Definition at line 1050 of file sc_int_base.h.

long sc_dt::sc_int_subref_r::to_long (  )  const [inline, inherited]

Definition at line 1058 of file sc_int_base.h.

unsigned long sc_dt::sc_int_subref_r::to_ulong (  )  const [inline, inherited]

Definition at line 1066 of file sc_int_base.h.

int64 sc_dt::sc_int_subref_r::to_int64 (  )  const [inline, inherited]

Definition at line 1074 of file sc_int_base.h.

uint64 sc_dt::sc_int_subref_r::to_uint64 (  )  const [inline, inherited]

Definition at line 1082 of file sc_int_base.h.

double sc_dt::sc_int_subref_r::to_double (  )  const [inline, inherited]

Definition at line 1090 of file sc_int_base.h.

const std::string sc_dt::sc_int_subref_r::to_string ( sc_numrep  numrep = SC_DEC  )  const [inline, inherited]

Definition at line 1101 of file sc_int_base.h.

const std::string sc_dt::sc_int_subref_r::to_string ( sc_numrep  numrep,
bool  w_prefix 
) const [inline, inherited]

Definition at line 1110 of file sc_int_base.h.

void sc_dt::sc_int_subref_r::print ( ::std::ostream &  os = ::std::cout  )  const [inline, inherited]

Definition at line 411 of file sc_int_base.h.


Friends And Related Function Documentation

friend class sc_int_base [friend]

Reimplemented from sc_dt::sc_int_subref_r.

Definition at line 440 of file sc_int_base.h.

friend class sc_core::sc_vpool< sc_int_subref > [friend]

Definition at line 441 of file sc_int_base.h.


Member Data Documentation

Definition at line 509 of file sc_int_base.h.

int sc_dt::sc_int_subref_r::m_left [protected, inherited]

Definition at line 416 of file sc_int_base.h.

Definition at line 417 of file sc_int_base.h.

int sc_dt::sc_int_subref_r::m_right [protected, inherited]

Definition at line 418 of file sc_int_base.h.


The documentation for this class was generated from the following files:

Generated on Wed Jan 21 15:32:21 2009 for SystemC by  doxygen 1.5.5