クラス sc_dt::sc_length_param

#include <sc_length_param.h>

すべてのメンバ一覧

Public メソッド

 sc_length_param ()
 sc_length_param (int)
 sc_length_param (const sc_length_param &)
 sc_length_param (sc_without_context)
sc_length_paramoperator= (const sc_length_param &)
int len () const
void len (int)
const std::string to_string () const
void print (::std::ostream &=::std::cout) const
void dump (::std::ostream &=::std::cout) const

Private 変数

int m_len

フレンド

bool operator== (const sc_length_param &, const sc_length_param &)
bool operator!= (const sc_length_param &, const sc_length_param &)


説明

sc_length_param.h71 行で定義されています。


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

sc_dt::sc_length_param::sc_length_param (  )  [inline]

sc_length_param.h113 行で定義されています。

00114 {
00115     *this = sc_length_context::default_value();
00116 }

sc_dt::sc_length_param::sc_length_param ( int  len_  )  [inline]

sc_length_param.h119 行で定義されています。

00120 {
00121     SC_CHECK_WL_( len_ );
00122     m_len = len_;
00123 }

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

sc_length_param.h126 行で定義されています。

00127     : m_len( a.m_len )
00128 {}

sc_dt::sc_length_param::sc_length_param ( sc_without_context   )  [inline, explicit]

sc_length_param.h131 行で定義されています。

00132     : m_len( SC_DEFAULT_WL_ )
00133 {}


関数

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

sc_length_param.h138 行で定義されています。

00139 {
00140     if( &a != this )
00141     {
00142         m_len = a.m_len;
00143     }
00144     return *this;
00145 }

int sc_dt::sc_length_param::len (  )  const [inline]

sc_length_param.h165 行で定義されています。

00166 {
00167     return m_len;
00168 }

void sc_dt::sc_length_param::len ( int  len_  )  [inline]

sc_length_param.h172 行で定義されています。

00173 {
00174     SC_CHECK_WL_( len_ );
00175     m_len = len_;
00176 }

const std::string sc_dt::sc_length_param::to_string (  )  const

sc_length_param.cpp59 行で定義されています。

00060 {
00061     std::string s;
00062 
00063     char buf[BUFSIZ];
00064 
00065     s += "(";
00066     std::sprintf( buf, "%d", m_len );
00067     s += buf;
00068     s += ")";
00069 
00070     return s;
00071 }

void sc_dt::sc_length_param::print ( ::std::ostream &  os = ::std::cout  )  const

sc_length_param.cpp75 行で定義されています。

00076 {
00077     os << to_string();
00078 }

void sc_dt::sc_length_param::dump ( ::std::ostream &  os = ::std::cout  )  const

sc_length_param.cpp81 行で定義されています。

00082 {
00083     os << "sc_length_param" << ::std::endl;
00084     os << "(" << ::std::endl;
00085     os << "len = " << m_len << ::std::endl;
00086     os << ")" << ::std::endl;
00087 }


フレンドと関連する関数

bool operator== ( const sc_length_param a,
const sc_length_param b 
) [friend]

bool operator!= ( const sc_length_param a,
const sc_length_param b 
) [friend]


変数

sc_length_param.h97 行で定義されています。


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

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