Puma Reference Manual Puma: Puma::PtrStack< T > Class Template Reference



Puma::PtrStack< T > Class Template Reference

#include <PtrStack.h>

Inheritance diagram for Puma::PtrStack< T >:

Inheritance graph

List of all members.

template<class T>
class Puma::PtrStack< T >


Public Member Functions

 PtrStack (long=8192, long=8192)
virtual ~PtrStack ()
void Push (const T *)
void Pop ()
T * Top () const
long Length () const
T * Get (long) const
void New ()
void Forget ()
void Reject ()
void Destroy ()
long Stacks () const
void Reset ()

Protected Member Functions

virtual void Delete ()
virtual void Remove ()

Constructor & Destructor Documentation

template<class T>
Puma::PtrStack< T >::PtrStack ( long  is = 8192,
long  incr = 8192 
) [inline]

template<class T>
virtual Puma::PtrStack< T >::~PtrStack (  )  [inline, virtual]


Member Function Documentation

template<class T>
void Puma::PtrStack< T >::Push ( const T *  item  )  [inline]

template<class T>
void Puma::PtrStack< T >::Pop (  )  [inline]

template<class T>
T * Puma::PtrStack< T >::Top (  )  const [inline]

template<class T>
long Puma::PtrStack< T >::Length (  )  const [inline]

template<class T>
T * Puma::PtrStack< T >::Get ( long  idx  )  const [inline]

template<class T>
void Puma::PtrStack< T >::New (  )  [inline]

template<class T>
void Puma::PtrStack< T >::Forget (  )  [inline]

template<class T>
void Puma::PtrStack< T >::Reject (  )  [inline]

template<class T>
void Puma::PtrStack< T >::Destroy (  )  [inline]

template<class T>
long Puma::PtrStack< T >::Stacks (  )  const [inline]

template<class T>
void Puma::PtrStack< T >::Reset (  )  [inline]

template<class T>
void Puma::PtrStack< T >::Delete (  )  [inline, protected, virtual]

template<class T>
void Puma::PtrStack< T >::Remove (  )  [inline, protected, virtual]




Puma Reference Manual. Created on 11 Jul 2008.