Geogram Version 1.9.6-rc
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::transformed_iterator< IT, XFORM > Class Template Reference

An iterator that applies a user-defined function when deferenced. More...

#include <geogram/basic/range.h>

Public Types

typedef transformed_iterator< IT, XFORM > thisclass
 

Public Member Functions

 transformed_iterator (const IT &it, XFORM xform)
 
auto operator* () const
 
bool operator== (const thisclass &rhs) const
 
bool operator!= (const thisclass &rhs) const
 
bool operator< (const thisclass &rhs) const
 
void operator++ ()
 

Detailed Description

template<class IT, typename XFORM>
class GEO::transformed_iterator< IT, XFORM >

An iterator that applies a user-defined function when deferenced.

Used internally by transform_range()

Template Parameters
ITiterator type
XFORMfunctor type
See also
transform_range()

Definition at line 376 of file range.h.

Member Typedef Documentation

◆ thisclass

template<class IT , typename XFORM >
typedef transformed_iterator<IT, XFORM> GEO::transformed_iterator< IT, XFORM >::thisclass

Definition at line 378 of file range.h.

Constructor & Destructor Documentation

◆ transformed_iterator()

template<class IT , typename XFORM >
GEO::transformed_iterator< IT, XFORM >::transformed_iterator ( const IT &  it,
XFORM  xform 
)
inline

Definition at line 380 of file range.h.

Member Function Documentation

◆ operator!=()

template<class IT , typename XFORM >
bool GEO::transformed_iterator< IT, XFORM >::operator!= ( const thisclass rhs) const
inline

Definition at line 392 of file range.h.

◆ operator*()

template<class IT , typename XFORM >
auto GEO::transformed_iterator< IT, XFORM >::operator* ( ) const
inline

Definition at line 384 of file range.h.

◆ operator++()

template<class IT , typename XFORM >
void GEO::transformed_iterator< IT, XFORM >::operator++ ( )
inline

Definition at line 400 of file range.h.

◆ operator<()

template<class IT , typename XFORM >
bool GEO::transformed_iterator< IT, XFORM >::operator< ( const thisclass rhs) const
inline

Definition at line 396 of file range.h.

◆ operator==()

template<class IT , typename XFORM >
bool GEO::transformed_iterator< IT, XFORM >::operator== ( const thisclass rhs) const
inline

Definition at line 388 of file range.h.


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