#include <IntFunIterator.h>
Inheritance diagram for IntFunIterator:


An IntFunIterator is a FillIterator that uses an IntFun object to know how many objects (tracks, jets, D* candidates) there are to iterate over.
Author: Benno List, Jenny Böhme
Changelog:
Definition at line 33 of file IntFunIterator.h.
Public Member Functions | |
| IntFunIterator (const IntFun &intFun_) | |
| Constructor. | |
| IntFunIterator (const IntFun &intFun_, const std::string &name_) | |
| virtual int | operator() () const |
| Returns iterator value, starting at 0; "-1" means "invalid". | |
| virtual bool | next () |
| Increments iterator; returns false if iterator cannot be incremented. | |
| virtual bool | reset () |
| Resets iterator; returns false if iterator value range is empty. | |
| virtual bool | isValid () const |
| Returns whether current value of iterator is valid. | |
Protected Member Functions | |
| virtual | ~IntFunIterator () |
| Protected destructor ensures creation on the heap. | |
Protected Attributes | |
| const IntFun & | intFun |
| The intFun. | |
| int | index |
| The current index value. | |
|
|
Constructor.
Definition at line 36 of file IntFunIterator.h. References IntFun::getIterator(), NamedO::getName(), index, and intFun. |
|
||||||||||||
|
Definition at line 45 of file IntFunIterator.h. References IntFun::getIterator(), index, and intFun. |
1.3.2