molecular
Public Types | Public Member Functions | List of all members
molecular::util::PairSecondIterator< PairIterator > Class Template Reference

Iterator adapter that dereferences to the second value of a pair iterator. More...

#include <IteratorAdapters.h>

Inheritance diagram for molecular::util::PairSecondIterator< PairIterator >:

Public Types

typedef PairIterator::value_type::second_type value_type
 

Public Member Functions

 PairSecondIterator ()
 
 PairSecondIterator (PairIterator it)
 
PairSecondIteratoroperator++ ()
 
const value_typeoperator* () const
 
bool operator== (const PairSecondIterator &it) const
 
bool operator!= (const PairSecondIterator &it) const
 

Detailed Description

template<class PairIterator>
class molecular::util::PairSecondIterator< PairIterator >

Iterator adapter that dereferences to the second value of a pair iterator.

Member Typedef Documentation

template<class PairIterator >
typedef PairIterator::value_type::second_type molecular::util::PairSecondIterator< PairIterator >::value_type

Constructor & Destructor Documentation

template<class PairIterator >
molecular::util::PairSecondIterator< PairIterator >::PairSecondIterator ( )
inline
template<class PairIterator >
molecular::util::PairSecondIterator< PairIterator >::PairSecondIterator ( PairIterator  it)
inline

Member Function Documentation

template<class PairIterator >
bool molecular::util::PairSecondIterator< PairIterator >::operator!= ( const PairSecondIterator< PairIterator > &  it) const
inline
template<class PairIterator >
const value_type& molecular::util::PairSecondIterator< PairIterator >::operator* ( ) const
inline
template<class PairIterator >
PairSecondIterator& molecular::util::PairSecondIterator< PairIterator >::operator++ ( )
inline
template<class PairIterator >
bool molecular::util::PairSecondIterator< PairIterator >::operator== ( const PairSecondIterator< PairIterator > &  it) const
inline

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