SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
sc_dt::sc_int_subref_r Class Reference

#include <sysc/datatypes/int/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]

Public Member Functions

 sc_int_subref_r (const sc_int_subref_r &a)
 
virtual ~sc_int_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
 
- Public Member Functions inherited from sc_dt::sc_value_base
virtual ~sc_value_base ()
 

Protected Member Functions

 sc_int_subref_r ()
 
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_int_signal
 
class sc_int_subref
 

Detailed Description

Definition at line 319 of file sc_int_base.h.

Constructor & Destructor Documentation

◆ sc_int_subref_r() [1/2]

sc_dt::sc_int_subref_r::sc_int_subref_r ( )
inlineprotected

Definition at line 329 of file sc_int_base.h.

◆ sc_int_subref_r() [2/2]

sc_dt::sc_int_subref_r::sc_int_subref_r ( const sc_int_subref_r a)
inline

Definition at line 345 of file sc_int_base.h.

◆ ~sc_int_subref_r()

virtual sc_dt::sc_int_subref_r::~sc_int_subref_r ( )
inlinevirtual

Definition at line 352 of file sc_int_base.h.

Member Function Documentation

◆ and_reduce()

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

Definition at line 1047 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
virtual

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
virtual

Reimplemented from sc_dt::sc_value_base.

◆ concat_get_uint64()

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 371 of file sc_int_base.h.

◆ concat_length()

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

Reimplemented from sc_dt::sc_value_base.

Definition at line 367 of file sc_int_base.h.

◆ initialize()

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

Definition at line 334 of file sc_int_base.h.

◆ length()

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

Definition at line 357 of file sc_int_base.h.

◆ nand_reduce()

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

Definition at line 385 of file sc_int_base.h.

◆ nor_reduce()

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

Definition at line 390 of file sc_int_base.h.

◆ operator uint_type()

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

Definition at line 1034 of file sc_int_base.h.

◆ or_reduce()

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

Definition at line 1055 of file sc_int_base.h.

◆ print()

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

Definition at line 427 of file sc_int_base.h.

◆ to_double()

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

Definition at line 1122 of file sc_int_base.h.

◆ to_int()

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

Definition at line 1074 of file sc_int_base.h.

◆ to_int64()

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

Definition at line 1106 of file sc_int_base.h.

◆ to_long()

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

Definition at line 1090 of file sc_int_base.h.

◆ to_string() [1/2]

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

Definition at line 1142 of file sc_int_base.h.

◆ to_string() [2/2]

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

Definition at line 1133 of file sc_int_base.h.

◆ to_uint()

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

Definition at line 1082 of file sc_int_base.h.

◆ to_uint64()

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

Definition at line 1114 of file sc_int_base.h.

◆ to_ulong()

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

Definition at line 1098 of file sc_int_base.h.

◆ value()

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

Definition at line 406 of file sc_int_base.h.

◆ xnor_reduce()

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

Definition at line 395 of file sc_int_base.h.

◆ xor_reduce()

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

Definition at line 1063 of file sc_int_base.h.

Friends And Related Function Documentation

◆ sc_int_base

friend class sc_int_base
friend

Definition at line 321 of file sc_int_base.h.

◆ sc_int_signal

friend class sc_int_signal
friend

Definition at line 322 of file sc_int_base.h.

◆ sc_int_subref

friend class sc_int_subref
friend

Definition at line 323 of file sc_int_base.h.

Member Data Documentation

◆ m_left

int sc_dt::sc_int_subref_r::m_left
protected

Definition at line 432 of file sc_int_base.h.

◆ m_obj_p

sc_int_base* sc_dt::sc_int_subref_r::m_obj_p
protected

Definition at line 433 of file sc_int_base.h.

◆ m_right

int sc_dt::sc_int_subref_r::m_right
protected

Definition at line 434 of file sc_int_base.h.


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