|
Peano
|
This class represents a whole block of the tree. More...
#include <STDVectorStackOverObjectsWithSmartPointers.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 numberOfElements, peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T > *parentStack) | |
| Constructor. | |
Protected Attributes | |
| std::vector< T > | _data |
Friends | |
| class | peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< 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 117 of file STDVectorStackOverObjectsWithSmartPointers.h.
|
protected |
Constructor.
Definition at line 129 of file STDVectorStackOverObjectsWithSmartPointers.h.
References peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::_data, _data, and peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::size().

| T & peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::get | ( | int | index | ) |
Definition at line 149 of file STDVectorStackOverObjectsWithSmartPointers.h.
References _data, assertion2, and size().

| const T & peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::get | ( | int | index | ) | const |
Definition at line 143 of file STDVectorStackOverObjectsWithSmartPointers.h.
References _data, assertion2, and size().

| int peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::size | ( | ) | const |
Definition at line 141 of file STDVectorStackOverObjectsWithSmartPointers.h.
References _data.
Referenced by get(), get(), and peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PushBlockStackView::peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >.

| std::string peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::toString | ( | ) | const |
Definition at line 155 of file STDVectorStackOverObjectsWithSmartPointers.h.
|
friend |
Parent is friend.
Definition at line 354 of file STDVectorStackOverObjectsWithSmartPointers.h.
|
protected |
Definition at line 124 of file STDVectorStackOverObjectsWithSmartPointers.h.
Referenced by get(), get(), peano4.api.datamodel.DynamicArrayOverPrimitivesToStdVector.DynamicArrayOverPrimitivesToStdVector::get_stack_container(), PopBlockStackView(), and size().