クラス sc_dt::sc_int_subref

#include <sc_int_base.h>

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

Inheritance graph
[凡例]

すべてのメンバ一覧

Public メソッド

 sc_int_subref (const sc_int_subref &a)
sc_int_subrefoperator= (int_type v)
sc_int_subrefoperator= (const sc_int_base &a)
sc_int_subrefoperator= (const sc_int_subref_r &a)
sc_int_subrefoperator= (const sc_int_subref &a)
template<class T>
sc_int_subrefoperator= (const sc_generic_base< T > &a)
sc_int_subrefoperator= (const char *a)
sc_int_subrefoperator= (unsigned long a)
sc_int_subrefoperator= (long a)
sc_int_subrefoperator= (unsigned int a)
sc_int_subrefoperator= (int a)
sc_int_subrefoperator= (uint64 a)
sc_int_subrefoperator= (double a)
sc_int_subrefoperator= (const sc_signed &)
sc_int_subrefoperator= (const sc_unsigned &)
sc_int_subrefoperator= (const sc_bv_base &)
sc_int_subrefoperator= (const sc_lv_base &)
virtual void concat_set (int64 src, int low_i)
virtual void concat_set (const sc_signed &src, int low_i)
virtual void concat_set (const sc_unsigned &src, int low_i)
virtual void concat_set (uint64 src, int low_i)
void scan (::std::istream &is=::std::cin)

Static Public 変数

static sc_core::sc_vpool
< sc_int_subref
m_pool

Protected メソッド

 sc_int_subref ()

フレンド

class sc_int_base
class sc_core::sc_vpool< sc_int_subref >


説明

sc_int_base.h437 行で定義されています。


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

sc_dt::sc_int_subref::sc_int_subref (  )  [inline, protected]

sc_int_base.h447 行で定義されています。

00448         {}

sc_dt::sc_int_subref::sc_int_subref ( const sc_int_subref a  )  [inline]

sc_int_base.h454 行で定義されています。

00454                                             : sc_int_subref_r( a )
00455         {}


関数

sc_int_subref & sc_dt::sc_int_subref::operator= ( int_type  v  ) 

sc_int_base.cpp253 行で定義されています。

00254 {
00255     int_type val = m_obj_p->m_val;
00256     uint_type mask = mask_int[m_left][m_right];
00257     val &= mask;
00258     val |= (v << m_right) & ~mask;
00259     m_obj_p->m_val = val;
00260     m_obj_p->extend_sign();
00261     return *this;
00262 }

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_int_base a  )  [inline]

sc_int_base.h1183 行で定義されています。

01184 {
01185     return operator = ( a.operator int_type() );
01186 }

sc_int_subref& sc_dt::sc_int_subref::operator= ( const sc_int_subref_r a  )  [inline]

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

sc_int_base.h462 行で定義されています。

00463         { return operator = ( a.operator uint_type() ); }

sc_int_subref& sc_dt::sc_int_subref::operator= ( const sc_int_subref a  )  [inline]

sc_int_base.h465 行で定義されています。

00466         { return operator = ( a.operator uint_type() ); }

template<class T>
sc_int_subref& sc_dt::sc_int_subref::operator= ( const sc_generic_base< T > &  a  )  [inline]

sc_int_base.h469 行で定義されています。

00470         { return operator = ( a->to_int64() ); }

sc_int_subref & sc_dt::sc_int_subref::operator= ( const char *  a  )  [inline]

sc_int_base.h1190 行で定義されています。

01191 {
01192     sc_int_base aa( length() );
01193     return ( *this = aa = a );
01194 }

sc_int_subref& sc_dt::sc_int_subref::operator= ( unsigned long  a  )  [inline]

sc_int_base.h474 行で定義されています。

00475         { return operator = ( (int_type) a ); }

sc_int_subref& sc_dt::sc_int_subref::operator= ( long  a  )  [inline]

sc_int_base.h477 行で定義されています。

00478         { return operator = ( (int_type) a ); }

sc_int_subref& sc_dt::sc_int_subref::operator= ( unsigned int  a  )  [inline]

sc_int_base.h480 行で定義されています。

00481         { return operator = ( (int_type) a ); }

sc_int_subref& sc_dt::sc_int_subref::operator= ( int  a  )  [inline]

sc_int_base.h483 行で定義されています。

00484         { return operator = ( (int_type) a ); }

sc_int_subref& sc_dt::sc_int_subref::operator= ( uint64  a  )  [inline]

sc_int_base.h486 行で定義されています。

00487         { return operator = ( (int_type) a ); }

sc_int_subref& sc_dt::sc_int_subref::operator= ( double  a  )  [inline]

sc_int_base.h489 行で定義されています。

00490         { return operator = ( (int_type) a ); }

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_signed a  ) 

sc_int_base.cpp265 行で定義されています。

00266 {
00267     sc_int_base aa( length() );
00268     return ( *this = aa = a );
00269 }

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_unsigned a  ) 

sc_int_base.cpp272 行で定義されています。

00273 {
00274     sc_int_base aa( length() );
00275     return ( *this = aa = a );
00276 }

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_bv_base a  ) 

sc_int_base.cpp279 行で定義されています。

00280 {
00281     sc_int_base aa( length() );
00282     return ( *this = aa = a );
00283 }

sc_int_subref & sc_dt::sc_int_subref::operator= ( const sc_lv_base a  ) 

sc_int_base.cpp286 行で定義されています。

00287 {
00288     sc_int_base aa( length() );
00289     return ( *this = aa = a );
00290 }

void sc_dt::sc_int_subref::concat_set ( int64  src,
int  low_i 
) [virtual]

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

sc_int_base.cpp296 行で定義されています。

00297 {
00298     sc_int_base aa ( length() );
00299     *this = aa = (low_i < 64) ? src >> low_i : src >> 63;
00300 }

void sc_dt::sc_int_subref::concat_set ( const sc_signed src,
int  low_i 
) [virtual]

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

sc_int_base.cpp302 行で定義されています。

00303 {
00304     sc_int_base aa( length() );
00305     if ( low_i < src.length() )
00306         *this = aa = src >> low_i;
00307     else
00308         *this = (src < 0) ? (int_type)-1 : 0;
00309 }

void sc_dt::sc_int_subref::concat_set ( const sc_unsigned src,
int  low_i 
) [virtual]

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

sc_int_base.cpp311 行で定義されています。

00312 {
00313     sc_int_base aa( length() );
00314     if ( low_i < src.length() )
00315         *this = aa = src >> low_i;
00316     else
00317         *this = 0;
00318 }

void sc_dt::sc_int_subref::concat_set ( uint64  src,
int  low_i 
) [virtual]

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

sc_int_base.cpp320 行で定義されています。

00321 {
00322     sc_int_base aa ( length() );
00323     *this = aa = (low_i < 64) ? src >> low_i : 0;
00324 }

void sc_dt::sc_int_subref::scan ( ::std::istream &  is = ::std::cin  ) 

sc_int_base.cpp330 行で定義されています。

00331 {
00332     std::string s;
00333     is >> s;
00334     *this = s.c_str();
00335 }


フレンドと関連する関数

friend class sc_int_base [friend]

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

sc_int_base.h440 行で定義されています。

friend class sc_core::sc_vpool< sc_int_subref > [friend]

sc_int_base.h441 行で定義されています。


変数

sc_int_base.h509 行で定義されています。


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

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