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



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

#include <BCStack.h>

Inherits Puma::BCList< Item, BUCKET_SIZE >.

List of all members.

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

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


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>
bool Puma::BCStack< Item, BUCKET_SIZE >::empty (  )  const [inline]
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 >::pop (  )  [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>
void Puma::BCStack< Item, BUCKET_SIZE >::reset (  )  [inline]

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

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



Puma Reference Manual. Created on 24 Nov 2009.