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 | |
ConstIterator & | operator= (const ConstIterator &rhs) |
assignment operator More... | |
Constructors and destructors | |
ConstIterator () | |
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) | |
copy constructor More... | |
ConstIterator (const AASequence::Iterator &rhs) | |
copy constructor from Iterator More... | |
virtual | ~ConstIterator () |
destructor More... | |
Operators | |
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... | |
Protected Attributes | |
const std::vector< const Residue * > * | vector_ |
difference_type | position_ |
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 |
|
inline |
default constructor
|
inline |
detailed constructor with pointer to the vector and offset position
|
inline |
copy constructor
|
inline |
copy constructor from Iterator
|
inlinevirtual |
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
|
inline |
assignment operator
References OpenMS::operator*(), AASequence::ConstIterator::position_, and AASequence::ConstIterator::vector_.
|
inline |
equality comparator
References AASequence::ConstIterator::position_, and AASequence::ConstIterator::vector_.
|
protected |
|
protected |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:06 using doxygen 1.8.13 |