#include <stack.hh>
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 | |
| S | seq_ |
Definition at line 43 of file stack.hh.
| typedef S::reverse_iterator example::stack< T, S >::iterator |
| typedef S::const_reverse_iterator example::stack< T, S >::const_iterator |
| example::stack< T, S >::stack | ( | ) | [inline] |
| example::stack< T, S >::stack | ( | unsigned int | n | ) | [inline] |
| T& example::stack< T, S >::operator[] | ( | unsigned int | i | ) | [inline] |
| const T& example::stack< T, S >::operator[] | ( | unsigned int | i | ) | const [inline] |
| void example::stack< T, S >::push | ( | const T & | t | ) | [inline] |
Definition at line 75 of file stack.hh.
References example::stack< T, S >::seq_.
Referenced by example::Parser::parse().
| void example::stack< T, S >::pop | ( | unsigned int | n = 1 |
) | [inline] |
Definition at line 82 of file stack.hh.
References example::stack< T, S >::seq_.
Referenced by example::Parser::yypop_().
| unsigned int example::stack< T, S >::height | ( | ) | const [inline] |
| const_iterator example::stack< T, S >::begin | ( | ) | const [inline] |
| const_iterator example::stack< T, S >::end | ( | ) | const [inline] |
S example::stack< T, S >::seq_ [private] |
Definition at line 100 of file stack.hh.
Referenced by example::stack< T, S >::begin(), example::stack< T, S >::end(), example::stack< T, S >::height(), example::stack< T, S >::operator[](), example::stack< T, S >::pop(), and example::stack< T, S >::push().
1.5.2