![]() |
Vcsn
2.1
Be Rational
|
#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 (T &t) |
| Steal the contents of t. More... | |
| void | pop (unsigned int n=1) |
| void | clear () |
| S::size_type | size () const |
| const_iterator | begin () const |
| const_iterator | end () const |
Private Member Functions | |
| stack (const stack &) | |
| stack & | operator= (const stack &) |
Private Attributes | |
| S | seq_ |
| The wrapped container. More... | |
| typedef S::const_reverse_iterator vcsn::rat::stack< T, S >::const_iterator |
| typedef S::reverse_iterator vcsn::rat::stack< T, S >::iterator |
|
inline |
|
inline |
|
private |
|
inline |
Definition at line 112 of file stack.hh.
Referenced by vcsn::rat::parser::yystack_print_().
|
inline |
Definition at line 98 of file stack.hh.
Referenced by vcsn::rat::parser::parse().
|
inline |
Definition at line 119 of file stack.hh.
Referenced by vcsn::rat::parser::yystack_print_().
|
private |
|
inline |
Definition at line 66 of file stack.hh.
Referenced by vcsn::rat::stack< stack_symbol_type >::push().
|
inline |
|
inline |
Definition at line 91 of file stack.hh.
Referenced by vcsn::rat::parser::yypop_().
|
inline |
Steal the contents of t.
Close to move-semantics.
Definition at line 83 of file stack.hh.
Referenced by vcsn::rat::parser::yypush_().
|
inline |
Definition at line 105 of file stack.hh.
Referenced by vcsn::rat::parser::parse().
|
private |
The wrapped container.
Definition at line 128 of file stack.hh.
Referenced by vcsn::rat::stack< stack_symbol_type >::begin(), vcsn::rat::stack< stack_symbol_type >::clear(), vcsn::rat::stack< stack_symbol_type >::end(), vcsn::rat::stack< stack_symbol_type >::operator[](), vcsn::rat::stack< stack_symbol_type >::pop(), vcsn::rat::stack< stack_symbol_type >::push(), vcsn::rat::stack< stack_symbol_type >::size(), and vcsn::rat::stack< stack_symbol_type >::stack().