OpenMS
|
Iterator class for AASequence. More...
#include <OpenMS/CHEMISTRY/AASequence.h>
Public Types | |
typedef const Residue & | const_reference |
typedef Residue & | reference |
typedef const Residue * | const_pointer |
typedef const Residue * | pointer |
typedef std::vector< const Residue * >::difference_type | difference_type |
Public Member Functions | |
Constructors and destructors | |
Iterator ()=default | |
default constructor More... | |
Iterator (std::vector< const Residue * > *vec_ptr, difference_type position) | |
detailed constructor with pointer to the vector and offset position More... | |
Iterator (const Iterator &rhs)=default | |
copy constructor More... | |
~Iterator ()=default | |
destructor More... | |
Iterator & | operator= (const Iterator &rhs) |
assignment operator More... | |
Friends | |
class | AASequence::ConstIterator |
Operators | |
std::vector< const Residue * > * | vector_ {} |
difference_type | position_ {} |
const_reference | operator* () const |
dereference operator More... | |
const_pointer | operator-> () const |
dereference operator More... | |
pointer | operator-> () |
mutable dereference operator More... | |
const Iterator | operator+ (difference_type diff) const |
forward jump operator More... | |
difference_type | operator- (Iterator rhs) const |
const Iterator | operator- (difference_type diff) const |
backward jump operator More... | |
bool | operator== (const Iterator &rhs) const |
equality comparator More... | |
bool | operator!= (const Iterator &rhs) const |
inequality operator More... | |
Iterator & | operator++ () |
increment operator More... | |
Iterator & | operator-- () |
decrement operator More... | |
Iterator class for AASequence.
Mutable iterator for AASequence
typedef const Residue* const_pointer |
typedef const Residue& const_reference |
typedef std::vector<const Residue*>::difference_type difference_type |
|
default |
default constructor
|
inline |
detailed constructor with pointer to the vector and offset position
|
default |
destructor
|
inline |
inequality operator
References AASequence::Iterator::position_, and AASequence::Iterator::vector_.
|
inline |
dereference operator
|
inline |
forward jump operator
|
inline |
increment operator
|
inline |
backward jump operator
|
inline |
References AASequence::Iterator::position_.
|
inline |
decrement operator
|
inline |
mutable dereference operator
|
inline |
dereference operator
assignment operator
References AASequence::Iterator::position_, and AASequence::Iterator::vector_.
|
inline |
equality comparator
References AASequence::Iterator::position_, and AASequence::Iterator::vector_.
|
friend |
|
protected |
|
protected |