| OpenMS 2.5.0

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

Mutable iterator for the ConstRefVector. More...

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

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

## Public Types

typedef ValueT | ValueType
typedef ConstRefVectorConstIterator< ValueType >::value_type & | reference
typedef ConstRefVectorConstIterator< ValueType >::value_type * | pointer
Public Types inherited from ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >
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

| ConstRefVectorIterator ()
| ConstRefVectorIterator (typename std::vector< ValueType *> *vec, unsigned int position)
| ConstRefVectorIterator (const ConstRefVectorIterator< ValueType > &it)
| ~ConstRefVectorIterator ()
reference | operator* () const
pointer | operator-> () const
ConstRefVectorIterator & | operator++ ()
ConstRefVectorIterator | operator++ (int)
ConstRefVectorIterator & | operator-- ()
ConstRefVectorIterator | operator-- (int)
ConstRefVectorIterator | operator- (typename ConstRefVectorIterator::difference_type n) const
ConstRefVectorIterator | operator+ (typename ConstRefVectorIterator::difference_type n) const
ConstRefVectorIterator & | operator+= (typename ConstRefVectorIterator::difference_type n)
ConstRefVectorIterator & | operator-= (typename ConstRefVectorIterator::difference_type n)
Public Member Functions inherited from ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >
| 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

## Friends

class | ConstRefVector
ConstRefVectorIterator | operator+ (typename ConstRefVectorIterator::difference_type n, const ConstRefVectorIterator &i)
void | swap (ConstRefVectorIterator &i1, ConstRefVectorIterator &i2)

## Additional Inherited Members

Protected Attributes inherited from ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >
std::vector< ValueType * > * | vector_
unsigned int | position_

## Detailed Description

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

Mutable iterator for the ConstRefVector.

## Member Typedef Documentation

## ◆ pointer

typedef ConstRefVectorConstIterator<ValueType>::value_type* pointer

## ◆ reference

typedef ConstRefVectorConstIterator<ValueType>::value_type& reference

## ◆ ValueType

typedef ValueT ValueType

## Constructor & Destructor Documentation

## ◆ ConstRefVectorIterator() [1/3]

ConstRefVectorIterator | ( |  | ) |

inline

## ◆ ConstRefVectorIterator() [2/3]

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

inline

## ◆ ConstRefVectorIterator() [3/3]

ConstRefVectorIterator | ( | const ConstRefVectorIterator< ValueType > & | it | ) |

inline

## ◆ ~ConstRefVectorIterator()

~ConstRefVectorIterator | ( |  | ) |

inline

## Member Function Documentation

## ◆ operator*()

reference operator* | ( |  | ) | const

inline

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

## ◆ operator+()

ConstRefVectorIterator operator+ | ( | typename ConstRefVectorIterator< ValueT >::difference_type | n | ) | const

inline

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

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

ConstRefVectorIterator& operator++ | ( |  | ) |

inline

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

ConstRefVectorIterator operator++ | ( | int |  | ) |

inline

## ◆ operator+=()

ConstRefVectorIterator& operator+= | ( | typename ConstRefVectorIterator< ValueT >::difference_type | n | ) |

inline

## ◆ operator-()

ConstRefVectorIterator operator- | ( | typename ConstRefVectorIterator< ValueT >::difference_type | n | ) | const

inline

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

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

ConstRefVectorIterator& operator-- | ( |  | ) |

inline

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

ConstRefVectorIterator operator-- | ( | int |  | ) |

inline

## ◆ operator-=()

ConstRefVectorIterator& operator-= | ( | typename ConstRefVectorIterator< ValueT >::difference_type | n | ) |

inline

## ◆ operator->()

pointer operator-> | ( |  | ) | const

inline

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

## Friends And Related Function Documentation

## ◆ ConstRefVector

friend class ConstRefVector

friend

## ◆ operator+

ConstRefVectorIterator operator+ | ( | typename ConstRefVectorIterator< ValueT >::difference_type | n,
|  | const ConstRefVectorIterator< ValueT > & | i
| ) |  |

friend

## ◆ swap

void swap | ( | ConstRefVectorIterator< ValueT > & | i1,
|  | ConstRefVectorIterator< ValueT > & | i2
| ) |  |

friend