OMStack class

The OMStack class contains basic library functions that enable you to create and manipulate OMStacks. An OMStack is a type-safe stack that implements a LIFO (last in, first out) algorithm.

This class is defined in the header file omstack.h.

Construction summary
OMStack
Constructs an OMStack object
~OMStack
Destroys the OMStack object
Method summary
getCount
Gets the number of items on the stack
isEmpty
Determines whether the stack is empty
pop
Pops an item off the stack
push
Pushes an item onto the stack
top
Moves the iterator to the first item in the stack

Feedback