OpenMS  2.6.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 >:
[legend]
Collaboration diagram for ConstRefVector< ContainerT >::ConstRefVectorIterator< ValueT >:
[legend]

Public Types

typedef ValueT ValueType
 
typedef ConstRefVectorConstIterator< ValueType >::value_typereference
 
typedef ConstRefVectorConstIterator< ValueType >::value_typepointer
 
- Public Types inherited from ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >
typedef ValueT ValueType
 
typedef ValueType value_type
 
typedef std::vector< ValueType * >::difference_type difference_type
 
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
 
ConstRefVectorIteratoroperator++ ()
 
ConstRefVectorIterator operator++ (int)
 
ConstRefVectorIteratoroperator-- ()
 
ConstRefVectorIterator operator-- (int)
 
ConstRefVectorIterator operator- (typename ConstRefVectorIterator::difference_type n) const
 
ConstRefVectorIterator operator+ (typename ConstRefVectorIterator::difference_type n) const
 
ConstRefVectorIteratoroperator+= (typename ConstRefVectorIterator::difference_type n)
 
ConstRefVectorIteratoroperator-= (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 ()
 
ConstRefVectorConstIteratoroperator= (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
 
ConstRefVectorConstIteratoroperator++ ()
 
ConstRefVectorConstIterator operator++ (int)
 
ConstRefVectorConstIteratoroperator-- ()
 
ConstRefVectorConstIterator operator-- (int)
 
ConstRefVectorConstIterator operator- (difference_type n) const
 
ConstRefVectorConstIterator operator+ (difference_type n) const
 
ConstRefVectorConstIteratoroperator+= (difference_type n)
 
ConstRefVectorConstIteratoroperator-= (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

- Public Attributes inherited from ConstRefVector< ContainerT >::ConstRefVectorConstIterator< ValueT >
const typedef value_typereference
 
const typedef value_typepointer
 
- 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

◆ reference

◆ ValueType

typedef ValueT ValueType

Constructor & Destructor Documentation

◆ ConstRefVectorIterator() [1/3]

◆ ConstRefVectorIterator() [2/3]

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

◆ ConstRefVectorIterator() [3/3]

◆ ~ConstRefVectorIterator()

Member Function Documentation

◆ operator*()

reference operator* ( ) const
inline

◆ operator+()

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

◆ 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

◆ 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

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