メインページ | ネームスペース一覧 | クラス階層 | 構成 | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ | 関連ページ

クラス テンプレートgslib::static_container::list< Value, MaxSize >

最大サイズ MaxSize 分の領域を配列として静的確保し、 その範囲内でリストをやり繰りしていく。 [詳細]

#include <list.h>

gslib::static_container::list< Value, MaxSize >に対する継承グラフ

Inheritance graph
[凡例]
gslib::static_container::list< Value, MaxSize >のコラボレーション図

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

Public メソッド

 list ()
 list (const list &other)
listoperator= (const list &other)
bool full () const
 満タン?


Static Public メソッド

size_type max_size ()
 最大サイズ取得


Private 型

typedef boost::base_from_member<
list_node_pool< Value, MaxSize > > 
pool
typedef lodge_list< Value > parent

説明

template<typename Value, size_t MaxSize>
class gslib::static_container::list< Value, MaxSize >

最大サイズ MaxSize 分の領域を配列として静的確保し、 その範囲内でリストをやり繰りしていく。

アラインは正しく取られることを保障する。

list.h73 行で定義されています。


型定義

template<typename Value, size_t MaxSize>
typedef lodge_list< Value > gslib::static_container::list< Value, MaxSize >::parent [private]
 

list.h79 行で定義されています。

template<typename Value, size_t MaxSize>
typedef boost::base_from_member< list_node_pool< Value, MaxSize > > gslib::static_container::list< Value, MaxSize >::pool [private]
 

gslib::static_container::lodge_list< Value >を再定義しています。

list.h78 行で定義されています。


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

template<typename Value, size_t MaxSize>
gslib::static_container::list< Value, MaxSize >::list  )  [inline]
 

list.h81 行で定義されています。

00081 : parent( pool::member ) {}

template<typename Value, size_t MaxSize>
gslib::static_container::list< Value, MaxSize >::list const list< Value, MaxSize > &  other  )  [inline]
 

list.h83 行で定義されています。

00083                                       : parent( pool::member ) {
00084                 insert( begin(), other.begin(), other.end() );
00085             }


関数

template<typename Value, size_t MaxSize>
bool gslib::static_container::list< Value, MaxSize >::full  )  const [inline]
 

満タン?

list.h95 行で定義されています。

00095                               {
00096                 return pool::member.full();
00097             }

template<typename Value, size_t MaxSize>
size_type gslib::static_container::list< Value, MaxSize >::max_size  )  [inline, static]
 

最大サイズ取得

list.h100 行で定義されています。

00100                                         {
00101                 return MaxSize;
00102             }

template<typename Value, size_t MaxSize>
list& gslib::static_container::list< Value, MaxSize >::operator= const list< Value, MaxSize > &  other  )  [inline]
 

list.h86 行で定義されています。

00086                                                    {
00087                 if ( this != &other ) {
00088                     clear();
00089                     insert( begin(), other.begin(), other.end() );
00090                 }
00091                 return *this;
00092             }


このクラスの説明は次のファイルから生成されました:
static_containerに対してSat Nov 27 15:03:21 2004に生成されました。 doxygen 1.3.6