link to homepage

Institute for Neuroscience and Medicine

Navigation and service


API documentation

RepIter Class Reference

A super-simple iterator for counting the repetitions of a concat sequence. More...

#include <RepIter.h>

Collaboration diagram for RepIter:

List of all members.

Public Member Functions

 RepIter ()
 Default Constructor.
 RepIter (ConcatSequence *cs, unsigned int rc)
 Construct with concat sequence and counter.
 ~RepIter ()
 Default destructor.
RepIter operator= (const RepIter &rhs)
 Operator =.
RepIter operator++ (int i)
 Operator ++.
RepIter operator++ ()
 Operator ++.

Detailed Description

A super-simple iterator for counting the repetitions of a concat sequence.

usage: ConcatSequence C; for (RepIter r=C.begin();r<C.end(); ++r) { ... }

Definition at line 38 of file RepIter.h.


Constructor & Destructor Documentation

RepIter::RepIter ( ConcatSequence cs,
unsigned int  rc 
)

Construct with concat sequence and counter.

Parameters:
cs Concat sequence on which to iterate
rc Repitition counter
Returns:
myself

Definition at line 28 of file RepIter.cpp.


Member Function Documentation

RepIter RepIter::operator++ ( int  i  ) 

Operator ++.

Iterate i further

Parameters:
i Amount to iterate further
Returns:
myself

Definition at line 45 of file RepIter.cpp.

References ConcatSequence::SetRepCounter().

Here is the call graph for this function:

RepIter RepIter::operator++ (  ) 

Operator ++.

Iterate 1 further

Returns:
myself

Definition at line 53 of file RepIter.cpp.

References ConcatSequence::SetRepCounter().

Here is the call graph for this function:

RepIter RepIter::operator= ( const RepIter rhs  ) 

Operator =.

Parameters:
rhs Assignement.
Returns:
myself

Definition at line 36 of file RepIter.cpp.


The documentation for this class was generated from the following files:

Servicemeu