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

scv_expression_core Class Reference

#include <scv_expression.h>

Inheritance diagram for scv_expression_core:

Inheritance graph
[legend]
Collaboration diagram for scv_expression_core:

Collaboration graph
[legend]
List of all members.

Public Methods

 scv_expression_core (scv_extensions_if *core)
 scv_expression_core (int i)
 scv_expression_core (long long i)
 scv_expression_core (bool i)
 scv_expression_core (unsigned u)
 scv_expression_core (unsigned long long u)
 scv_expression_core (double d)
 scv_expression_core (string s)
 scv_expression_core (sc_string s)
template<int W>  scv_expression_core (sc_int< W > v)
template<int W>  scv_expression_core (sc_uint< W > v)
template<int W>  scv_expression_core (sc_bigint< W > v)
template<int W>  scv_expression_core (sc_biguint< W > v)
template<int W>  scv_expression_core (sc_bv< W > v)
virtual ~scv_expression_core ()
const char * get_name (void) const
virtual void update_signal_value (void) const
long long get_int_value (void) const
bool get_bool_value (void) const
unsigned long long get_unsigned_value (void) const
double get_double_value (void) const
int get_bit_width (void) const
scv_extensions_ifget_extension (void) const
virtual sc_interfaceget_signal (void) const
const scv_expressionget_left (void) const
const scv_expressionget_right (void) const
scv_expression::operatorT get_operator (void) const
 scv_expression_core (scv_expression::operatorT op, const scv_expression &a, const scv_expression &b)
void get_value (bool &) const
void get_value (char &) const
void get_value (short &) const
void get_value (unsigned short &) const
void get_value (int &) const
void get_value (unsigned int &) const
void get_value (long &) const
void get_value (unsigned long &) const
void get_value (long long &) const
void get_value (unsigned long long &) const
void get_value (float &) const
void get_value (double &) const
void get_value (string &) const
void get_value (sc_string &) const
void get_value (sc_bv_base &) const
void get_value (sc_lv_base &) const

Protected Methods

 scv_expression_core (scv_expression::operatorT op)

Protected Attributes

scv_extensions_ifcore_
union {
   long long   _intValue
   int   _boolValue
   unsigned long long   _unsignedValue
   double   _doubleValue
   string *   _str
   sc_string *   _sc_str
_value
sc_bv_base * _data
int _bit_width
scv_expression::operatorT _operator
scv_expression _left
scv_expression _right

Constructor & Destructor Documentation

scv_expression_core::scv_expression_core scv_extensions_if   core
 

Definition at line 659 of file scv_expression.cpp.

References _operator, and scv_expression::EXTENSION.

scv_expression_core::scv_expression_core int    i
 

Definition at line 662 of file scv_expression.cpp.

References _bit_width, _operator, _value, and scv_expression::INT_CONSTANT.

scv_expression_core::scv_expression_core long long    i
 

Definition at line 667 of file scv_expression.cpp.

References _bit_width, _operator, _value, and scv_expression::INT_CONSTANT.

scv_expression_core::scv_expression_core bool    i
 

Definition at line 672 of file scv_expression.cpp.

References _bit_width, _operator, _value, and scv_expression::BOOLEAN_CONSTANT.

scv_expression_core::scv_expression_core unsigned    u
 

Definition at line 677 of file scv_expression.cpp.

References _bit_width, _operator, _value, and scv_expression::UNSIGNED_CONSTANT.

scv_expression_core::scv_expression_core unsigned long long    u
 

Definition at line 682 of file scv_expression.cpp.

References _bit_width, _operator, _value, and scv_expression::UNSIGNED_CONSTANT.

scv_expression_core::scv_expression_core double    d
 

Definition at line 687 of file scv_expression.cpp.

References _bit_width, _operator, _value, and scv_expression::DOUBLE_CONSTANT.

scv_expression_core::scv_expression_core string    s
 

Definition at line 692 of file scv_expression.cpp.

References _bit_width, _operator, _value, s, and scv_expression::STRING_CONSTANT.

scv_expression_core::scv_expression_core sc_string    s
 

Definition at line 698 of file scv_expression.cpp.

References _bit_width, _operator, _value, s, and scv_expression::SC_STRING_CONSTANT.

template<int W>
scv_expression_core::scv_expression_core sc_int< W >    v [inline]
 

Definition at line 284 of file scv_expression.h.

References _bit_width, _data, _operator, _value, and scv_expression::INT_CONSTANT.

template<int W>
scv_expression_core::scv_expression_core sc_uint< W >    v [inline]
 

Definition at line 290 of file scv_expression.h.

References _bit_width, _data, _operator, _value, and scv_expression::UNSIGNED_CONSTANT.

template<int W>
scv_expression_core::scv_expression_core sc_bigint< W >    v [inline]
 

Definition at line 296 of file scv_expression.h.

References _bit_width, _data, _operator, and scv_expression::SC_BIGINT_CONSTANT.

template<int W>
scv_expression_core::scv_expression_core sc_biguint< W >    v [inline]
 

Definition at line 303 of file scv_expression.h.

References _bit_width, _data, _operator, and scv_expression::SC_BIGUINT_CONSTANT.

template<int W>
scv_expression_core::scv_expression_core sc_bv< W >    v [inline]
 

Definition at line 310 of file scv_expression.h.

References _bit_width, _data, _operator, and scv_expression::SC_BV_CONSTANT.

scv_expression_core::~scv_expression_core   [virtual]
 

Definition at line 704 of file scv_expression.cpp.

References _data, _operator, _value, scv_expression::SC_BIGINT_CONSTANT, scv_expression::SC_BIGUINT_CONSTANT, scv_expression::SC_BV_CONSTANT, scv_expression::SC_STRING_CONSTANT, and scv_expression::STRING_CONSTANT.

scv_expression_core::scv_expression_core scv_expression::operatorT    op,
const scv_expression   a,
const scv_expression   b
[inline]
 

Definition at line 338 of file scv_expression.h.

References scv_expression::operatorT.

scv_expression_core::scv_expression_core scv_expression::operatorT    op [inline, protected]
 

Definition at line 359 of file scv_expression.h.

References scv_expression::operatorT.


Member Function Documentation

int scv_expression_core::get_bit_width void    const [inline, virtual]
 

Implements scv_expression_core_base.

Definition at line 324 of file scv_expression.h.

References _bit_width.

bool scv_expression_core::get_bool_value void    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 744 of file scv_expression.cpp.

References _operator, _value, scv_expression::BOOLEAN_CONSTANT, and _scv_expression_error::illegalAccess().

double scv_expression_core::get_double_value void    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 760 of file scv_expression.cpp.

References _operator, _value, scv_expression::DOUBLE_CONSTANT, and _scv_expression_error::illegalAccess().

scv_extensions_if * scv_expression_core::get_extension void    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 768 of file scv_expression.cpp.

References _operator, core_, scv_expression::EXTENSION, _scv_expression_error::illegalAccess(), and scv_expression::SC_SIGNAL.

long long scv_expression_core::get_int_value void    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 736 of file scv_expression.cpp.

References _operator, _value, _scv_expression_error::illegalAccess(), and scv_expression::INT_CONSTANT.

const scv_expression& scv_expression_core::get_left void    const [inline, virtual]
 

Implements scv_expression_core_base.

Definition at line 329 of file scv_expression.h.

const char * scv_expression_core::get_name void    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 715 of file scv_expression.cpp.

References _operator, core_, scv_expression::EXTENSION, _scv_expression_error::illegalAccess(), scv_expression::SC_SIGNAL, and strcmp().

scv_expression::operatorT scv_expression_core::get_operator void    const [inline, virtual]
 

Implements scv_expression_core_base.

Definition at line 335 of file scv_expression.h.

References _operator.

const scv_expression& scv_expression_core::get_right void    const [inline, virtual]
 

Implements scv_expression_core_base.

Definition at line 332 of file scv_expression.h.

sc_interface * scv_expression_core::get_signal void    const [virtual]
 

Implements scv_expression_core_base.

Reimplemented in scv_expression_core_signal< T >.

Definition at line 777 of file scv_expression.cpp.

References _scv_expression_error::illegalAccess().

unsigned long long scv_expression_core::get_unsigned_value void    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 752 of file scv_expression.cpp.

References _operator, _value, _scv_expression_error::illegalAccess(), and scv_expression::UNSIGNED_CONSTANT.

void scv_expression_core::get_value sc_lv_base &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 854 of file scv_expression.cpp.

References _SCV_GET_CONSTANT_ERROR, _SCV_GET_CONSTANT_VALUE, and value.

void scv_expression_core::get_value sc_bv_base &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 848 of file scv_expression.cpp.

References _SCV_GET_CONSTANT_ERROR, _SCV_GET_CONSTANT_VALUE, and value.

void scv_expression_core::get_value sc_string   const [virtual]
 

Implements scv_expression_core_base.

Definition at line 837 of file scv_expression.cpp.

References _operator, _value, sc_string::c_str(), _scv_expression_error::illegalAccess(), scv_expression::SC_STRING_CONSTANT, and scv_expression::STRING_CONSTANT.

void scv_expression_core::get_value string &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 826 of file scv_expression.cpp.

References _operator, _value, _scv_expression_error::illegalAccess(), scv_expression::SC_STRING_CONSTANT, and scv_expression::STRING_CONSTANT.

void scv_expression_core::get_value double &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 822 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value float &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 818 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value unsigned long long &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 814 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value long long &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 810 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value unsigned long &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 806 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value long &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 802 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value unsigned int &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 798 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value int &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 794 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value unsigned short   const [virtual]
 

Implements scv_expression_core_base.

Definition at line 790 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value short   const [virtual]
 

Implements scv_expression_core_base.

Definition at line 786 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value char &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 782 of file scv_expression.cpp.

References _SCV_GET_SC_VAL.

void scv_expression_core::get_value bool &    const [virtual]
 

Implements scv_expression_core_base.

Definition at line 860 of file scv_expression.cpp.

References _operator, _value, scv_expression::BOOLEAN_CONSTANT, _scv_expression_error::illegalAccess(), scv_expression::INT_CONSTANT, scv_expression::SC_BIGINT_CONSTANT, scv_expression::SC_BIGUINT_CONSTANT, scv_expression::SC_BV_CONSTANT, and scv_expression::UNSIGNED_CONSTANT.

void scv_expression_core::update_signal_value void    const [virtual]
 

Implements scv_expression_core_base.

Reimplemented in scv_expression_core_signal< T >.

Definition at line 733 of file scv_expression.cpp.

References assert.


Member Data Documentation

int scv_expression_core::_bit_width [protected]
 

Definition at line 269 of file scv_expression.h.

Referenced by get_bit_width(), and scv_expression_core().

int scv_expression_core::_boolValue [protected]
 

Definition at line 262 of file scv_expression.h.

sc_bv_base* scv_expression_core::_data [protected]
 

Definition at line 268 of file scv_expression.h.

Referenced by scv_expression_core(), and ~scv_expression_core().

double scv_expression_core::_doubleValue [protected]
 

Definition at line 264 of file scv_expression.h.

long long scv_expression_core::_intValue [protected]
 

Definition at line 261 of file scv_expression.h.

scv_expression scv_expression_core::_left [protected]
 

Definition at line 271 of file scv_expression.h.

scv_expression::operatorT scv_expression_core::_operator [protected]
 

Definition at line 270 of file scv_expression.h.

Referenced by get_bool_value(), get_double_value(), get_extension(), get_int_value(), get_name(), get_operator(), get_unsigned_value(), get_value(), scv_expression_core(), scv_expression_core_signal< T >::update_signal_value(), and ~scv_expression_core().

scv_expression scv_expression_core::_right [protected]
 

Definition at line 272 of file scv_expression.h.

sc_string* scv_expression_core::_sc_str [protected]
 

Definition at line 266 of file scv_expression.h.

string* scv_expression_core::_str [protected]
 

Definition at line 265 of file scv_expression.h.

unsigned long long scv_expression_core::_unsignedValue [protected]
 

Definition at line 263 of file scv_expression.h.

union { ... } scv_expression_core::_value [protected]
 

Referenced by get_bool_value(), get_double_value(), get_int_value(), get_unsigned_value(), get_value(), scv_expression_core(), and ~scv_expression_core().

scv_extensions_if* scv_expression_core::core_ [protected]
 

Definition at line 259 of file scv_expression.h.

Referenced by get_extension(), get_name(), scv_expression_core_signal< T >::scv_expression_core_signal(), and scv_expression_core_signal< T >::update_signal_value().


The documentation for this class was generated from the following files:
Generated on Fri Jan 14 08:32:15 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18