SPH
|
Iterator used to enumerate all stored quantities. More...
#include <Particle.h>
Public Member Functions | |
QuantityIterator (const ActIterator iterator, Badge< Particle >) | |
Constructs the iterator from internal type. More... | |
QuantityIterator & | operator++ () |
Advances the iterator to next quantity. More... | |
QuantityData | operator* () const |
Returns all data associated with currently referenced quantity. More... | |
bool | operator!= (const QuantityIterator &other) const |
Inequality operator. More... | |
Iterator used to enumerate all stored quantities.
Definition at line 144 of file Particle.h.
Particle::QuantityIterator::QuantityIterator | ( | const ActIterator | iterator, |
Badge< Particle > | |||
) |
Constructs the iterator from internal type.
Cannot be constructed directly, use Particle::getQuantities instead.
Definition at line 126 of file Particle.cpp.
bool Particle::QuantityIterator::operator!= | ( | const QuantityIterator & | other | ) | const |
Inequality operator.
Definition at line 151 of file Particle.cpp.
Particle::QuantityData Particle::QuantityIterator::operator* | ( | ) | const |
Returns all data associated with currently referenced quantity.
Definition at line 134 of file Particle.cpp.
Particle::QuantityIterator & Particle::QuantityIterator::operator++ | ( | ) |
Advances the iterator to next quantity.
Definition at line 129 of file Particle.cpp.