|
Peano
|
This class represents a whole block of the tree. More...
#include <STDVectorStack.h>
Public Member Functions | |
| int | size () const |
| const T & | get (int index) const |
| T & | get (int index) |
| std::string | toString () const |
Protected Member Functions | |
| PopBlockStackView (int size, int base, peano4::stacks::STDVectorStack< T > *stack) | |
| Constructor. | |
Protected Attributes | |
| const int | _size |
| const int | _baseElement |
| peano4::stacks::STDVectorStack< T > * | _stack |
Friends | |
| class | peano4::stacks::STDVectorStack< T > |
| Parent is friend. | |
This class represents a whole block of the tree.
You can access all element within in random order, or you can pop/push elements. If we grab a block from the tree, it is logically removed from the main stack.
Definition at line 171 of file STDVectorStack.h.
|
protected |
Constructor.
Definition at line 185 of file STDVectorStack.h.
References _baseElement, _size, _stack, and size().

| T & peano4::stacks::STDVectorStack< T >::PopBlockStackView::get | ( | int | index | ) |
Definition at line 202 of file STDVectorStack.h.
References _baseElement, _size, _stack, and assertion2.
| const T & peano4::stacks::STDVectorStack< T >::PopBlockStackView::get | ( | int | index | ) | const |
Definition at line 196 of file STDVectorStack.h.
References _baseElement, _size, _stack, and assertion2.
| int peano4::stacks::STDVectorStack< T >::PopBlockStackView::size | ( | ) | const |
Definition at line 192 of file STDVectorStack.h.
References _size.
Referenced by PopBlockStackView().

| std::string peano4::stacks::STDVectorStack< T >::PopBlockStackView::toString | ( | ) | const |
Definition at line 208 of file STDVectorStack.h.
|
friend |
Parent is friend.
Definition at line 533 of file STDVectorStack.h.
References peano4::stacks::STDVectorStack< T >::_currentElement, peano4::stacks::STDVectorStack< T >::_ioMode, peano4::stacks::STDVectorStack< T >::_ioRank, peano4::stacks::STDVectorStack< T >::_ioTag, peano4::stacks::STDVectorStack< T >::size(), and peano4::stacks::STDVectorStack< T >::toString().
|
protected |
Definition at line 179 of file STDVectorStack.h.
Referenced by get(), get(), and PopBlockStackView().
|
protected |
Definition at line 178 of file STDVectorStack.h.
Referenced by get(), get(), PopBlockStackView(), and size().
|
protected |
Definition at line 180 of file STDVectorStack.h.
Referenced by get(), get(), and PopBlockStackView().