WPILibC++  2020.3.2-60-g3011ebe
wpi::filter_iterator_impl< WrappedIteratorT, PredicateT, IterTag > Class Template Reference

Specialization of filter_iterator_base for forward iteration only. More...

#include <STLExtras.h>

Inheritance diagram for wpi::filter_iterator_impl< WrappedIteratorT, PredicateT, IterTag >:
wpi::filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > wpi::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type > wpi::iterator_facade_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type, typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::difference_type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type * >::type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & >::type >

Public Member Functions

 filter_iterator_impl (WrappedIteratorT Begin, WrappedIteratorT End, PredicateT Pred)
 
- Public Member Functions inherited from wpi::filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >
filter_iterator_baseoperator++ ()
 
DerivedT & operator++ ()
 
- Public Member Functions inherited from wpi::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type >
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator+= (difference_type n)
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator-= (difference_type n)
 
difference_type operator- (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator++ ()
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator-- ()
 
bool operator== (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
bool operator< (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & >::type operator* () const
 
- Public Member Functions inherited from wpi::iterator_facade_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type, typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::difference_type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type * >::type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & >::type >
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > operator+ (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > operator- (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator++ ()
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > operator++ (int)
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > & operator-- ()
 
filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > operator-- (int)
 
bool operator!= (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
bool operator> (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
bool operator<= (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
bool operator>= (const filter_iterator_base< WrappedIteratorT, PredicateT, IterTag > &RHS) const
 
typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type * >::type operator-> ()
 
typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type * >::type operator-> () const
 
ReferenceProxy operator[] (typename std::iterator_traits< WrappedIteratorT >::difference_type n)
 
ReferenceProxy operator[] (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 

Additional Inherited Members

- Public Types inherited from wpi::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type >
using difference_type = typename std::iterator_traits< WrappedIteratorT >::difference_type
 
- Protected Types inherited from wpi::iterator_facade_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type, typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::difference_type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type * >::type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & >::type >
enum  
 
- Protected Member Functions inherited from wpi::filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >
void findNextValid ()
 
 filter_iterator_base (WrappedIteratorT Begin, WrappedIteratorT End, PredicateT Pred)
 
- Protected Member Functions inherited from wpi::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type >
 iterator_adaptor_base (WrappedIteratorT u)
 
const WrappedIteratorT & wrapped () const
 
- Protected Attributes inherited from wpi::filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >
WrappedIteratorT End
 
PredicateT Pred
 
- Protected Attributes inherited from wpi::iterator_adaptor_base< filter_iterator_base< WrappedIteratorT, PredicateT, IterTag >, WrappedIteratorT, std::common_type< IterTag, std::iterator_traits< WrappedIteratorT >::iterator_category >::type >
WrappedIteratorT I
 

Detailed Description

template<typename WrappedIteratorT, typename PredicateT, typename IterTag = std::forward_iterator_tag>
class wpi::filter_iterator_impl< WrappedIteratorT, PredicateT, IterTag >

Specialization of filter_iterator_base for forward iteration only.


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