Abstract Container Structures: The Taxonomy

A container data structure (or container in the sequel) is an object which serves to store and access collections of objects, called the items of the container. All classes describing containers are descendants of the deferred class CONTAINER.

A container can be studied from three viewpoints: access, storage and traversal.

For each of these criteria the Base library offers a single-inheritance hierarchy of deferred classes. The top of the access hierarchy is class COLLECTION; the top of the storage hierarchy is class BOX; the top of the traversal hierarchy is class TRAVERSABLE. These three classes are heirs of the most general class, CONTAINER.