MappedIterator

Wrapper around an object of type IteratorT that provides STL iterator-like semantics, that converts from the iteration type (FromType) to a new type (ToType).

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/IteratorUtil.h

Include

#include "Util/IteratorUtil.h"

Syntax

template<typename FromType, typename ToType, typename IteratorT>
class MappedIterator

Remarks

Wrapper around an object of type IteratorT that provides STL iterator-like semantics, that converts from the iteration type (FromType) to a new type (ToType).

Conversion is done via a provided mapping function

Variables

Name Description

Public variable

IteratorT

 

Cur

Public variable

MapFunctionT

 

MapFunction

Constructors

Name Description

Public function

MappedIterator()

Public function

MappedIterator

(
    const IteratorT& CurItr,
    const MapFunctionT& MapFunctionIn
)

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const MappedIterator& Other
)

Public function Const

ToType

 

operator*()

Public function

const Mapped...

 

operator++()

Public function Const

bool

 

operator==

(
    const MappedIterator& Other
)

Typedefs

Name

Description

MapFunctionT

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss