|
bpp-seq
2.2.0
|
#include <Bpp/Seq/SequencePositionIterators.h>
Inheritance diagram for bpp::SequencePositionIterator:Public Member Functions | |
| SequencePositionIterator () | |
| virtual | ~SequencePositionIterator () |
| virtual unsigned int | getPosition () const =0 |
| Get the actual position of the iterator in the Sequence. More... | |
| virtual void | setPosition (unsigned int pos)=0 |
| Set the position of the iterator. More... | |
| virtual int | getValue () const =0 |
| Get the numerical value of the Sequence at current position. More... | |
| virtual std::string | getChar () const =0 |
| Get the textual value of the Sequence at current position. More... | |
| virtual bool | operator== (const SequencePositionIterator &it) const =0 |
| virtual bool | operator!= (const SequencePositionIterator &it) const =0 |
| virtual SequencePositionIterator & | operator+= (int i)=0 |
| virtual SequencePositionIterator & | operator-= (int i)=0 |
| virtual SequencePositionIterator & | operator++ ()=0 |
| virtual bool | hasMorePositions () const =0 |
| Tells if there is more positions in the Sequence. More... | |
| virtual const Sequence & | getSequence () const =0 |
| Get the Sequence on which the iterator loops. More... | |
Loop over a Sequence.
This is the SequencePositionIterator interface.
Definition at line 58 of file SequencePositionIterators.h.
|
inline |
Definition at line 61 of file SequencePositionIterators.h.
|
inlinevirtual |
Definition at line 62 of file SequencePositionIterators.h.
|
pure virtual |
Get the textual value of the Sequence at current position.
Implemented in bpp::AbstractSequencePositionIterator.
|
pure virtual |
Get the actual position of the iterator in the Sequence.
Implemented in bpp::AbstractSequencePositionIterator.
Referenced by bpp::AbstractSequencePositionIterator::operator!=(), and bpp::AbstractSequencePositionIterator::operator==().
|
pure virtual |
Get the Sequence on which the iterator loops.
Implemented in bpp::AbstractSequencePositionIterator.
|
pure virtual |
Get the numerical value of the Sequence at current position.
Implemented in bpp::AbstractSequencePositionIterator.
|
pure virtual |
Tells if there is more positions in the Sequence.
Implemented in bpp::SimpleSequencePositionIterator.
|
pure virtual |
Implemented in bpp::AbstractSequencePositionIterator.
|
pure virtual |
Implemented in bpp::SimpleSequencePositionIterator.
|
pure virtual |
Implemented in bpp::SimpleSequencePositionIterator.
|
pure virtual |
Implemented in bpp::SimpleSequencePositionIterator.
|
pure virtual |
Implemented in bpp::AbstractSequencePositionIterator.
|
pure virtual |
Set the position of the iterator.
| pos | The position on the Sequence |
Implemented in bpp::AbstractSequencePositionIterator.