Remove all of the elements in the collection. This operates by continually calling RemoveAt()# until there are no objects left.
The objects are removed from the last, at index #(GetSize()-1)# toward the first at index zero.
Reimplemented in PArrayObjects, and PAbstractSortedList.
Definition at line 299 of file collect.cxx.
References PContainer::GetSize(), and PCollection::RemoveAt().
while (GetSize() > 0)