Compatibility with Selected Collection Classes

The collection classes CObArray, CObList, CMapStringToOb, and CMapWordToOb accept CObject pointer elements and thus are useful for storing collections of objects of CObject-derived classes. If such a collection is archived or sent to a diagnostic dump context, then the element objects are automatically processed. For more about collection classes, see Section 2.4 later in this chapter.