OpenMS
2.7.0
|
Iterator 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 const value_type * | pointer |
typedef std::vector< const value_type * >::difference_type | difference_type |
Public Member Functions | |
Constructors and destructors | |
Iterator ()=default | |
Iterator (std::vector< const Ribonucleotide * > *vec_ptr, difference_type position) | |
detailed constructor with pointer to the vector and offset position More... | |
Iterator (const Iterator &rhs) | |
copy constructor More... | |
virtual | ~Iterator () |
destructor More... | |
Iterator & | operator= (const Iterator &rhs) |
assignment operator More... | |
Friends | |
class | NASequence::ConstIterator |
Operators | |
std::vector< const Ribonucleotide * > * | 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 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 const value_type* pointer |
typedef value_type& reference |
typedef Ribonucleotide value_type |
|
default |
|
inline |
detailed constructor with pointer to the vector and offset position
References seqan::position().
|
inlinevirtual |
destructor
|
inline |
inequality operator
References OpenMS::Internal::operator==().
|
inline |
dereference operator
|
inline |
forward jump operator
|
inline |
increment operator
|
inline |
backward jump operator
|
inline |
References NASequence::Iterator::position_.
|
inline |
decrement operator
|
inline |
mutable dereference operator
|
inline |
dereference operator
assignment operator
References NASequence::Iterator::position_, and NASequence::Iterator::vector_.
|
inline |
equality comparator
References NASequence::Iterator::position_, and NASequence::Iterator::vector_.
|
friend |
|
protected |
|
protected |
Referenced by NASequence::Iterator::operator=(), and NASequence::Iterator::operator==().