Objective Views : Chapter 14 Utility Classes : Sets and Iterators
Sets and Iterators
Sets are collections of objects. We refer to sets throughout Objective Views. Sets use the CCArray_T template defined in the MVC section of the code. It is a CArray that is multiply inherited from the ICollection_T template, which allows it to have an iterator.
Iterators are objects that can step through collections. The sets used in Objective Views all use the ICollection_T template found in the MVC section of the code, which allows iterators to operate on them.