WIL説明書(C++)  3.0.0
全メンバ一覧 | 公開型 | 公開メンバ関数 | 限定公開変数類
FVCL::CFvListAllocator< TYPE > クラステンプレート

配列確保テンプレートクラス(単方向リスト) [詳解]

詳解

template<class TYPE>
class FVCL::CFvListAllocator< TYPE >

配列確保テンプレートクラス(単方向リスト)

テンプレート引数
TYPE配列の要素の型

namespace FVCL

配列の動的な確保を行います。確保された配列のアドレスは連続していません。

必要条件:
ヘッダー: FVCLbasic.h
+ FVCL::CFvListAllocator< TYPE > の継承関係図

公開型

typedef TYPE * pointer
 
typedef const TYPE * const_pointer
 
typedef TYPE & reference
 
typedef const TYPE & const_reference
 
typedef UINT size_type
 
- 基底クラス FVCL::CFvAllocator< TYPE > に属する継承公開型
typedef TYPE * pointer
 ポインタ型 [詳解]
 
typedef const TYPE * const_pointer
 ポインタ型(const付き) [詳解]
 
typedef TYPE & reference
 参照型 [詳解]
 
typedef const TYPE & const_reference
 参照型(const付き) [詳解]
 
typedef UINT size_type
 サイズ型 [詳解]
 

公開メンバ関数

 CFvListAllocator (size_type uiInitial, size_type uiIncrease)
 コンストラクタ [詳解]
 
virtual ~CFvListAllocator ()
 デストラクタ [詳解]
 
virtual reference SetItem (size_type uiIndex, const_reference _Val)
 配列への要素の設定 [詳解]
 
virtual reference GetItem (size_type uiIndex) const
 配列の要素の取得 [詳解]
 
virtual pointer GetBuffer (size_type uiIndex=0) const
 配列の要素へのアドレス取得 [詳解]
 
virtual bool Allocate ()
 配列の確保 [詳解]
 
virtual void Clear ()
 配列の開放 [詳解]
 
virtual bool Reserve (size_type uiIncrease)
 配列容量の追加 [詳解]
 
virtual bool Erase (size_type uiS, size_type uiE)
 配列要素の削除 [詳解]
 
virtual bool Insert (size_type uiPos, size_type uiSize, const_reference _Val)
 配列への要素の挿入 [詳解]
 
virtual bool PopBack ()
 配列末端からの要素の取り出し [詳解]
 
virtual bool PushBack (const_reference _Val)
 配列への要素の追加 [詳解]
 
virtual bool Resize (size_type uiSize, const_pointer pVal=NULL)
 配列の再確保 [詳解]
 
virtual bool ChangeOrder (size_type uiPos, INT order)
 配列要素の順序入れ替え [詳解]
 
virtual bool SwapItem (size_type uiPos1, size_type uiPos2)
 配列要素の位置入れ替え [詳解]
 
- 基底クラス FVCL::CFvAllocator< TYPE > に属する継承公開メンバ関数
 CFvAllocator (size_type uiInitial, size_type uiIncrease)
 コンストラクタ [詳解]
 
virtual ~CFvAllocator ()
 デストラクタ [詳解]
 
virtual size_type GetCount () const
 配列の要素数の取得 [詳解]
 
virtual size_type GetBack () const
 配列終端の指標の取得 [詳解]
 
virtual size_type GetCapacity () const
 配列の許容量の取得 [詳解]
 
virtual size_type SetIncrease (size_type uiIncrease)
 配列の増分の設定 [詳解]
 
virtual size_type GetIncrease () const
 配列の増分の取得 [詳解]
 
- 基底クラス FVCL::CFvObject に属する継承公開メンバ関数
 CFvObject ()
 標準のコンストラクタ [詳解]
 
virtual ~CFvObject ()
 デストラクタ [詳解]
 
INT SetErrorCode (INT err)
 エラーコードの設定 [詳解]
 
INT SetErrorCode (INT err) const
 エラーコードの設定 [詳解]
 
INT GetErrorCode () const
 エラーコードの取得 [詳解]
 
bool SetAllocateOption (INT value)
 画像領域確保時のオプションの設定 [詳解]
 
INT GetAllocateOption () const
 画像領域確保時のオプションの取得 [詳解]
 
void * operator new (size_t uiSize)
 new オペレータ [詳解]
 
void * operator new[] (size_t uiSize)
 new[] オペレータ [詳解]
 
void operator delete (void *pvObject)
 delete オペレータ [詳解]
 
void operator delete[] (void *pvObject)
 delete[] オペレータ [詳解]
 
void * operator new (size_t uiSize, LPCSTR szFileName, INT iLine)
 new オペレータ [詳解]
 
void * operator new[] (size_t uiSize, LPCSTR szFileName, INT iLine)
 new[] オペレータ [詳解]
 
void operator delete (void *pvObject, LPCSTR szFileName, INT iLine)
 delete オペレータ [詳解]
 
void operator delete[] (void *pvObject, LPCSTR szFileName, INT iLine)
 delete[] オペレータ [詳解]
 
virtual CFvObjectoperator= (const CFvObject &src)
 代入オペレータ [詳解]
 
