クラス sc_dt::sc_concat_bool

#include <sc_concatref.h>

sc_dt::sc_concat_boolに対する継承グラフ

Inheritance graph
[凡例]

すべてのメンバ一覧

Public メソッド

virtual ~sc_concat_bool ()
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

Static Public メソッド

static sc_concat_boolallocate (bool v)

Protected 変数

bool m_value

Static Protected 変数

static sc_core::sc_vpool
< sc_concat_bool
m_pool


説明

sc_concatref.h566 行で定義されています。


コンストラクタとデストラクタ

virtual sc_dt::sc_concat_bool::~sc_concat_bool (  )  [inline, virtual]

sc_concatref.h576 行で定義されています。

00577         { }


関数

static sc_concat_bool* sc_dt::sc_concat_bool::allocate ( bool  v  )  [inline, static]

sc_concatref.h581 行で定義されています。

00582     {
00583         sc_concat_bool* result_p = m_pool.allocate();
00584         result_p->m_value = v;
00585         return result_p;
00586     }

virtual int sc_dt::sc_concat_bool::concat_length ( bool *  xz_present_p  )  const [inline, virtual]

sc_dt::sc_value_baseを再定義しています。

sc_concatref.h590 行で定義されています。

00591     { 
00592         if ( xz_present_p ) *xz_present_p = false;
00593         return 1; 
00594     }

virtual bool sc_dt::sc_concat_bool::concat_get_ctrl ( sc_digit dst_p,
int  low_i 
) const [inline, virtual]

sc_dt::sc_value_baseを再定義しています。

sc_concatref.h596 行で定義されています。

00597     {
00598         int bit = 1 << (low_i % BITS_PER_DIGIT); 
00599         int word_i = low_i / BITS_PER_DIGIT;
00600         dst_p[word_i] &= ~bit;
00601         return false;
00602     }

virtual bool sc_dt::sc_concat_bool::concat_get_data ( sc_digit dst_p,
int  low_i 
) const [inline, virtual]

sc_dt::sc_value_baseを再定義しています。

sc_concatref.h604 行で定義されています。

00605     {
00606         int bit = 1 << (low_i % BITS_PER_DIGIT); 
00607         int word_i = low_i / BITS_PER_DIGIT;
00608         if ( m_value )
00609             dst_p[word_i] |= bit;
00610         else 
00611             dst_p[word_i] &= ~bit;
00612         return m_value;
00613     }

virtual uint64 sc_dt::sc_concat_bool::concat_get_uint64 (  )  const [inline, virtual]

sc_dt::sc_value_baseを再定義しています。

sc_concatref.h615 行で定義されています。

00616     {
00617         return m_value ? 1 : 0;
00618     }


変数

sc_concatref.h569 行で定義されています。

sc_concatref.h570 行で定義されています。


このクラスの説明は次のファイルから生成されました:

SystemCに対してFri Jun 6 20:13:07 2008に生成されました。  doxygen 1.5.6