sc_dt::sc_uint_subref_r Class Reference

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

Inheritance diagram for sc_dt::sc_uint_subref_r:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_uint_subref_r (const sc_uint_subref_r &init)
virtual ~sc_uint_subref_r ()
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

Protected Member Functions

 sc_uint_subref_r ()
void initialize (const sc_uint_base *obj_p, int left_i, int right_i)

Protected Attributes

int m_left
sc_uint_basem_obj_p
int m_right

Friends

class sc_uint_base
class sc_uint_subref


Detailed Description

Definition at line 296 of file sc_uint_base.h.


Constructor & Destructor Documentation

sc_dt::sc_uint_subref_r::sc_uint_subref_r ( const sc_uint_subref_r init  )  [inline]

Definition at line 305 of file sc_uint_base.h.

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

Definition at line 310 of file sc_uint_base.h.

virtual sc_dt::sc_uint_subref_r::~sc_uint_subref_r (  )  [inline, virtual]

Definition at line 326 of file sc_uint_base.h.


Member Function Documentation

void sc_dt::sc_uint_subref_r::initialize ( const sc_uint_base obj_p,
int  left_i,
int  right_i 
) [inline, protected]

Definition at line 315 of file sc_uint_base.h.

int sc_dt::sc_uint_subref_r::length (  )  const [inline]

Definition at line 331 of file sc_uint_base.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 341 of file sc_uint_base.h.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 136 of file sc_uint_base.cpp.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 156 of file sc_uint_base.cpp.

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 345 of file sc_uint_base.h.

bool sc_dt::sc_uint_subref_r::and_reduce (  )  const [inline]

Definition at line 988 of file sc_uint_base.h.

bool sc_dt::sc_uint_subref_r::nand_reduce (  )  const [inline]

Definition at line 353 of file sc_uint_base.h.

bool sc_dt::sc_uint_subref_r::or_reduce (  )  const [inline]

Definition at line 996 of file sc_uint_base.h.

bool sc_dt::sc_uint_subref_r::nor_reduce (  )  const [inline]

Definition at line 358 of file sc_uint_base.h.

bool sc_dt::sc_uint_subref_r::xor_reduce (  )  const [inline]

Definition at line 1004 of file sc_uint_base.h.

bool sc_dt::sc_uint_subref_r::xnor_reduce (  )  const [inline]

Definition at line 363 of file sc_uint_base.h.

sc_dt::sc_uint_subref_r::operator uint_type (  )  const [inline]

Definition at line 976 of file sc_uint_base.h.

uint_type sc_dt::sc_uint_subref_r::value (  )  const [inline]

Definition at line 374 of file sc_uint_base.h.

int sc_dt::sc_uint_subref_r::to_int (  )  const [inline]

Definition at line 1015 of file sc_uint_base.h.

unsigned int sc_dt::sc_uint_subref_r::to_uint (  )  const [inline]

Definition at line 1023 of file sc_uint_base.h.

long sc_dt::sc_uint_subref_r::to_long (  )  const [inline]

Definition at line 1031 of file sc_uint_base.h.

unsigned long sc_dt::sc_uint_subref_r::to_ulong (  )  const [inline]

Definition at line 1039 of file sc_uint_base.h.

int64 sc_dt::sc_uint_subref_r::to_int64 (  )  const [inline]

Definition at line 1047 of file sc_uint_base.h.

uint64 sc_dt::sc_uint_subref_r::to_uint64 (  )  const [inline]

Definition at line 1055 of file sc_uint_base.h.

double sc_dt::sc_uint_subref_r::to_double (  )  const [inline]

Definition at line 1063 of file sc_uint_base.h.

const std::string sc_dt::sc_uint_subref_r::to_string ( sc_numrep  numrep = SC_DEC  )  const [inline]

Definition at line 1074 of file sc_uint_base.h.

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

Definition at line 1082 of file sc_uint_base.h.

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

Definition at line 395 of file sc_uint_base.h.


Friends And Related Function Documentation

friend class sc_uint_base [friend]

Reimplemented in sc_dt::sc_uint_subref.

Definition at line 298 of file sc_uint_base.h.

friend class sc_uint_subref [friend]

Definition at line 299 of file sc_uint_base.h.


Member Data Documentation

Definition at line 400 of file sc_uint_base.h.

Definition at line 401 of file sc_uint_base.h.

Definition at line 402 of file sc_uint_base.h.


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

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