SPH
Public Member Functions | List of all members
SubsetIterator< TIterator, TCondition > Class Template Reference

Allows to iterate over a given subset of a container, given by condition functor. More...

#include <IteratorAdapters.h>

Public Member Functions

 SubsetIterator (const TIterator &iterator, const TIterator &end, TCondition &&condition)
 
INLINE SubsetIteratoroperator++ ()
 
decltype(auto) INLINE operator* ()
 
decltype(auto) INLINE operator* () const
 
INLINE bool operator== (const SubsetIterator &other) const
 
INLINE bool operator!= (const SubsetIterator &other) const
 

Detailed Description

template<typename TIterator, typename TCondition>
class SubsetIterator< TIterator, TCondition >

Allows to iterate over a given subset of a container, given by condition functor.

Definition at line 498 of file IteratorAdapters.h.

Constructor & Destructor Documentation

◆ SubsetIterator()

template<typename TIterator , typename TCondition >
SubsetIterator< TIterator, TCondition >::SubsetIterator ( const TIterator &  iterator,
const TIterator &  end,
TCondition &&  condition 
)
inline

Definition at line 505 of file IteratorAdapters.h.

Member Function Documentation

◆ operator!=()

template<typename TIterator , typename TCondition >
INLINE bool SubsetIterator< TIterator, TCondition >::operator!= ( const SubsetIterator< TIterator, TCondition > &  other) const
inline

Definition at line 536 of file IteratorAdapters.h.

◆ operator*() [1/2]

template<typename TIterator , typename TCondition >
decltype(auto) INLINE SubsetIterator< TIterator, TCondition >::operator* ( )
inline

Definition at line 522 of file IteratorAdapters.h.

◆ operator*() [2/2]

template<typename TIterator , typename TCondition >
decltype(auto) INLINE SubsetIterator< TIterator, TCondition >::operator* ( ) const
inline

Definition at line 527 of file IteratorAdapters.h.

◆ operator++()

template<typename TIterator , typename TCondition >
INLINE SubsetIterator& SubsetIterator< TIterator, TCondition >::operator++ ( )
inline

Definition at line 515 of file IteratorAdapters.h.

◆ operator==()

template<typename TIterator , typename TCondition >
INLINE bool SubsetIterator< TIterator, TCondition >::operator== ( const SubsetIterator< TIterator, TCondition > &  other) const
inline

Definition at line 532 of file IteratorAdapters.h.


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