virtual bool operator== (const CFvObject &src) const
 比較オペレータ (==) [詳解]
 
virtual bool operator!= (const CFvObject &src) const
 比較オペレータ (!=) [詳解]
 

限定公開変数類

pointer * m_ppTable
 配列 [詳解]
 
- 基底クラス FVCL::CFvAllocator< TYPE > に属する継承限定公開変数類
size_type m_uiCount
 配列内の要素数 [詳解]
 
size_type m_uiCapacity
 配列の許容量 [詳解]
 
size_type m_uiInitial
 配列の初期容量 [詳解]
 
size_type m_uiIncrease
 配列の増分 [詳解]
 
- 基底クラス FVCL::CFvObject に属する継承限定公開変数類
INT m_ErrorCode
 エラーコード [詳解]
 
INT m_AllocateOption
 画像領域確保時のオプション [詳解]
 

その他の継承メンバ

- 基底クラス FVCL::CFvObject に属する継承静的公開メンバ関数
static bool SetDefaultAllocateOption (INT value)
 既定の画像領域確保時のオプションの設定 [詳解]
 
static INT GetDefaultAllocateOption ()
 既定の画像領域確保時のオプションの取得 [詳解]
 
- 基底クラス FVCL::CFvObject に属する継承限定公開メンバ関数
INT fnCPUCheck ()
 CPU情報の取得 [詳解]
 

構築子と解体子

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::CFvListAllocator ( size_type  uiInitial,
size_type  uiIncrease 
)
inline

コンストラクタ

引数
[in]uiInitial領域の初期容量(要素数)
[in]uiIncrease領域の増分(要素数)
template<class TYPE >
FVCL::CFvListAllocator< TYPE >::~CFvListAllocator ( )
inlinevirtual

デストラクタ

関数詳解

template<class TYPE >
CFvListAllocator< TYPE >::reference FVCL::CFvListAllocator< TYPE >::SetItem ( size_type  uiIndex,
const_reference  _Val 
)
inlinevirtual

配列への要素の設定

引数
[in]uiIndex配列指標
[in]_Val設定する要素
戻り値
設定した要素を返します。 異常により、返せない場合は例外を発行します。
例外
FVCL::CFveBadAccessException

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
CFvListAllocator< TYPE >::reference FVCL::CFvListAllocator< TYPE >::GetItem ( size_type  uiIndex) const
inlinevirtual

配列の要素の取得

引数
[in]uiIndex配列指標
戻り値
要素を返します。 異常により、返せない場合は例外を発行します。
例外
FVCL::CFveBadAccessException

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
CFvListAllocator< TYPE >::pointer FVCL::CFvListAllocator< TYPE >::GetBuffer ( size_type  uiIndex = 0) const
inlinevirtual

配列の要素へのアドレス取得

引数
[in]uiIndex配列指標
戻り値
要素へのアドレスを返します。 異常により、返せない場合は例外を発行します。
例外
FVCL::CFveBadAccessException

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::Allocate ( )
inlinevirtual

配列の確保

戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::Clear ( )
inlinevirtual

配列の開放

戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::Reserve ( size_type  uiIncrease)
inlinevirtual

配列容量の追加

引数
[in]uiIncrease追加容量(byte)
戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::Erase ( size_type  uiS,
size_type  uiE 
)
inlinevirtual

配列要素の削除

引数
[in]uiS配列指標始点
[in]uiE配列指標終点
戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::Insert ( size_type  uiPos,
size_type  uiSize,
const_reference  _Val 
)
inlinevirtual

配列への要素の挿入

引数
[in]uiPos配列指標
[in]uiSize挿入する個数
[in]_Val挿入する要素
戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::PopBack ( )
inlinevirtual

配列末端からの要素の取り出し

戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::PushBack ( const_reference  _Val)
inlinevirtual

配列への要素の追加

引数
[in]_Val追加する要素
戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::Resize ( size_type  uiSize,
const_pointer  pVal = NULL 
)
inlinevirtual

配列の再確保

引数
[in]uiSize確保する容量(個数)
[in]pVal確保後の配列要素の初期値
戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::ChangeOrder ( size_type  uiPos,
INT  order 
)
inlinevirtual

配列要素の順序入れ替え

1つの要素の配列順序を入れ替えます。

引数
[in]uiPos入れ替え対象要素の指標
[in]order移動量
戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

template<class TYPE >
FVCL::CFvListAllocator< TYPE >::SwapItem ( size_type  uiPos1,
size_type  uiPos2 
)
inlinevirtual

配列要素の位置入れ替え

2つの要素の配列位置を入れ替えます。

引数
[in]uiPos1入れ替え対象要素の指標
[in]uiPos2入れ替え対象要素の指標
戻り値
true正常
false異常

FVCL::CFvAllocator< TYPE >を実装しています。

メンバ詳解

template<class TYPE >
CFvListAllocator< TYPE >::pointer * FVCL::CFvListAllocator< TYPE >::m_ppTable
protected

配列


Documentation copyright © 2007 FAST Corporation. [B-001864]
Generated on 2023年11月02日(木) 10時12分57秒 for WIL説明書(C++) by doxygen 1.8.11