The Collect class is used to handle a collection of elements, such as objects.
-
Disposes of the class and all of it's elements.
-
Returns a string into strBuf stating the object name and collection size.
-
For the object and each of it's elements, this prints the object's name and collection size on the screen in a dialog box.
-
Adds the given nodes to the collection of elements. It returns a pointer to the object.
-
Deletes the specified nodes from the collection of elements. It returns a pointer to the object.
-
For each element, this calls aSelector (a method or property), and if given, the rest of the sendParams.
-
For each element, this calls aSelector (a method or property), and if given, the rest of the sendParams. The first send to an element to return TRUE
will cause firstTrue to return a pointer to that object. If no send returns TRUE, firstTrue will return NULL.
-
For each element, this calls aSelector (a method or property), and if given, the rest of the sendParams. If any send to an element returns FALSE, allTrue
will return FALSE as well. Otherwise, if all sends have returned TRUE, so will allTRUE.
-
Checks to see if the object contains aNode in it's collection of elements.
-
Returns TRUE is the collection contains no nodes (elements). Otherwise, it returns FALSE.
-
Returns a pointer to the first node in the collection.
-
Returns a pointer to the node after the specified one.
-
Deletes all the nodes (elements) from the collection.