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

sc_lv_base.h File Reference

#include "systemc/datatypes/bit/sc_bit_ids.h"
#include "systemc/datatypes/bit/sc_bv_base.h"
#include "systemc/datatypes/bit/sc_logic.h"
#include "systemc/datatypes/int/sc_length_param.h"

Include dependency graph for sc_lv_base.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  sc_dt

Defines

#define DEFN_BITWISE_AND_ASN_OP_T(tp)
#define DEFN_BITWISE_AND_OP_T_A(tp)
#define DEFN_BITWISE_AND_OP_T_B(tp)
#define DEFN_BITWISE_OR_ASN_OP_T(tp)
#define DEFN_BITWISE_OR_OP_T_A(tp)
#define DEFN_BITWISE_OR_OP_T_B(tp)
#define DEFN_BITWISE_XOR_ASN_OP_T(tp)
#define DEFN_BITWISE_XOR_OP_T_A(tp)
#define DEFN_BITWISE_XOR_OP_T_B(tp)
#define DEFN_REL_OP_T(tp)


Define Documentation

#define DEFN_BITWISE_AND_ASN_OP_T tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
X&                                                                            \
sc_proxy<X>::operator &= ( tp b )                                             \
{                                                                             \
    X& x = back_cast();                                                       \
    sc_lv_base a( x.length() );                                               \
    a = b;                                                                    \
    return b_and_assign_( x, a );                                             \
}

Definition at line 361 of file sc_lv_base.h.

#define DEFN_BITWISE_AND_OP_T_A tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
const sc_lv_base                                                              \
sc_proxy<X>::operator & ( tp b ) const                                        \
{                                                                             \
    sc_lv_base a( back_cast() );                                              \
    return ( a &= b );                                                        \
}

Definition at line 396 of file sc_lv_base.h.

#define DEFN_BITWISE_AND_OP_T_B tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
const sc_lv_base                                                              \
operator & ( tp b, const sc_proxy<X>& px )                                    \
{                                                                             \
    return ( px & b );                                                        \
}

Definition at line 423 of file sc_lv_base.h.

#define DEFN_BITWISE_OR_ASN_OP_T tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
X&                                                                            \
sc_proxy<X>::operator |= ( tp b )                                             \
{                                                                             \
    X& x = back_cast();                                                       \
    sc_lv_base a( x.length() );                                               \
    a = b;                                                                    \
    return b_or_assign_( x, a );                                              \
}

Definition at line 463 of file sc_lv_base.h.

#define DEFN_BITWISE_OR_OP_T_A tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
const sc_lv_base                                                              \
sc_proxy<X>::operator | ( tp b ) const                                        \
{                                                                             \
    sc_lv_base a( back_cast() );                                              \
    return ( a |= b );                                                        \
}

Definition at line 498 of file sc_lv_base.h.

#define DEFN_BITWISE_OR_OP_T_B tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
const sc_lv_base                                                              \
operator | ( tp b, const sc_proxy<X>& px )                                    \
{                                                                             \
    return ( px | b );                                                        \
}

Definition at line 525 of file sc_lv_base.h.

#define DEFN_BITWISE_XOR_ASN_OP_T tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
X&                                                                            \
sc_proxy<X>::operator ^= ( tp b )                                             \
{                                                                             \
    X& x = back_cast();                                                       \
    sc_lv_base a( x.length() );                                               \
    a = b;                                                                    \
    return b_xor_assign_( x, a );                                             \
}

Definition at line 565 of file sc_lv_base.h.

#define DEFN_BITWISE_XOR_OP_T_A tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
const sc_lv_base                                                              \
sc_proxy<X>::operator ^ ( tp b ) const                                        \
{                                                                             \
    sc_lv_base a( back_cast() );                                              \
    return ( a ^= b );                                                        \
}

Definition at line 600 of file sc_lv_base.h.

#define DEFN_BITWISE_XOR_OP_T_B tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
const sc_lv_base                                                              \
operator ^ ( tp b, const sc_proxy<X>& px )                                    \
{                                                                             \
    return ( px ^ b );                                                        \
}

Definition at line 627 of file sc_lv_base.h.

#define DEFN_REL_OP_T tp   
 

Value:

template <class X>                                                            \
inline                                                                        \
bool                                                                          \
sc_proxy<X>::operator == ( tp b ) const                                       \
{                                                                             \
    const X& x = back_cast();                                                 \
    sc_lv_base y( x.length() );                                               \
    y = b;                                                                    \
    return ( x == y );                                                        \
}

Definition at line 792 of file sc_lv_base.h.


Generated on Fri Jan 14 08:29:55 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18