UserComponentList class is used to manage the list of UserComponent objects. It enables to create, duplicate, and delete a user component.
The class can be called from Application class.
.
More...
Public Member Functions | |
| UserComponent * | CreateUserComponent (String &name) |
| Creates a user component object by specifying a name. More... | |
| void | DeleteUserComponent (Variant &val) |
| Deletes the user component specified with its name or index. More... | |
| void | DeleteUserComponentByObject (UserComponent *object) |
| Deletes the user component specified with its UserComponent object. More... | |
| UserComponent * | GetUserComponent (Variant &val) |
| Returns the user component. More... | |
| bool | IsSingleton () |
| Since this is an internal function, it is not officially supported. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumUserComponents () |
| Returns the number of user components. More... | |
UserComponentList class is used to manage the list of UserComponent objects. It enables to create, duplicate, and delete a user component.
The class can be called from Application class.
.
Example of calling the class object:
| UserComponent * UserComponentList::CreateUserComponent | ( | String & | name | ) |
Creates a user component object by specifying a name.
| name | Name of the user component |
| void UserComponentList::DeleteUserComponent | ( | Variant & | val | ) |
Deletes the user component specified with its name or index.
| val | Name or index of the user component |
| void UserComponentList::DeleteUserComponentByObject | ( | UserComponent * | object | ) |
Deletes the user component specified with its UserComponent object.
| object | UserComponent object |
| UserComponent * UserComponentList::GetUserComponent | ( | Variant & | val | ) |
Returns the user component.
| val | Name or index of the user component |
| bool UserComponentList::IsSingleton | ( | ) |
Since this is an internal function, it is not officially supported.
| bool UserComponentList::IsValid | ( | ) |
Returns True if an object is valid.
| int UserComponentList::NumUserComponents | ( | ) |
Returns the number of user components.