storage::FilterIterator< Pred, Iter > Class Template Reference

#include <FilterIterator.h>

Inheritance diagram for storage::FilterIterator< Pred, Iter >:

storage::CastCheckFncIterator< Iter, FncP, CastResult > storage::CastCheckIterator< Iter, Value, CastResult > storage::ContainerIter< Pred, Iter >

List of all members.

Public Types

typedef Iter::value_type value_type
typedef Iter::reference reference
typedef Iter::pointer pointer
typedef Iter::difference_type difference_type
typedef Iter::iterator_category iterator_category

Public Member Functions

 FilterIterator ()
 FilterIterator (const Iter &begin, const Iter &end, Pred f, bool setend=false)
 FilterIterator (const IterPair< Iter > &p, Pred f, bool setend=false)
 FilterIterator (const FilterIterator &x)
FilterIteratoroperator= (const FilterIterator &x)
FilterIteratoroperator++ ()
FilterIterator operator++ (int)
FilterIteratoroperator-- ()
FilterIterator operator-- (int)
value_type operator* () const
pointer operator-> () const
bool operator== (const FilterIterator &x) const
bool operator!= (const FilterIterator &x) const
Pred pred () const
Iter end () const
Iter cur () const
Iter begin () const

Private Member Functions

void initialize (bool setend)
void copyMembers (const FilterIterator &x)
void assertPred (bool forward=true)

Private Attributes

Iter m_begin
Iter m_end
Iter m_cur
Pred m_f

template<class Pred, class Iter>
class storage::FilterIterator< Pred, Iter >


Member Typedef Documentation

template<class Pred, class Iter>
typedef Iter::value_type storage::FilterIterator< Pred, Iter >::value_type

template<class Pred, class Iter>
typedef Iter::reference storage::FilterIterator< Pred, Iter >::reference

template<class Pred, class Iter>
typedef Iter::pointer storage::FilterIterator< Pred, Iter >::pointer

template<class Pred, class Iter>
typedef Iter::difference_type storage::FilterIterator< Pred, Iter >::difference_type

template<class Pred, class Iter>
typedef Iter::iterator_category storage::FilterIterator< Pred, Iter >::iterator_category


Constructor & Destructor Documentation

template<class Pred, class Iter>
storage::FilterIterator< Pred, Iter >::FilterIterator (  )  [inline]

template<class Pred, class Iter>
storage::FilterIterator< Pred, Iter >::FilterIterator ( const Iter &  begin,
const Iter &  end,
Pred  f,
bool  setend = false 
) [inline]

template<class Pred, class Iter>
storage::FilterIterator< Pred, Iter >::FilterIterator ( const IterPair< Iter > &  p,
Pred  f,
bool  setend = false 
) [inline]

template<class Pred, class Iter>
storage::FilterIterator< Pred, Iter >::FilterIterator ( const FilterIterator< Pred, Iter > &  x  )  [inline]


Member Function Documentation

template<class Pred, class Iter>
FilterIterator& storage::FilterIterator< Pred, Iter >::operator= ( const FilterIterator< Pred, Iter > &  x  )  [inline]

template<class Pred, class Iter>
FilterIterator& storage::FilterIterator< Pred, Iter >::operator++ (  )  [inline]

template<class Pred, class Iter>
FilterIterator storage::FilterIterator< Pred, Iter >::operator++ ( int   )  [inline]

template<class Pred, class Iter>
FilterIterator& storage::FilterIterator< Pred, Iter >::operator-- (  )  [inline]

template<class Pred, class Iter>
FilterIterator storage::FilterIterator< Pred, Iter >::operator-- ( int   )  [inline]

template<class Pred, class Iter>
value_type storage::FilterIterator< Pred, Iter >::operator* (  )  const [inline]

template<class Pred, class Iter>
pointer storage::FilterIterator< Pred, Iter >::operator-> (  )  const [inline]

template<class Pred, class Iter>
bool storage::FilterIterator< Pred, Iter >::operator== ( const FilterIterator< Pred, Iter > &  x  )  const [inline]

template<class Pred, class Iter>
bool storage::FilterIterator< Pred, Iter >::operator!= ( const FilterIterator< Pred, Iter > &  x  )  const [inline]

template<class Pred, class Iter>
Pred storage::FilterIterator< Pred, Iter >::pred (  )  const [inline]

template<class Pred, class Iter>
Iter storage::FilterIterator< Pred, Iter >::end (  )  const [inline]

template<class Pred, class Iter>
Iter storage::FilterIterator< Pred, Iter >::cur (  )  const [inline]

template<class Pred, class Iter>
Iter storage::FilterIterator< Pred, Iter >::begin (  )  const [inline]

template<class Pred, class Iter>
void storage::FilterIterator< Pred, Iter >::initialize ( bool  setend  )  [inline, private]

template<class Pred, class Iter>
void storage::FilterIterator< Pred, Iter >::copyMembers ( const FilterIterator< Pred, Iter > &  x  )  [inline, private]

template<class Pred, class Iter>
void storage::FilterIterator< Pred, Iter >::assertPred ( bool  forward = true  )  [inline, private]


Member Data Documentation

template<class Pred, class Iter>
Iter storage::FilterIterator< Pred, Iter >::m_begin [private]

template<class Pred, class Iter>
Iter storage::FilterIterator< Pred, Iter >::m_end [private]

template<class Pred, class Iter>
Iter storage::FilterIterator< Pred, Iter >::m_cur [private]

template<class Pred, class Iter>
Pred storage::FilterIterator< Pred, Iter >::m_f [private]


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

Generated on Sun Jun 8 10:48:04 2008 for yast2-storage by  doxygen 1.5.5