next up previous contents
Next: Display objects Up: Utility objects Previous: ResizeArray   Contents

Subsections


Stack

Files: Stack.h, Stack.c
Derived from: none
Global instance (if any): none
Used in optional component: Part of main VMD code

Description

A template class which implements a simple stack of arbitrary data. Items are pushed onto and popped off of the stack, or may just be copied from the stack.

Constructors

Internal data structures

Nonvirtual member functions

Method of use

You instantiate a stack by telling it how large it can grow, and then just push and pop data on/off the stack. If the stack gets too large or small, warning messagea are printed.


next up previous contents
Next: Display objects Up: Utility objects Previous: ResizeArray   Contents
vmd@ks.uiuc.edu