![]() |
OpenMS
|
Iterator for pairs of spectra and peptide identifications. More...
#include <OpenMS/METADATA/AnnotatedMSRun.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | difference_type = std::ptrdiff_t |
Public Member Functions | |
| PairIterator (T1 ptr1, T2 ptr2) | |
| Constructor. More... | |
| PairIterator & | operator++ () |
| Pre-increment operator. More... | |
| PairIterator | operator++ (int) |
| Post-increment operator. More... | |
| auto | operator* () |
| Dereference operator. More... | |
Private Attributes | |
| T1 | m_ptr1 |
| T2 | m_ptr2 |
Friends | |
| bool | operator== (const PairIterator &a, const PairIterator &b) |
| Equality operator. More... | |
| bool | operator!= (const PairIterator &a, const PairIterator &b) |
| Inequality operator. More... | |
Iterator for pairs of spectra and peptide identifications.
This iterator allows traversing the spectra and their associated peptide identifications together.
| using difference_type = std::ptrdiff_t |
| using iterator_category = std::forward_iterator_tag |
|
inline |
|
inline |
Dereference operator.
|
inline |
Pre-increment operator.
|
inline |
Post-increment operator.
|
friend |
Inequality operator.
| a | First iterator |
| b | Second iterator |
|
friend |
Equality operator.
| a | First iterator |
| b | Second iterator |
|
private |
|
private |