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

クラス テンプレートallocator_ref< Value, Allocator >

allocator_ref< Value, Allocator >のコラボレーション図

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

Public メソッド

Allocator * get () const
 allocator_ref (Allocator *allocator=0)
template<typename Other>  allocator_ref (const allocator_ref< Other, Allocator > &other)
Value * allocate (size_t n)
void deallocate (void *adrs, size_t n)

Private 変数

Allocator * allocator_

template<typename Value, typename Allocator>
class allocator_ref< Value, Allocator >


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

template<typename Value, typename Allocator>
allocator_ref< Value, Allocator >::allocator_ref Allocator *  allocator = 0  )  [inline]
 

test_tree.cpp208 行で定義されています。

参照先 allocator_ref< Value, Allocator >::allocator_.

00208 : allocator_( allocator ) {}

template<typename Value, typename Allocator>
template<typename Other>
allocator_ref< Value, Allocator >::allocator_ref const allocator_ref< Other, Allocator > &  other  )  [inline]
 

test_tree.cpp210 行で定義されています。

参照先 allocator_ref< Value, Allocator >::allocator_.

00210 : allocator_( other.get() ) {}


関数

template<typename Value, typename Allocator>
Value* allocator_ref< Value, Allocator >::allocate size_t  n  )  [inline]
 

test_tree.cpp211 行で定義されています。

参照先 allocator_ref< Value, Allocator >::allocator_.

00211                                 {
00212         return reinterpret_cast< Value* >( allocator_->allocate( n ) );
00213     }

template<typename Value, typename Allocator>
void allocator_ref< Value, Allocator >::deallocate void *  adrs,
size_t  n
[inline]
 

test_tree.cpp214 行で定義されています。

参照先 allocator_ref< Value, Allocator >::allocator_.

00214                                             {
00215         allocator_->deallocate( adrs, n );
00216     }

template<typename Value, typename Allocator>
Allocator* allocator_ref< Value, Allocator >::get  )  const [inline]
 

test_tree.cpp203 行で定義されています。

参照先 allocator_ref< Value, Allocator >::allocator_.

00203 { return allocator_; }


変数

template<typename Value, typename Allocator>
Allocator* allocator_ref< Value, Allocator >::allocator_ [private]
 

test_tree.cpp201 行で定義されています。

参照元 allocator_ref< Value, Allocator >::allocate(), allocator_ref< Value, Allocator >::allocator_ref(), allocator_ref< Value, Allocator >::deallocate(), と allocator_ref< Value, Allocator >::get().


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