| OpenMS 2.5.0

Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT > Class Template Reference

ConstIterator for the ConstRefVector. More...

`#include <OpenMS/DATASTRUCTURES/ConstRefVector.h>`

Inheritance diagram for ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >:

## Public Types

typedef ValueT | ValueType
typedef ValueType | value_type
typedef std::vector< ValueType * >::difference_type | difference_type
typedef const value_type & | reference
typedef const value_type * | pointer
typedef std::random_access_iterator_tag | iterator_category

## Public Member Functions

| ConstRefVectorConstIterator ()
| ConstRefVectorConstIterator (const typename std::vector< ValueType *> *vec, unsigned int position)
| ConstRefVectorConstIterator (typename std::vector< ValueType *> *vec, unsigned int position)
| ConstRefVectorConstIterator (const ConstRefVectorConstIterator &it)
| ~ConstRefVectorConstIterator ()
ConstRefVectorConstIterator & | operator= (const ConstRefVectorConstIterator &rhs)
bool | operator< (const ConstRefVectorConstIterator &it) const
bool | operator> (const ConstRefVectorConstIterator &it) const
bool | operator<= (const ConstRefVectorConstIterator &it) const
bool | operator>= (const ConstRefVectorConstIterator &it) const
bool | operator== (const ConstRefVectorConstIterator &it) const
bool | operator!= (const ConstRefVectorConstIterator &it) const
ConstRefVectorConstIterator & | operator++ ()
ConstRefVectorConstIterator | operator++ (int)
ConstRefVectorConstIterator & | operator-- ()
ConstRefVectorConstIterator | operator-- (int)
ConstRefVectorConstIterator | operator- (difference_type n) const
ConstRefVectorConstIterator | operator+ (difference_type n) const
ConstRefVectorConstIterator & | operator+= (difference_type n)
ConstRefVectorConstIterator & | operator-= (difference_type n)
reference | operator* () const
pointer | operator-> () const

## Protected Attributes

std::vector< ValueType * > * | vector_
unsigned int | position_

## Friends

class | ConstRefVector
difference_type | operator- (const ConstRefVectorConstIterator &i1, const ConstRefVectorConstIterator &i2)
ConstRefVectorConstIterator | operator+ (difference_type n, const ConstRefVectorConstIterator &i)

## Detailed Description

### template<typename ContainerT>
template<class ValueT>
class OpenMS::ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >

ConstIterator for the ConstRefVector.

## Member Typedef Documentation

## ◆ difference_type

typedef std::vector<ValueType*>::difference_type difference_type

## ◆ iterator_category

typedef std::random_access_iterator_tag iterator_category

## ◆ pointer

typedef const value_type* pointer

## ◆ reference

typedef const value_type& reference

## ◆ value_type

typedef ValueType value_type

## ◆ ValueType

typedef ValueT ValueType

## Constructor & Destructor Documentation

## ◆ ConstRefVectorConstIterator() [1/4]

ConstRefVectorConstIterator | ( |  | ) |

inline

## ◆ ConstRefVectorConstIterator() [2/4]

ConstRefVectorConstIterator | ( | const typename std::vector< ValueType *> * | vec,
|  | unsigned int | position
| ) |  |

inline

References seqan::position(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_, and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::vector_.

## ◆ ConstRefVectorConstIterator() [3/4]

ConstRefVectorConstIterator | ( | typename std::vector< ValueType *> * | vec,
|  | unsigned int | position
| ) |  |

inline

References seqan::position(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_, and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::vector_.

## ◆ ConstRefVectorConstIterator() [4/4]

ConstRefVectorConstIterator | ( | const ConstRefVectorConstIterator< ValueT > & | it | ) |

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_, and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::vector_.

## ◆ ~ConstRefVectorConstIterator()

~ConstRefVectorConstIterator | ( |  | ) |

inline

## Member Function Documentation

## ◆ operator!=()

bool operator!= | ( | const ConstRefVectorConstIterator< ValueT > & | it | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_, and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::vector_.

## ◆ operator*()

reference operator* | ( |  | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator+()

ConstRefVectorConstIterator operator+ | ( | difference_type | n | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator++() [1/2]

ConstRefVectorConstIterator& operator++ | ( |  | ) |

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator++() [2/2]

ConstRefVectorConstIterator operator++ | ( | int |  | ) |

inline

## ◆ operator+=()

ConstRefVectorConstIterator& operator+= | ( | difference_type | n | ) |

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator-()

ConstRefVectorConstIterator operator- | ( | difference_type | n | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator--() [1/2]

ConstRefVectorConstIterator& operator-- | ( |  | ) |

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator--() [2/2]

ConstRefVectorConstIterator operator-- | ( | int |  | ) |

inline

## ◆ operator-=()

ConstRefVectorConstIterator& operator-= | ( | difference_type | n | ) |

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator->()

pointer operator-> | ( |  | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_, and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::vector_.

## ◆ operator<()

bool operator< | ( | const ConstRefVectorConstIterator< ValueT > & | it | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator<=()

bool operator<= | ( | const ConstRefVectorConstIterator< ValueT > & | it | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator=()

ConstRefVectorConstIterator& operator= | ( | const ConstRefVectorConstIterator< ValueT > & | rhs | ) |

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_, and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::vector_.

## ◆ operator==()

bool operator== | ( | const ConstRefVectorConstIterator< ValueT > & | it | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_, and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::vector_.

## ◆ operator>()

bool operator> | ( | const ConstRefVectorConstIterator< ValueT > & | it | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## ◆ operator>=()

bool operator>= | ( | const ConstRefVectorConstIterator< ValueT > & | it | ) | const

inline

References ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::position_.

## Friends And Related Function Documentation

## ◆ ConstRefVector

friend class ConstRefVector

friend

## ◆ operator+

ConstRefVectorConstIterator operator+ | ( | difference_type | n,
|  | const ConstRefVectorConstIterator< ValueT > & | i
| ) |  |

friend

## ◆ operator-

difference_type operator- | ( | const ConstRefVectorConstIterator< ValueT > & | i1,
|  | const ConstRefVectorConstIterator< ValueT > & | i2
| ) |  |

friend

## Member Data Documentation

## ◆ position_

unsigned int position_

protected

Referenced by ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::ConstRefVectorConstIterator(), ConstRefVector< ContainerT >::erase(), ConstRefVector< ContainerT >::insert(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator!=(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator*(), ConstRefVector< ContainerT >::ConstRefVectorIterator< ValueT >::operator*(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator+(), ConstRefVector< ContainerT >::ConstRefVectorIterator< ValueT >::operator+(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator++(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator+=(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator-(), ConstRefVector< ContainerT >::ConstRefVectorIterator< ValueT >::operator-(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator--(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator-=(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator->(), ConstRefVector< ContainerT >::ConstRefVectorIterator< ValueT >::operator->(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator<(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator<=(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator=(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator==(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator>(), and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator>=().

## ◆ vector_

std::vector<ValueType*>* vector_

protected

Referenced by ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::ConstRefVectorConstIterator(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator!=(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator->(), ConstRefVector< ContainerT >::ConstRefVectorIterator< ValueT >::operator->(), ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator=(), and ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >::operator==().