molecular
Public Types | Public Member Functions | List of all members
molecular::util::SkippingIterator< Iterator, Predicate > Class Template Reference

Iterator that skips certain positions. More...

#include <IteratorAdapters.h>

Inheritance diagram for molecular::util::SkippingIterator< Iterator, Predicate >:

Public Types

typedef Iterator::value_type value_type
 

Public Member Functions

 SkippingIterator ()
 
 SkippingIterator (Iterator it, Iterator end, Predicate pred)
 
SkippingIteratoroperator++ ()
 
bool operator== (const SkippingIterator &it) const
 
bool operator!= (const SkippingIterator &it) const
 
value_typeoperator* ()
 
const value_typeoperator* () const
 
value_typeoperator-> ()
 
const value_typeoperator-> () const
 

Detailed Description

template<class Iterator, class Predicate>
class molecular::util::SkippingIterator< Iterator, Predicate >

Iterator that skips certain positions.

Skips all elements for which the predicate returns true

Member Typedef Documentation

template<class Iterator, class Predicate>
typedef Iterator::value_type molecular::util::SkippingIterator< Iterator, Predicate >::value_type

Constructor & Destructor Documentation

template<class Iterator, class Predicate>
molecular::util::SkippingIterator< Iterator, Predicate >::SkippingIterator ( )
inline
template<class Iterator, class Predicate>
molecular::util::SkippingIterator< Iterator, Predicate >::SkippingIterator ( Iterator  it,
Iterator  end,
Predicate  pred 
)
inline

Member Function Documentation

template<class Iterator, class Predicate>
bool molecular::util::SkippingIterator< Iterator, Predicate >::operator!= ( const SkippingIterator< Iterator, Predicate > &  it) const
inline
template<class Iterator, class Predicate>
value_type& molecular::util::SkippingIterator< Iterator, Predicate >::operator* ( )
inline
template<class Iterator, class Predicate>
const value_type& molecular::util::SkippingIterator< Iterator, Predicate >::operator* ( ) const
inline
template<class Iterator, class Predicate>
SkippingIterator& molecular::util::SkippingIterator< Iterator, Predicate >::operator++ ( )
inline
template<class Iterator, class Predicate>
value_type* molecular::util::SkippingIterator< Iterator, Predicate >::operator-> ( )
inline
template<class Iterator, class Predicate>
const value_type* molecular::util::SkippingIterator< Iterator, Predicate >::operator-> ( ) const
inline
template<class Iterator, class Predicate>
bool molecular::util::SkippingIterator< Iterator, Predicate >::operator== ( const SkippingIterator< Iterator, Predicate > &  it) const
inline

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