Peano
Loading...
Searching...
No Matches
peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView Class Reference

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.
 

Detailed Description

template<class T>
class peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView

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.

Constructor & Destructor Documentation

◆ PopBlockStackView()

Member Function Documentation

◆ get() [1/2]

◆ get() [2/2]

◆ size()

◆ toString()

template<class T >
std::string peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::toString ( ) const

Friends And Related Symbol Documentation

◆ peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >

template<class T >
friend class peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >
friend

Parent is friend.

Definition at line 354 of file STDVectorStackOverObjectsWithSmartPointers.h.

Field Documentation

◆ _data

template<class T >
std::vector<T> peano4::stacks::STDVectorStackOverObjectsWithSmartPointers< T >::PopBlockStackView::_data
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().


The documentation for this class was generated from the following file: