SourceForge.jp

クラス テンプレートdkutil::scoped_buffer_base< IMPL >

boost::scoped_arrayのパクリ・・・(どうか、このクラスを廃止の方向にしないで下さい。 [詳細]

#include <dkutilBuffer.h>

dkutil::scoped_buffer_base< IMPL >に対する継承グラフ

Inheritance graph
[凡例]
dkutil::scoped_buffer_base< IMPL >のコラボレーション図

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

Public メソッド

 scoped_buffer_base (size_type size=0)
virtual ~scoped_buffer_base ()
char * get () const
 ポインタを得る

char * data () const
 get()のwrapper

size_type capacity () const
void clear ()
bool isValid () const
 有効かどうか・・・

void reset (size_type size)
 memoryをclearしてサイズを変更するみたいな?

size_type size () const
void resize (size_type size)
 いわいるreallocみたいな?

char & operator[] (size_type s)
const char & operator[] (size_type s) const

説明

template<class IMPL>
class dkutil::scoped_buffer_base< IMPL >

boost::scoped_arrayのパクリ・・・(どうか、このクラスを廃止の方向にしないで下さい。

覚え書き:
boost::scoped_array<char>はnew char[]がめんどい!


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

template<class IMPL>
dkutil::scoped_buffer_base< IMPL >::scoped_buffer_base size_type  size = 0  )  [inline]
 

template<class IMPL>
virtual dkutil::scoped_buffer_base< IMPL >::~scoped_buffer_base  )  [inline, virtual]
 


関数

template<class IMPL>
size_type dkutil::scoped_buffer_base< IMPL >::capacity  )  const [inline]
 

template<class IMPL>
void dkutil::scoped_buffer_base< IMPL >::clear  )  [inline]
 

template<class IMPL>
char* dkutil::scoped_buffer_base< IMPL >::data  )  const [inline]
 

get()のwrapper

template<class IMPL>
char* dkutil::scoped_buffer_base< IMPL >::get  )  const [inline]
 

ポインタを得る

template<class IMPL>
bool dkutil::scoped_buffer_base< IMPL >::isValid  )  const [inline]
 

有効かどうか・・・

template<class IMPL>
const char& dkutil::scoped_buffer_base< IMPL >::operator[] size_type  s  )  const [inline]
 

template<class IMPL>
char& dkutil::scoped_buffer_base< IMPL >::operator[] size_type  s  )  [inline]
 

template<class IMPL>
void dkutil::scoped_buffer_base< IMPL >::reset size_type  size  )  [inline]
 

memoryをclearしてサイズを変更するみたいな?

template<class IMPL>
void dkutil::scoped_buffer_base< IMPL >::resize size_type  size  )  [inline]
 

いわいるreallocみたいな?

template<class IMPL>
size_type dkutil::scoped_buffer_base< IMPL >::size  )  const [inline]
 


このクラスの説明は次のファイルから生成されました:
dkutil 1.02リリース前 d金魚専用マニュアルバージョンに対してSun Dec 28 21:23:13 2003に生成されました。 doxygen 1.3.5