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

sc_concatref.h File Reference

#include "systemc/kernel/sc_object.h"
#include "systemc/datatypes/misc/sc_value_base.h"
#include "systemc/utils/sc_temporary.h"
#include "systemc/datatypes/bit/sc_bv.h"
#include "systemc/datatypes/bit/sc_lv.h"
#include "systemc/datatypes/int/sc_int_base.h"
#include "systemc/datatypes/int/sc_uint_base.h"
#include "systemc/datatypes/int/sc_signed.h"
#include "systemc/datatypes/int/sc_unsigned.h"

Include dependency graph for sc_concatref.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 CONCONST
#define SC_CONCAT_OP_TYPE(RESULT, OP, OTHER_TYPE)
#define SC_CONCAT_OP(RESULT, OP)

Variables

sc_byte_heap sc_temp_heap


Define Documentation

#define CONCONST
 

Definition at line 59 of file sc_concatref.h.

#define SC_CONCAT_OP RESULT,
OP   
 

Value:

inline RESULT operator OP ( const sc_concatref& a, const sc_concatref& b ) \
  { \
    return a.to_sc_unsigned() OP b.to_sc_unsigned(); \
  }  \
  SC_CONCAT_OP_TYPE(RESULT,OP,int) \
  SC_CONCAT_OP_TYPE(RESULT,OP,long) \
  SC_CONCAT_OP_TYPE(RESULT,OP,int64) \
  SC_CONCAT_OP_TYPE(RESULT,OP,unsigned int) \
  SC_CONCAT_OP_TYPE(RESULT,OP,unsigned long) \
  SC_CONCAT_OP_TYPE(RESULT,OP,uint64) \
  SC_CONCAT_OP_TYPE(RESULT,OP,const sc_int_base&) \
  SC_CONCAT_OP_TYPE(RESULT,OP,const sc_uint_base&) \
  SC_CONCAT_OP_TYPE(RESULT,OP,const sc_signed&) \
  SC_CONCAT_OP_TYPE(RESULT,OP,const sc_unsigned&) \
    inline RESULT operator OP ( const sc_concatref& a, bool b ) \
    { \
      return a.to_sc_unsigned() OP (int)b; \
    } \
    inline RESULT operator OP ( bool a, const sc_concatref& b ) \
    { \
      return (int)a OP b.to_sc_unsigned(); \
    }

Definition at line 658 of file sc_concatref.h.

#define SC_CONCAT_OP_TYPE RESULT,
OP,
OTHER_TYPE   
 

Value:

inline RESULT operator OP ( const sc_concatref& a, OTHER_TYPE b ) \
    { \
      return a.to_sc_unsigned() OP b; \
    } \
    inline RESULT operator OP ( OTHER_TYPE a, const sc_concatref& b ) \
    { \
      return a OP b.to_sc_unsigned(); \
    }

Definition at line 647 of file sc_concatref.h.


Variable Documentation

sc_byte_heap sc_temp_heap
 

Definition at line 61 of file sc_concatref.h.


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