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

#include <kripkeparse/stack.hh>

Collaboration diagram for kripkeyy::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 kripkeyy::stack< T, S >::const_iterator
template<class T , class S = std::deque<T>>
typedef S::reverse_iterator kripkeyy::stack< T, S >::iterator

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<class T , class S = std::deque<T>>
S kripkeyy::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 Mar 6 2013 09:25:15 for spot by doxygen 1.8.1.2