spot  1.0.1
Public Types | Public Member Functions | Private Attributes | List of all members
eltlyy::stack< T, S > Class Template Reference

#include <eltlparse/stack.hh>

Collaboration diagram for eltlyy::stack< T, S >:
Collaboration graph

Public Types

typedef S::reverse_iterator iterator
typedef S::const_reverse_iterator const_iterator

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
const_iterator begin () const
const_iterator end () const

Private Attributes

seq_

Member Typedef Documentation

template<class T , class S = std::deque<T>>
typedef S::const_reverse_iterator eltlyy::stack< T, S >::const_iterator
template<class T , class S = std::deque<T>>
typedef S::reverse_iterator eltlyy::stack< T, S >::iterator

Constructor & Destructor Documentation

template<class T , class S = std::deque<T>>
eltlyy::stack< T, S >::stack ( )
inline
template<class T , class S = std::deque<T>>
eltlyy::stack< T, S >::stack ( unsigned int  n)
inline

Member Function Documentation

template<class T , class S = std::deque<T>>
const_iterator eltlyy::stack< T, S >::begin ( ) const
inline
template<class T , class S = std::deque<T>>
const_iterator eltlyy::stack< T, S >::end ( ) const
inline
template<class T , class S = std::deque<T>>
unsigned int eltlyy::stack< T, S >::height ( ) const
inline
template<class T , class S = std::deque<T>>
T& eltlyy::stack< T, S >::operator[] ( unsigned int  i)
inline
template<class T , class S = std::deque<T>>
const T& eltlyy::stack< T, S >::operator[] ( unsigned int  i) const
inline
template<class T , class S = std::deque<T>>
void eltlyy::stack< T, S >::pop ( unsigned int  n = 1)
inline
template<class T , class S = std::deque<T>>
void eltlyy::stack< T, S >::push ( const T &  t)
inline

Member Data Documentation

template<class T , class S = std::deque<T>>
S eltlyy::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 Wed Jan 23 2013 15:00:02 for spot by doxygen 1.8.1.2