Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C++ Class Library Definition - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

          Class Collection


     Derived classes  of the abstract class Collection are the classes
     you'll be using the most. For instance, since collections provide
     a way of gathering objects  together and operating upon them, you
     could start by designing a  particular section of a project using
     the abilities  provided by a Collection class. Later, when you've
     learned more about  the  characteristics of the design, you could
     decide upon the specific implementation of  Collection  class you
     desired.

     The  Collection  class  provides the ability to  use  objects  of
     different  derived  classes,  such  as  Arrays,  Sets,  and Bags,
     interchangeably, as long as the functions are restricted to those
     available for  a Collection. A Collection is distinguished from a
     class  in  the  sequence  grouping  by the ability  to  determine
     whether an object is a member of the Collection.

     Derived from: public Container

     Public member functions:
        add
        destroy
        detach
        hasMember
        findMember
        initIterator         Inherited from Container.
        isA                  Inherited from Container.
        nameOf               Inherited from Container.
        hashValue            Inherited from Container.
        printOn              Inherited from Container.
        isEqual              Inherited from Container.
        isEmpty              Inherited from Container.
        forEach              Inherited from Container.
        firstThat            Inherited from Container.
        lastThat             Inherited from Container.
        printHeader          Inherited from Container.
        printSeparator       Inherited from Container.
        printTrailer         Inherited from Container.
        getItemsInContainer  Inherited from Container.
        isSortable           Inherited from Object.
        isAssociation        Inherited from Object.
        operator new         Inherited from Object.

See Also: collection.h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson