ProteoWizard
Public Types | Public Member Functions | Private Types | Private Attributes
pwiz::util::CharIndexedVectorConstIterator< T > Class Template Reference

a const_iterator for CharIndexedVector More...

#include <CharIndexedVector.hpp>

List of all members.

Public Types

typedef type::value_type value_type
typedef type::iterator iterator
typedef type::iterator pointer
typedef type::const_iterator const_iterator
typedef type::difference_type difference_type
typedef type::reference reference
typedef type::const_reference const_reference
typedef type::size_type size_type
typedef
std::random_access_iterator_tag 
iterator_category

Public Member Functions

 CharIndexedVectorConstIterator (const const_iterator &itr)
const_reference operator* () const
bool operator!= (const CharIndexedVectorConstIterator &rhs) const
difference_type operator- (const CharIndexedVectorConstIterator &rhs) const
CharIndexedVectorConstIteratoroperator++ ()
CharIndexedVectorConstIterator operator++ (int)
CharIndexedVectorConstIteratoroperator-- ()
CharIndexedVectorConstIterator operator-- (int)
CharIndexedVectorConstIteratoroperator+= (difference_type _Off)
CharIndexedVectorConstIteratoroperator-= (difference_type _Off)
bool operator< (const CharIndexedVectorConstIterator &rhs)

Private Types

typedef boost::array< T, 129 > type

Private Attributes

type::const_iterator m_itr

Detailed Description

template<class T>
class pwiz::util::CharIndexedVectorConstIterator< T >

a const_iterator for CharIndexedVector

Definition at line 113 of file CharIndexedVector.hpp.


Member Typedef Documentation

template<class T >
typedef boost::array<T, 129> pwiz::util::CharIndexedVectorConstIterator< T >::type
private

Definition at line 115 of file CharIndexedVector.hpp.

template<class T >
typedef type::value_type pwiz::util::CharIndexedVectorConstIterator< T >::value_type

Definition at line 119 of file CharIndexedVector.hpp.

template<class T >
typedef type::iterator pwiz::util::CharIndexedVectorConstIterator< T >::iterator

Definition at line 120 of file CharIndexedVector.hpp.

template<class T >
typedef type::iterator pwiz::util::CharIndexedVectorConstIterator< T >::pointer

Definition at line 121 of file CharIndexedVector.hpp.

template<class T >
typedef type::const_iterator pwiz::util::CharIndexedVectorConstIterator< T >::const_iterator

Definition at line 122 of file CharIndexedVector.hpp.

template<class T >
typedef type::difference_type pwiz::util::CharIndexedVectorConstIterator< T >::difference_type

Definition at line 123 of file CharIndexedVector.hpp.

template<class T >
typedef type::reference pwiz::util::CharIndexedVectorConstIterator< T >::reference

Definition at line 124 of file CharIndexedVector.hpp.

template<class T >
typedef type::const_reference pwiz::util::CharIndexedVectorConstIterator< T >::const_reference

Definition at line 125 of file CharIndexedVector.hpp.

template<class T >
typedef type::size_type pwiz::util::CharIndexedVectorConstIterator< T >::size_type

Definition at line 126 of file CharIndexedVector.hpp.

template<class T >
typedef std::random_access_iterator_tag pwiz::util::CharIndexedVectorConstIterator< T >::iterator_category

Definition at line 127 of file CharIndexedVector.hpp.


Constructor & Destructor Documentation

Definition at line 129 of file CharIndexedVector.hpp.

: m_itr(itr) {}

Member Function Documentation

template<class T >
const_reference pwiz::util::CharIndexedVectorConstIterator< T >::operator* ( ) const
inline

Definition at line 131 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{
return *m_itr;
}
template<class T >
bool pwiz::util::CharIndexedVectorConstIterator< T >::operator!= ( const CharIndexedVectorConstIterator< T > &  rhs) const
inline

Definition at line 136 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{
return m_itr != *(const_iterator*)&rhs;
}
template<class T >
difference_type pwiz::util::CharIndexedVectorConstIterator< T >::operator- ( const CharIndexedVectorConstIterator< T > &  rhs) const
inline

Definition at line 141 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{
return m_itr - rhs.m_itr;
}
template<class T >
CharIndexedVectorConstIterator& pwiz::util::CharIndexedVectorConstIterator< T >::operator++ ( )
inline

Definition at line 146 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{ // preincrement
++m_itr;
return (*this);
}
template<class T >
CharIndexedVectorConstIterator pwiz::util::CharIndexedVectorConstIterator< T >::operator++ ( int  )
inline

Definition at line 152 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{ // postincrement
++m_itr;
return (_Tmp);
}
template<class T >
CharIndexedVectorConstIterator& pwiz::util::CharIndexedVectorConstIterator< T >::operator-- ( )
inline

Definition at line 159 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{ // predecrement
++m_itr;
return (*this);
}
template<class T >
CharIndexedVectorConstIterator pwiz::util::CharIndexedVectorConstIterator< T >::operator-- ( int  )
inline

Definition at line 165 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{ // postdecrement
++m_itr;
return (_Tmp);
}
template<class T >
CharIndexedVectorConstIterator& pwiz::util::CharIndexedVectorConstIterator< T >::operator+= ( difference_type  _Off)
inline

Definition at line 172 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{ // increment by integer
m_itr += _Off;
return (*this);
}
template<class T >
CharIndexedVectorConstIterator& pwiz::util::CharIndexedVectorConstIterator< T >::operator-= ( difference_type  _Off)
inline

Definition at line 178 of file CharIndexedVector.hpp.

{ // decrement by integer
return (*this += -_Off);
}
template<class T >
bool pwiz::util::CharIndexedVectorConstIterator< T >::operator< ( const CharIndexedVectorConstIterator< T > &  rhs)
inline

Definition at line 183 of file CharIndexedVector.hpp.

References pwiz::util::CharIndexedVectorConstIterator< T >::m_itr.

{
return m_itr < rhs.m_itr;
}

Member Data Documentation

template<class T >
type::const_iterator pwiz::util::CharIndexedVectorConstIterator< T >::m_itr
private

The documentation for this class was generated from the following file: