![]() ![]() ![]()
|
SophiaFramework 2.2 |
#include <SFUCollection.hpp>
class SFUCollection;
typedef SFUCollection& SFUCollectionRef; typedef SFUCollection* SFUCollectionPtr; typedef SFUCollection** SFUCollectionHandle; typedef const SFUCollection ConstSFUCollection; typedef const SFUCollection& ConstSFUCollectionRef; typedef const SFUCollection* ConstSFUCollectionPtr; typedef const SFUCollection** ConstSFUCollectionHandle;
typedef Bool (*EqualSPP)(ConstVoidPtr,ConstVoidPtr);
SFUCollection はすべてのコレクションの基底となる抽象クラスです。
EqualSPP 型は、コレクション内の要素を比較する関数を表します。
| コンストラクタ/デストラクタ | ||
|---|---|---|
| public |
SFUCollection | SFUCollection クラスのコンストラクタです。 |
| public |
~SFUCollection | SFUCollection のデストラクタです。 |
| パブリック関数 | ||
|---|---|---|
| public |
Clear | コレクションの要素をすべて削除します。 |
| public |
Empty | コレクションが空であるか判定します。 |
| public |
GetSize | コレクションの要素数を返します。 |
| public |
SetSize | コレクションの要素数を設定します。 |
| プロテクト関数 | ||
|---|---|---|
| protected static |
Equal | |
| 型 | ||
|---|---|---|
| EqualSPP | コレクションの要素を比較する関数です。 | |
[ public ] SFUCollection(Void);
SFUCollection は抽象クラスですので、 コンストラクタはほとんど有意義な動作を行いません。
[ public, virtual ] ~SFUCollection(Void);
[ public ] Void Clear(Void);
コレクションの要素をすべて削除し、 サイズを 0 に設定します。
[ public, const ] Bool Empty(Void);
コレクションの要素数が 0 であれば TRUE を返します。 0 でなければ FALSE を返します。
[ protected, static ] Bool Equal( ConstVoidPtr // ConstVoidPtr // );
... の説明 ...
... の説明 ...
*** 戻り値の説明 ***
*** 解説 ***
*** 使用例 ***
*** 主に xref リンクを書きます ***
[ public, pure-virtual, const ] UIntN GetSize(Void);
要素数の設定に成功すると TRUE を返します。
コレクションの要素数を設定します。 この関数は純粋仮想関数であり、派生クラスにより実装されます。
typedef Bool(* SFUCollection::EqualSPP)(ConstVoidPtr,ConstVoidPtr);
| Copyright(C) 2003-2004 Sophia Cradle Inc., All Rights Reserved. |
![]() ![]() ![]()
|