Puma Reference Manual Puma: Puma::BCStack< Item, BUCKET_SIZE > Class Template Reference



Puma::BCStack< Item, BUCKET_SIZE > Class Template Reference

#include <BCStack.h>

Inheritance diagram for Puma::BCStack< Item, BUCKET_SIZE >:

Inheritance graph

List of all members.

template<class Item, int BUCKET_SIZE = 32>
class Puma::BCStack< Item, BUCKET_SIZE >


Public Types

typedef List::Iterator Iterator

Public Member Functions

 BCStack ()
long length () const
void push (Item item)
Item & top () const
void pop ()
void reset ()
bool empty () const

Member Typedef Documentation

template<class Item, int BUCKET_SIZE = 32>
typedef List::Iterator Puma::BCStack< Item, BUCKET_SIZE >::Iterator


Constructor & Destructor Documentation

template<class Item, int BUCKET_SIZE = 32>
Puma::BCStack< Item, BUCKET_SIZE >::BCStack (  )  [inline]


Member Function Documentation

template<class Item, int BUCKET_SIZE = 32>
long Puma::BCStack< Item, BUCKET_SIZE >::length (  )  const [inline]

template<class Item, int BUCKET_SIZE = 32>
void Puma::BCStack< Item, BUCKET_SIZE >::push ( Item  item  )  [inline]

template<class Item, int BUCKET_SIZE = 32>
Item& Puma::BCStack< Item, BUCKET_SIZE >::top (  )  const [inline]

template<class Item, int BUCKET_SIZE = 32>
void Puma::BCStack< Item, BUCKET_SIZE >::pop (  )  [inline]

template<class Item, int BUCKET_SIZE = 32>
void Puma::BCStack< Item, BUCKET_SIZE >::reset (  )  [inline]

Reimplemented from Puma::BCList< Item, BUCKET_SIZE >.

template<class Item, int BUCKET_SIZE = 32>
bool Puma::BCStack< Item, BUCKET_SIZE >::empty (  )  const [inline]




Puma Reference Manual. Created on 5 Nov 2008.