|
g2o
|
A stack with random access from its top. More...
Classes | |
| class | slice |
| Present a slice of the top of a stack. More... | |
Public Types | |
| typedef S::iterator | iterator |
| typedef S::const_iterator | const_iterator |
| typedef S::size_type | size_type |
| typedef std::ptrdiff_t | index_type |
Public Member Functions | |
| stack (size_type n=200) YY_NOEXCEPT | |
| const T & | operator[] (index_type i) const |
| T & | operator[] (index_type i) |
| void | push (YY_MOVE_REF(T) t) |
| void | pop (std::ptrdiff_t n=1) YY_NOEXCEPT |
| Pop elements from the stack. | |
| void | clear () YY_NOEXCEPT |
| Pop all elements from the stack. | |
| index_type | size () const YY_NOEXCEPT |
| Number of elements on the stack. | |
| const_iterator | begin () const YY_NOEXCEPT |
| Iterator on top of the stack (going downwards). | |
| const_iterator | end () const YY_NOEXCEPT |
| Bottom of the stack. | |
Private Member Functions | |
| stack (const stack &) | |
| Non copyable. | |
| stack & | operator= (const stack &) |
| Non copyable. | |
Private Attributes | |
| S | seq_ |
| The wrapped container. | |
A stack with random access from its top.
Definition at line 630 of file bison_parser.h.
| typedef S::const_iterator SlamParser::Parser::stack< T, S >::const_iterator |
Definition at line 634 of file bison_parser.h.
| typedef std::ptrdiff_t SlamParser::Parser::stack< T, S >::index_type |
Definition at line 636 of file bison_parser.h.
| typedef S::iterator SlamParser::Parser::stack< T, S >::iterator |
Definition at line 633 of file bison_parser.h.
| typedef S::size_type SlamParser::Parser::stack< T, S >::size_type |
Definition at line 635 of file bison_parser.h.
|
inline |
Definition at line 638 of file bison_parser.h.
|
private |
Non copyable.
|
inline |
|
inline |
Pop all elements from the stack.
Definition at line 673 of file bison_parser.h.
Referenced by SlamParser::Parser::parse().
|
inline |
|
private |
Non copyable.
|
inline |
Random access.
Index 0 returns the topmost element.
Definition at line 657 of file bison_parser.h.
|
inline |
|
inline |
Pop elements from the stack.
Definition at line 668 of file bison_parser.h.
Referenced by SlamParser::Parser::yypop_().
|
inline |
Steal the contents of t.
Close to move-semantics.
Definition at line 662 of file bison_parser.h.
Referenced by SlamParser::Parser::yypush_().
|
inline |
Number of elements on the stack.
Definition at line 676 of file bison_parser.h.
Referenced by SlamParser::Parser::parse().
|
private |
The wrapped container.
Definition at line 705 of file bison_parser.h.