![]() |
Project
|
#include <ClusterFactory.h>
Public Member Functions | |
ClusterIterator (const ClusterFactory &factory, int clusterIndex, bool forward) | |
Constructor, initializing the iterator. | |
~ClusterIterator ()=default | |
Destructor. | |
bool | operator== (const ClusterIterator &rhs) const |
Check for equalness. | |
bool | operator!= (const ClusterIterator &rhs) const |
Check for not equalness. | |
ClusterIterator & | operator++ () |
Prefix incrementation operator. | |
ClusterIterator | operator++ (int) |
Postfix incrementation operator. | |
ClusterIterator & | operator-- () |
Prefix decrementation operator. | |
ClusterIterator | operator-- (int) |
Postfix decrementation operator. | |
AnalysisCluster * | operator* () |
Get pointer to the current cluster. | |
AnalysisCluster & | operator& () |
Get reference to the current cluster. | |
int | current_index () const |
Get the index of the current event. | |
Definition at line 132 of file ClusterFactory.h.
ClusterFactory::ClusterIterator::ClusterIterator | ( | const ClusterFactory & | factory, |
int | clusterIndex, | ||
bool | forward | ||
) |
Constructor, initializing the iterator.
factory | cluster factory to iterate over |
clusterIndex | cluster ID from which to start the iteration |
forward | Direction of the iteration (true = forward) |
Definition at line 835 of file ClusterFactory.cxx.
|
default |
Destructor.
|
inline |
Get the index of the current event.
Definition at line 184 of file ClusterFactory.h.
|
inline |
Check for not equalness.
rhs | Iterator to compare to |
Check is done on same event factory, event ID and direction
Definition at line 156 of file ClusterFactory.h.
|
inline |
Get reference to the current cluster.
Definition at line 180 of file ClusterFactory.h.
|
inline |
Get pointer to the current cluster.
Definition at line 176 of file ClusterFactory.h.
ClusterFactory< InputType >::ClusterIterator & ClusterFactory::ClusterIterator::operator++ | ( | ) |
Prefix incrementation operator.
Definition at line 850 of file ClusterFactory.cxx.
ClusterFactory< InputType >::ClusterIterator ClusterFactory::ClusterIterator::operator++ | ( | int | ) |
Postfix incrementation operator.
Definition at line 862 of file ClusterFactory.cxx.
ClusterFactory< InputType >::ClusterIterator & ClusterFactory::ClusterIterator::operator-- | ( | ) |
Prefix decrementation operator.
Definition at line 870 of file ClusterFactory.cxx.
ClusterFactory< InputType >::ClusterIterator ClusterFactory::ClusterIterator::operator-- | ( | int | ) |
Postfix decrementation operator.
Definition at line 882 of file ClusterFactory.cxx.
bool ClusterFactory::ClusterIterator::operator== | ( | const ClusterIterator & | rhs | ) | const |
Check for equalness.
rhs | Iterator to compare to |
Check is done on same event factory, event ID and direction
Definition at line 844 of file ClusterFactory.cxx.