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