Dune::FiniteStack< T, n > Class Template Reference
[Common (foundation classes)]

A stack with static memory allocation. More...

#include <dune/common/finitestack.hh>

Inheritance diagram for Dune::FiniteStack< T, n >:
Inheritance graph

List of all members.

Public Member Functions

bool full () const
 Returns true if the stack is full.
pop ()

Detailed Description

template<class T, int n>
class Dune::FiniteStack< T, n >

A stack with static memory allocation.

This class implements a very efficient stack where the maximum depth is known in advance. Note that no error checking is performed!

Parameters:
n Maximum number of stack entries

Member Function Documentation

template<class T , int n>
bool Dune::FiniteStack< T, n >::full (  )  const [inline]

Returns true if the stack is full.


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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].