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 Stack

     Class  Stack  is  a member of the sequence grouping of Container-
     derived classes. The class provides the  usual  stack operations,
     such as isEmpty(), push(),  and  pop().  In addition, class Stack
     provides a method for referencing and changing the top element of
     the  stack  without  popping the stack. This method, top(), is an
     exception to the container ownership rule, in that  it  returns a
     reference  to  an  object  which  is  still  owned by  the  stack
     container.  You must be careful not  to  destroy  the  referenced
     object, as this  will  disrupt the internal mechanism for storing
     the stack.

     Derived from: Container

     Public member functions:
        isA
        nameOf
        hashValue
        push
        pop
        top
        isEmpty
        initIterator
        printOn              Inherited from Container.
        isEqual              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: stack.h

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