SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_dt::sc_int_subref Class Reference

Proxy class for sc_int part selection (r-value and l-value). More...

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

Inheritance diagram for sc_dt::sc_int_subref:
Collaboration diagram for sc_dt::sc_int_subref:

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_subrefm_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

Proxy class for sc_int part selection (r-value and l-value).

Definition at line 459 of file sc_int_base.h.

Constructor & Destructor Documentation

◆ sc_int_subref() [1/2]

sc_dt::sc_int_subref::sc_int_subref ( )
inlineprotected

Definition at line 469 of file sc_int_base.h.

◆ sc_int_subref() [2/2]

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

Definition at line 476 of file sc_int_base.h.

Member Function Documentation

◆ and_reduce()

bool sc_dt::sc_int_subref_r::and_reduce ( ) const
inlineinherited

Definition at line 1036 of file sc_int_base.h.

◆ concat_get_ctrl()

virtual bool sc_dt::sc_int_subref_r::concat_get_ctrl ( sc_digit dst_p,
int  low_i 
) const
virtualinherited

Reimplemented from sc_dt::sc_value_base.

◆ concat_get_data()

virtual bool sc_dt::sc_int_subref_r::concat_get_data ( sc_digit dst_p,
int  low_i 
) const
virtualinherited

Reimplemented from sc_dt::sc_value_base.

◆ concat_get_uint64()

virtual uint64 sc_dt::sc_int_subref_r::concat_get_uint64 ( ) const
inlinevirtualinherited

Reimplemented from sc_dt::sc_value_base.

Definition at line 377 of file sc_int_base.h.

◆ concat_length()

virtual int sc_dt::sc_int_subref_r::concat_length ( bool *  xz_present_p) const
inlinevirtualinherited

Reimplemented from sc_dt::sc_value_base.

Definition at line 373 of file sc_int_base.h.

◆ concat_set() [1/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [2/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [3/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ concat_set() [4/4]

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

Reimplemented from sc_dt::sc_value_base.

◆ initialize()

void sc_dt::sc_int_subref_r::initialize ( const sc_int_base obj_p,
int  left_i,
int  right_i 
)
inlineprotectedinherited

Definition at line 340 of file sc_int_base.h.

◆ length()

int sc_dt::sc_int_subref_r::length ( ) const
inlineinherited

Definition at line 363 of file sc_int_base.h.

◆ nand_reduce()

bool sc_dt::sc_int_subref_r::nand_reduce ( ) const
inlineinherited

Definition at line 391 of file sc_int_base.h.

◆ nor_reduce()

bool sc_dt::sc_int_subref_r::nor_reduce ( ) const
inlineinherited

Definition at line 396 of file sc_int_base.h.

◆ operator uint_type()

sc_dt::sc_int_subref_r::operator uint_type ( ) const
inlineinherited

Definition at line 1023 of file sc_int_base.h.

◆ operator=() [1/16]

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

◆ operator=() [2/16]

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

Definition at line 1204 of file sc_int_base.h.

◆ operator=() [3/16]

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

Definition at line 484 of file sc_int_base.h.

◆ operator=() [4/16]

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

Definition at line 487 of file sc_int_base.h.

◆ operator=() [5/16]

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

Definition at line 491 of file sc_int_base.h.

◆ operator=() [6/16]

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

Definition at line 1211 of file sc_int_base.h.

◆ operator=() [7/16]

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

Definition at line 496 of file sc_int_base.h.

◆ operator=() [8/16]

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

Definition at line 499 of file sc_int_base.h.

◆ operator=() [9/16]

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

Definition at line 502 of file sc_int_base.h.

◆ operator=() [10/16]

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

Definition at line 505 of file sc_int_base.h.

◆ operator=() [11/16]

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

Definition at line 508 of file sc_int_base.h.

◆ operator=() [12/16]

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

Definition at line 511 of file sc_int_base.h.

◆ operator=() [13/16]

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

◆ operator=() [14/16]

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

◆ operator=() [15/16]

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

◆ operator=() [16/16]

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

◆ or_reduce()

bool sc_dt::sc_int_subref_r::or_reduce ( ) const
inlineinherited

Definition at line 1044 of file sc_int_base.h.

◆ print()

void sc_dt::sc_int_subref_r::print ( ::std::ostream &  os = ::std::cout) const
inlineinherited

Definition at line 433 of file sc_int_base.h.

◆ scan()

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

◆ to_double()

double sc_dt::sc_int_subref_r::to_double ( ) const
inlineinherited

Definition at line 1111 of file sc_int_base.h.

◆ to_int()

int sc_dt::sc_int_subref_r::to_int ( ) const
inlineinherited

Definition at line 1063 of file sc_int_base.h.

◆ to_int64()

int64 sc_dt::sc_int_subref_r::to_int64 ( ) const
inlineinherited

Definition at line 1095 of file sc_int_base.h.

◆ to_long()

long sc_dt::sc_int_subref_r::to_long ( ) const
inlineinherited

Definition at line 1079 of file sc_int_base.h.

◆ to_string() [1/2]

const std::string sc_dt::sc_int_subref_r::to_string ( sc_numrep  numrep = SC_DEC) const
inlineinherited

Definition at line 1122 of file sc_int_base.h.

◆ to_string() [2/2]

const std::string sc_dt::sc_int_subref_r::to_string ( sc_numrep  numrep,
bool  w_prefix 
) const
inlineinherited

Definition at line 1131 of file sc_int_base.h.

◆ to_uint()

unsigned int sc_dt::sc_int_subref_r::to_uint ( ) const
inlineinherited

Definition at line 1071 of file sc_int_base.h.

◆ to_uint64()

uint64 sc_dt::sc_int_subref_r::to_uint64 ( ) const
inlineinherited

Definition at line 1103 of file sc_int_base.h.

◆ to_ulong()

unsigned long sc_dt::sc_int_subref_r::to_ulong ( ) const
inlineinherited

Definition at line 1087 of file sc_int_base.h.

◆ value()

uint_type sc_dt::sc_int_subref_r::value ( ) const
inlineinherited

Definition at line 412 of file sc_int_base.h.

◆ xnor_reduce()

bool sc_dt::sc_int_subref_r::xnor_reduce ( ) const
inlineinherited

Definition at line 401 of file sc_int_base.h.

◆ xor_reduce()

bool sc_dt::sc_int_subref_r::xor_reduce ( ) const
inlineinherited

Definition at line 1052 of file sc_int_base.h.

Friends And Related Function Documentation

◆ sc_core::sc_vpool< sc_int_subref >

friend class sc_core::sc_vpool< sc_int_subref >
friend

Definition at line 463 of file sc_int_base.h.

◆ sc_int_base

friend class sc_int_base
friend

Definition at line 462 of file sc_int_base.h.

Member Data Documentation

◆ m_left

int sc_dt::sc_int_subref_r::m_left
protectedinherited

Definition at line 438 of file sc_int_base.h.

◆ m_obj_p

sc_int_base* sc_dt::sc_int_subref_r::m_obj_p
protectedinherited

Definition at line 439 of file sc_int_base.h.

◆ m_pool

sc_core::sc_vpool<sc_int_subref> sc_dt::sc_int_subref::m_pool
static

Definition at line 531 of file sc_int_base.h.

◆ m_right

int sc_dt::sc_int_subref_r::m_right
protectedinherited

Definition at line 440 of file sc_int_base.h.


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