class TMStackAsVector

More...

Definition#include <classlib/include/classlib/stacks.h>
Template formTMStackAsVector<class T>
InheritsTStackAsVectorImp [public ]
Inherited byTStack, TStackAsVector
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members

Private Types


Detailed Description

template class TMStackAsVector template class TMStackAsVectorIterator

Implements a managed stack of objects of type T, using a vector as the underlying implementation.

typedef TStackAsVectorImp<TMVectorImp,T> Parent

Parent

[private]

friend class TMStackAsVectorIterator

TMStackAsVectorIterator

typedef void  (*IterFunc) (T&, void *)

(*IterFunc)

typedef int  (*CondFunc) (const T&, void *)

(*CondFunc)

 TMStackAsVector ( unsigned max = DEFAULT_STACK_SIZE )

TMStackAsVector

void  Push ( const T& t )

Push

T  Pop ()

Pop

const T&  Top ()

Top

[const]

void  ForEach ( IterFunc iter, void *args )

ForEach

T * FirstThat ( CondFunc cond, void *args )

FirstThat

[const]

T * LastThat ( CondFunc cond, void *args )

LastThat

[const]

void  Flush ()

Flush


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