class TStackAsVectorImp

More...

Definition#include <classlib/include/classlib/stacks.h>
Template formTStackAsVectorImp<class Vect, class T>
Inherited byTIStack, TIStackAsVector, TMIStackAsVector, TMStackAsVector, TStack, TStackAsVector
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

template class TStackAsVectorImp

Implements the fundamental stack operations, using a vector as the underlying implementation. The type Vect specifies the form of the vector, either a TVectorImp or a TIVectorImp. The type T specifies the type of the objects to be put on the stack. When using TVectorImp, T should be the same as T0. When using TIVectorImp, T should be of type pointer to T0. See TStackAsVector and TIStackAsVector for examples.

 TStackAsVectorImp ( unsigned max = DEFAULT_STACK_SIZE )

TStackAsVectorImp

int  IsEmpty ()

IsEmpty

[const]

int  IsFull ()

IsFull

[const]

int  GetItemsInContainer ()

GetItemsInContainer

[const]

Vect Data

Data

[protected]

unsigned Current

Current

[protected]


Generated by: nicola on gulliver.wadahome.it on Sun May 25 13:54:34 2003, using kdoc 2.0a53.