公開メンバ関数 | 全メンバ一覧
UserComponentList クラス

UserComponentList クラスは UserComponent オブジェクトの一覧を管理します。ユーザーコンポーネントの作成や複製、削除などを行います。
Application クラスから呼び出すことができます。
. [詳解]

公開メンバ関数

UserComponentCreateUserComponent (String &name)
 名称を指定して UserComponent オブジェクトを作成します。 [詳解]
 
void DeleteUserComponent (Variant &val)
 名前またはインデックスで指定したユーザーコンポーネントを削除します。 [詳解]
 
void DeleteUserComponentByObject (UserComponent *object)
 UserComponent オブジェクトで指定したユーザーコンポーネントを削除します。 [詳解]
 
UserComponentGetUserComponent (Variant &val)
 ユーザーコンポーネントを取得します。 [詳解]
 
bool IsSingleton ()
 これは内部関数であるため、正式にサポートしていません。 [詳解]
 
bool IsValid ()
 オブジェクトが有効であるとき、戻り値として True を取得します。 [詳解]
 
int NumUserComponents ()
 ユーザーコンポーネントの数を取得します。 [詳解]
 

詳解

UserComponentList クラスは UserComponent オブジェクトの一覧を管理します。ユーザーコンポーネントの作成や複製、削除などを行います。
Application クラスから呼び出すことができます。
.

このクラスのオブジェクトを取得する例:

app.GetUserComponentList()

関数詳解

UserComponent * UserComponentList::CreateUserComponent ( String &  name)

名称を指定して UserComponent オブジェクトを作成します。

引数
nameユーザーコンポーネントの名称
戻り値
UserComponent オブジェクト
void UserComponentList::DeleteUserComponent ( Variant &  val)

名前またはインデックスで指定したユーザーコンポーネントを削除します。

引数
valユーザーコンポーネントの名称またはインデックス
void UserComponentList::DeleteUserComponentByObject ( UserComponent object)

UserComponent オブジェクトで指定したユーザーコンポーネントを削除します。

引数
UserComponentオブジェクト
UserComponent * UserComponentList::GetUserComponent ( Variant &  val)

ユーザーコンポーネントを取得します。

引数
valユーザーコンポーネントの名称またはインデックス
戻り値
UserComponent オブジェクト
bool UserComponentList::IsSingleton ( )

これは内部関数であるため、正式にサポートしていません。

非推奨:
bool UserComponentList::IsValid ( )

オブジェクトが有効であるとき、戻り値として True を取得します。

戻り値
UserComponent オブジェクトの有効・無効
int UserComponentList::NumUserComponents ( )

ユーザーコンポーネントの数を取得します。

戻り値
ユーザーコンポーネントの数