Vcsn
2.3
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::detail::dot::stack< T, S >::const_iterator |
typedef S::reverse_iterator vcsn::detail::dot::stack< T, S >::iterator |
|
inline |
|
inline |
|
private |
|
inline |
Definition at line 112 of file stack.hh.
Referenced by vcsn::detail::dot::parser::yystack_print_().
|
inline |
Definition at line 98 of file stack.hh.
Referenced by vcsn::detail::dot::parser::parse().
|
inline |
Definition at line 119 of file stack.hh.
Referenced by vcsn::detail::dot::parser::yystack_print_().
|
private |
|
inline |
Definition at line 66 of file stack.hh.
Referenced by vcsn::detail::dot::stack< stack_symbol_type >::push().
|
inline |
|
inline |
Definition at line 91 of file stack.hh.
Referenced by vcsn::detail::dot::parser::yypop_().
|
inline |
Steal the contents of t.
Close to move-semantics.
Definition at line 83 of file stack.hh.
Referenced by vcsn::detail::dot::parser::yypush_().
|
inline |
Definition at line 105 of file stack.hh.
Referenced by vcsn::detail::dot::parser::parse().
|
private |
The wrapped container.
Definition at line 128 of file stack.hh.
Referenced by vcsn::detail::dot::stack< stack_symbol_type >::begin(), vcsn::detail::dot::stack< stack_symbol_type >::clear(), vcsn::detail::dot::stack< stack_symbol_type >::end(), vcsn::detail::dot::stack< stack_symbol_type >::operator[](), vcsn::detail::dot::stack< stack_symbol_type >::pop(), vcsn::detail::dot::stack< stack_symbol_type >::push(), vcsn::detail::dot::stack< stack_symbol_type >::size(), and vcsn::detail::dot::stack< stack_symbol_type >::stack().