UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::FilteredIterator< ValueType, IteratorT > Class Template Reference

#include <IteratorUtil.h>

Public Member Functions

 FilteredIterator ()
 
bool operator== (const FilteredIterator &Other) const
 
bool operator!= (const FilteredIterator &Other) const
 
ValueType operator* () const
 
const FilteredIteratoroperator++ ()
 
void GotoNextElement ()
 
 FilteredIterator (const IteratorT &CurItr, const IteratorT &EndItr, const FilterFunctionT &FilterFuncIn)
 

Public Attributes

IteratorT Cur
 
IteratorT End
 
FilterFunctionT FilterFunc
 

Detailed Description

template<typename ValueType, typename IteratorT>
class UE::Geometry::FilteredIterator< ValueType, IteratorT >

Wrapper around an existing iterator that skips over values for which the filter_func returns false.

Constructor & Destructor Documentation

◆ FilteredIterator() [1/2]

template<typename ValueType , typename IteratorT >
UE::Geometry::FilteredIterator< ValueType, IteratorT >::FilteredIterator ( )
inline

◆ FilteredIterator() [2/2]

template<typename ValueType , typename IteratorT >
UE::Geometry::FilteredIterator< ValueType, IteratorT >::FilteredIterator ( const IteratorT CurItr,
const IteratorT EndItr,
const FilterFunctionT FilterFuncIn 
)
inline

Member Function Documentation

◆ GotoNextElement()

template<typename ValueType , typename IteratorT >
void UE::Geometry::FilteredIterator< ValueType, IteratorT >::GotoNextElement ( )
inline

◆ operator!=()

template<typename ValueType , typename IteratorT >
bool UE::Geometry::FilteredIterator< ValueType, IteratorT >::operator!= ( const FilteredIterator< ValueType, IteratorT > &  Other) const
inline

◆ operator*()

template<typename ValueType , typename IteratorT >
ValueType UE::Geometry::FilteredIterator< ValueType, IteratorT >::operator* ( ) const
inline

◆ operator++()

template<typename ValueType , typename IteratorT >
const FilteredIterator & UE::Geometry::FilteredIterator< ValueType, IteratorT >::operator++ ( )
inline

◆ operator==()

template<typename ValueType , typename IteratorT >
bool UE::Geometry::FilteredIterator< ValueType, IteratorT >::operator== ( const FilteredIterator< ValueType, IteratorT > &  Other) const
inline

Member Data Documentation

◆ Cur

template<typename ValueType , typename IteratorT >
IteratorT UE::Geometry::FilteredIterator< ValueType, IteratorT >::Cur

◆ End

template<typename ValueType , typename IteratorT >
IteratorT UE::Geometry::FilteredIterator< ValueType, IteratorT >::End

◆ FilterFunc

template<typename ValueType , typename IteratorT >
FilterFunctionT UE::Geometry::FilteredIterator< ValueType, IteratorT >::FilterFunc

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