OpenMS
2.7.0
|
ConstIterator of NASequence class. More...
#include <OpenMS/CHEMISTRY/NASequence.h>
Public Types | |
typedef Ribonucleotide | value_type |
typedef const value_type & | const_reference |
typedef value_type & | reference |
typedef const value_type * | const_pointer |
typedef std::vector< const value_type * >::difference_type | difference_type |
typedef const value_type * | 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 Ribonucleotide * > *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 NASequence::Iterator &rhs) | |
copy constructor from Iterator More... | |
virtual | ~ConstIterator () |
destructor More... | |
ConstIterator & | operator= (const ConstIterator &rhs) |
assignment operator More... | |
Operators | |
const std::vector< const Ribonucleotide * > * | 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 of NASequence class.
References to the pointers are returned dereferenced. So we don't need to write (*iterator)->getCode(), but can simply use iterator->getCode().
typedef const value_type* const_pointer |
typedef const value_type& const_reference |
typedef std::vector<const value_type*>::difference_type difference_type |
typedef std::random_access_iterator_tag iterator_category |
typedef const value_type* pointer |
typedef value_type& reference |
typedef Ribonucleotide value_type |
|
default |
default constructor
|
inline |
detailed constructor with pointer to the vector and offset position
References seqan::position().
|
inline |
copy constructor
|
inline |
copy constructor from Iterator
|
inlinevirtual |
destructor
|
inline |
inequality operator
References OpenMS::Internal::operator==().
|
inline |
dereference operator
|
inline |
forward jump operator
|
inline |
increment operator
|
inline |
References NASequence::ConstIterator::position_.
|
inline |
backward jump operator
|
inline |
decrement operator
|
inline |
dereference operator
|
inline |
assignment operator
References NASequence::ConstIterator::position_, and NASequence::ConstIterator::vector_.
|
inline |
equality comparator
References NASequence::ConstIterator::position_, and NASequence::ConstIterator::vector_.
|
protected |
|
protected |
Referenced by NASequence::ConstIterator::operator=(), and NASequence::ConstIterator::operator==().