Logo Data Structures and Algorithms with Object-Oriented Design Patterns in C++
next up previous contents index

Member Variables

The implementation of the StackAsLinkedList class makes use of one member variable--list. The variable list is an instance of the LinkedList<T> class template with tex2html_wrap_inline61300. Thus, list is a linked list of pointers to Objects. This list will be used to keep track of the elements in the stack. Since we have decided to implement containers using indirect storage, the linked list contains pointers to the objects in the stack.


next up previous contents index

Bruno Copyright © 1997 by Bruno R. Preiss, P.Eng. All rights reserved.