TQListUtils: The TQListUtils namespace provides a set of static utility methods related to lists.
Returns a list (pointer to instance of TList) of instances of TObjString of names of elements in <collection> or a null pointer in case no element is present (the user is responsible for deleting the returned instance). If <ownCollection> is true object <collection> will be deleted after having been read.
Returns a sorted list (pointer to instance of TList) of instances of TObjString of names of elements present in at least one of the two collections <c1> and <c2> (the user is responsible for deleting the returned instance). If <ownCollections> is true objects <c1> and <c2> will be deleted after having been read.
Removes all elements from input list <l> with names (string returned by GetName()) matching the string filter pattern <filter> and returns the number of elements that have been removed. If the list <l> is the owner of its objects (l->IsOwner() is true) elements will also be deleted.
Returns true if for each element in list <l1> there is an element with the same name in list <l2> and false otherwise.
Returns true if the two input lists <l1> and <l2> are isomorphic and false otherwise. Isomorphism in this context means that for element in one list there is exactly one object with the same name in the other list (implying in neither of the two lists there are two or more objects with the same name). Please note: in case both <l1> and <l2> are invalid pointer true is returned.
Returns true if there are two or more objects in the input list <list> with the same name and false otherwise.
clone all objects contained in one list and append them to the other
move all objects contained in one list to the other
find the first object in a list matching the given name name pattern may contain wildcars
find the first TQTaggable object that contains the given key-value-pair value may contain wildcards.
create a list of all names ob objects contained in some collection that match a given pattern. returns number of matches found.
loop over a list of objects, setting the status of all branches matching the list entry names