|
CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
|
This is the iterator class for const-access to stack data. More...
#include <StackIteratorInterface.hpp>

Public Types | |
| typedef TParticleInterface< ConstStackIteratorInterface< TStackData, TParticleInterface, MSecondaryProducer, TStackType > > | particle_interface_type |
| typedef TStackType | stack_type |
| typedef TStackData | stack_data_type |
Public Member Functions | |
| ConstStackIteratorInterface (ConstStackIteratorInterface &&rhs) | |
| ConstStackIteratorInterface (stack_type const &data, unsigned int const index) | |
| bool | isErased () const |
Iterator interface | |
| ConstStackIteratorInterface & | operator++ () |
| ConstStackIteratorInterface | operator++ (int) |
| ConstStackIteratorInterface | operator+ (int const delta) const |
| bool | operator== (ConstStackIteratorInterface const &rhs) const |
| bool | operator!= (ConstStackIteratorInterface const &rhs) const |
| bool | operator== (StackIteratorInterface< stack_data_type, TParticleInterface, MSecondaryProducer, stack_type > const &rhs) const |
| bool | operator!= (StackIteratorInterface< stack_data_type, TParticleInterface, MSecondaryProducer, stack_type > const &rhs) const |
| particle_interface_type const & | operator* () const |
Protected Member Functions | |
Stack data access | |
Only the const versions for read-only access | |
| unsigned int | getIndex () const |
| stack_type const & | getStack () const |
| stack_data_type const & | getStackData () const |
| unsigned int | getIndexFromIterator () const |
| Get data index as mapped in Stack class. | |
Protected Attributes | |
| unsigned int | index_ = 0 |
This is the iterator class for const-access to stack data.
The const counterpart of StackIteratorInterface, which is used for read-only iterator access on particle stack:
See documentation of StackIteratorInterface for more details:
Definition at line 33 of file StackIteratorInterface.hpp.
|
inline |
Definition at line 297 of file StackIteratorInterface.hpp.