Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

yy::Stack< T, S > Class Template Reference

#include <ltlparse/stack.hh>

Collaboration diagram for yy::Stack< T, S >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef S::iterator Iterator
typedef S::const_iterator ConstIterator

Public Member Functions

 Stack ()
 Stack (unsigned int n)
T & operator[] (unsigned int i)
const T & operator[] (unsigned int i) const
void push (const T &t)
void pop (unsigned int n=1)
unsigned int height () const
ConstIterator begin () const
ConstIterator end () const

Private Attributes

seq_

template<class T, class S = std::deque< T >>
class yy::Stack< T, S >


Member Typedef Documentation

template<class T, class S = std::deque< T >>
typedef S::const_iterator yy::Stack< T, S >::ConstIterator
 

template<class T, class S = std::deque< T >>
typedef S::iterator yy::Stack< T, S >::Iterator
 


Constructor & Destructor Documentation

template<class T, class S = std::deque< T >>
yy::Stack< T, S >::Stack  )  [inline]
 

template<class T, class S = std::deque< T >>
yy::Stack< T, S >::Stack unsigned int  n  )  [inline]
 


Member Function Documentation

template<class T, class S = std::deque< T >>
ConstIterator yy::Stack< T, S >::begin  )  const [inline]
 

template<class T, class S = std::deque< T >>
ConstIterator yy::Stack< T, S >::end  )  const [inline]
 

template<class T, class S = std::deque< T >>
unsigned int yy::Stack< T, S >::height  )  const [inline]
 

template<class T, class S = std::deque< T >>
const T& yy::Stack< T, S >::operator[] unsigned int  i  )  const [inline]
 

template<class T, class S = std::deque< T >>
T& yy::Stack< T, S >::operator[] unsigned int  i  )  [inline]
 

template<class T, class S = std::deque< T >>
void yy::Stack< T, S >::pop unsigned int  n = 1  )  [inline]
 

template<class T, class S = std::deque< T >>
void yy::Stack< T, S >::push const T &  t  )  [inline]
 


Member Data Documentation

template<class T, class S = std::deque< T >>
S yy::Stack< T, S >::seq_ [private]
 


The documentation for this class was generated from the following file:
Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jan 31 12:56:16 2005 for spot by doxygen 1.4.0