XspfStack< T > Class Template Reference

#include <XspfStack.h>

List of all members.

Public Types

typedef std::stack< T >::size_type size_type
 Holds the height of the stack.

Public Member Functions

size_type size () const
T const & top () const
void push (T const &value)
void pop ()
void clear ()


Detailed Description

template<class T>
class Xspf::XspfStack< T >

A generic stack data structure.

Definition at line 60 of file XspfStack.h.


Member Function Documentation

void clear (  )  [inline]

Clears the stack.

Definition at line 97 of file XspfStack.h.

void pop (  )  [inline]

Pops the topmost element off the stack.

Definition at line 90 of file XspfStack.h.

void push ( T const &  value  )  [inline]

Pushes value on top of the stack.

Definition at line 83 of file XspfStack.h.

size_type size (  )  const [inline]

Returns the number of elements on the stack.

Definition at line 69 of file XspfStack.h.

T const& top (  )  const [inline]

Returns the topmost element on the stack.

Definition at line 76 of file XspfStack.h.


The documentation for this class was generated from the following file:

Generated on Sat Mar 7 01:09:37 2009 for libxspf by  doxygen 1.5.8