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 DoubleList


     The class DoubleList provides a  method of placing objects on two
     lists while maintaining only one object. You can  add  and remove
     objects at  the  two  ends  of  the  lists.  Furthermore, you can
     traverse the list in  either  direction,  beginning at either the
     head or the tail, and reversing direction in the  middle  of  the
     iteration  process.    The  member  function  initReverseIterator
     begins the iteration process at the tail of the list.   To permit
     direction  reversal,  the  operator  --()  is  defined   for  the
     DoubleListIterator  class.
     'For a complete  list  of  the  member
     'functions  of  the  DoubleListIterator  class,  see  the  chapter
     'entitled "Classes In the  ContainerIterator  Hierarchy,"  on page
     '25.

     Derived from: Collection

     Public member functions:
        isA
        nameOf
        hashValue
        add
        detach
        detachFromHead
        detachFromTail
        peekAtHead
        peekAtTail
        addAtHead
        addAtTail
        destroyFromHead
        destroyFromTail
        initIterator
        initReverseIterator
        destroy              Inherited from Collection.
        hasMember            Inherited from Collection.
        findMember           Inherited from Collection.
        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: dbllist.h ContainerIterator

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