Detailed Description
An ObjectCollection is a mutable array of objects. ObjectCollection does not allow the same object to be added more than once.
Member Function Documentation
Add the given object
- Parameters:
-
- Returns:
- TRUE if the object was added, FALSE otherwise
Determine if the given object exists in the ObjectCollection
- Parameters:
-
object | The object to check for |
- Returns:
- TRUE if the object exists, false otherwise
Get the index of the object in the ObjectCollection
- Parameters:
-
object | The object to retrieve the index of |
- Returns:
- The index of the object if found, -1 otherwise
Get the object at the given index
- Parameters:
-
index | The index of the object to check for |
- Returns:
- The object if index is within the bounds of the ObjectCollection, nil otherwise.
Remove the object
- Parameters:
-
object | The object to remove |
- Returns:
- TRUE if the object was removed, FALSE otherwise
Remove the object at the given index
- Parameters:
-
index | The index of the object to remove |
- Returns:
- TRUE if the object was removed, FALSE otherwise
The documentation for this class was generated from the following files: