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

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

#include <IteratorAdapters.h>

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

Public Types

typedef PairIterator::value_type::first_type value_type
 

Public Member Functions

 PairFirstIterator ()
 
 PairFirstIterator (PairIterator it)
 
PairFirstIteratoroperator++ ()
 
const value_typeoperator* () const
 
bool operator== (const PairFirstIterator &it) const
 
bool operator!= (const PairFirstIterator &it) const
 

Detailed Description

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

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

Member Typedef Documentation

template<class PairIterator >
typedef PairIterator::value_type::first_type molecular::util::PairFirstIterator< PairIterator >::value_type

Constructor & Destructor Documentation

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

Member Function Documentation

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

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