![]() |
JEMRIS 2.9.2
open-source MRI simulations
|
A super-simple iterator for counting the repetitions of a concat sequence. More...
#include <RepIter.h>
Collaboration diagram for RepIter:Public Member Functions | |
| RepIter () | |
| Default Constructor. | |
| RepIter (ConcatSequence *cs, unsigned int rc) | |
| ~RepIter () | |
| Default destructor. | |
| RepIter | operator= (const RepIter &rhs) |
| Operator =. | |
| RepIter | operator++ (int i) |
| Operator ++. | |
| RepIter | operator++ () |
| Operator ++. | |
Private Attributes | |
| ConcatSequence * | m_cs |
| Concat sequence. | |
| unsigned int | m_RC |
| Counter | |
Friends | |
| bool | operator< (const RepIter &rc1, const RepIter &rc2) |
A super-simple iterator for counting the repetitions of a concat sequence.
usage: ConcatSequence C; for (RepIter r=C.begin();r<C.end(); ++r) { ... }
| RepIter::RepIter | ( | ConcatSequence * | cs, |
| unsigned int | rc ) |
@brief Construct with concat sequence and counter @param cs Concat sequence on which to iterate @param rc Repitition counter
| RepIter RepIter::operator++ | ( | ) |
Operator ++.
Iterate 1 further
Here is the call graph for this function:| RepIter RepIter::operator++ | ( | int | i | ) |
Operator ++.
Iterate i further
| i | Amount to iterate further |
Here is the call graph for this function:Operator =.
| rhs | Assignement. |
-- last change 03.01.2025 |
Tony Stoecker |
Imprint |
Data Protection --