|
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, peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::_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 peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::_data, assertion2, and peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::size().

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

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

| 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 peano4.api.datamodel.DaStGen2.DaStGen2Generator::construct_output(), peano4.api.datamodel.DaStGen2.DaStGen2GeneratorForObjectsWithSmartPointers::construct_output(), peano4.api.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByList::construct_output(), peano4.api.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByVector::construct_output(), peano4.api.toolbox.particles.ParticleSet.ParticleSetGenerator_ContinuousPerVertex::construct_output(), peano4.api.toolbox.particles.ParticleSet.ParticleSetGenerator_GlobalContinuous::construct_output(), peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::get(), peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::get(), peano4.api.datamodel.DaStGen2.DaStGen2Generator::get_header_file_include(), peano4.api.datamodel.DaStGen2.DaStGen2GeneratorForObjectsWithSmartPointers::get_header_file_include(), peano4.api.toolbox.particles.ParticleSet.AbstractParticleSetGenerator::get_header_file_include(), peano4.api.datamodel.DaStGen2.DaStGen2Generator::get_stack_container(), peano4.api.datamodel.DaStGen2.DaStGen2GeneratorForObjectsWithSmartPointers::get_stack_container(), peano4.api.datamodel.DynamicArrayOverPrimitivesToStdVector.DynamicArrayOverPrimitivesToStdVector::get_stack_container(), peano4.api.toolbox.particles.ParticleSet.AbstractParticleSetGenerator::get_stack_container(), peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::PopBlockStackView(), and peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::size().