クラス テンプレート shttl::setassoc_table_strage_vector< line_type >

#include <setassoc_table.h>

shttl::setassoc_table_strage_vector< line_type >のコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Public 型

typedef setassoc_table_set_vector<
const line_type, const this_type
const_set_type
typedef setassoc_table_set_vector<
line_type, this_type
set_type
typedef size_t size_type
typedef std::vector< line_type > strage_type
typedef setassoc_table_strage_vector<
line_type > 
this_type

Public メソッド

const line_type & at (size_type index) const
line_type & at (size_type index)
const_set_type get_set (size_type index) const
set_type get_set (size_type index)
void resize (size_type set_num, size_type way_num)

Static Public 変数

static const size_type invalid_index = ~((size_type)0)
static const size_type invalid_way = ~((size_type)0)

Protected 変数

strage_type m_body
size_type m_set_num
size_type m_way_num

説明

template<typename line_type>
class shttl::setassoc_table_strage_vector< line_type >

setassoc_table.h372 行で定義されています。


型定義

template<typename line_type>
typedef setassoc_table_set_vector< const line_type, const this_type > shttl::setassoc_table_strage_vector< line_type >::const_set_type

setassoc_table.h388 行で定義されています。

template<typename line_type>
typedef setassoc_table_set_vector< line_type, this_type > shttl::setassoc_table_strage_vector< line_type >::set_type

setassoc_table.h383 行で定義されています。

template<typename line_type>
typedef size_t shttl::setassoc_table_strage_vector< line_type >::size_type

setassoc_table.h377 行で定義されています。

template<typename line_type>
typedef std::vector<line_type> shttl::setassoc_table_strage_vector< line_type >::strage_type

setassoc_table.h378 行で定義されています。

template<typename line_type>
typedef setassoc_table_strage_vector< line_type > shttl::setassoc_table_strage_vector< line_type >::this_type

setassoc_table.h376 行で定義されています。


関数

template<typename line_type>
const line_type& shttl::setassoc_table_strage_vector< line_type >::at ( size_type  index  )  const [inline]

setassoc_table.h398 行で定義されています。

00398         {
00399             return m_body.at( index );
00400         }
00401 

template<typename line_type>
line_type& shttl::setassoc_table_strage_vector< line_type >::at ( size_type  index  )  [inline]

setassoc_table.h393 行で定義されています。

00393         {
00394             return m_body.at( index );
00395         }
00396 

template<typename line_type>
const_set_type shttl::setassoc_table_strage_vector< line_type >::get_set ( size_type  index  )  const [inline]

setassoc_table.h413 行で定義されています。

00413         {
00414             size_type offset = index*m_way_num;
00415             return const_set_type( 
00416                 this,
00417                 m_way_num,
00418                 offset
00419             );
00420         }
00421 

template<typename line_type>
set_type shttl::setassoc_table_strage_vector< line_type >::get_set ( size_type  index  )  [inline]

setassoc_table.h403 行で定義されています。

00403         {
00404             size_type offset = index*m_way_num;
00405             return set_type( 
00406                 this,
00407                 m_way_num,
00408                 offset
00409             );
00410         }
00411 

template<typename line_type>
void shttl::setassoc_table_strage_vector< line_type >::resize ( size_type  set_num,
size_type  way_num 
) [inline]

setassoc_table.h423 行で定義されています。

00423         {
00424             m_set_num = set_num;
00425             m_way_num = way_num;
00426             m_body.resize( set_num*way_num, line_type() );
00427         }
00428 


変数

template<typename line_type>
const size_type shttl::setassoc_table_strage_vector< line_type >::invalid_index = ~((size_type)0) [static]

setassoc_table.h390 行で定義されています。

template<typename line_type>
const size_type shttl::setassoc_table_strage_vector< line_type >::invalid_way = ~((size_type)0) [static]

setassoc_table.h391 行で定義されています。

template<typename line_type>
strage_type shttl::setassoc_table_strage_vector< line_type >::m_body [protected]

setassoc_table.h434 行で定義されています。

template<typename line_type>
size_type shttl::setassoc_table_strage_vector< line_type >::m_set_num [protected]

setassoc_table.h432 行で定義されています。

template<typename line_type>
size_type shttl::setassoc_table_strage_vector< line_type >::m_way_num [protected]

setassoc_table.h433 行で定義されています。


このクラスの説明は次のファイルから生成されました:
Onikiri2に対してTue Jun 18 15:35:55 2013に生成されました。  doxygen 1.4.7