Geogram Version 1.9.6-rc
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::transformed_iterator_ref< 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_ref< IT, XFORM > thisclass
 

Public Member Functions

 transformed_iterator_ref (const IT &it, XFORM xform)
 
auto & operator* ()
 
const 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_ref< IT, XFORM >

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

Used internally by transform_range_ref()

Template Parameters
ITiterator type
XFORMfunctor type
See also
transform_range_ref()

Definition at line 416 of file range.h.

Member Typedef Documentation

◆ thisclass

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

Definition at line 418 of file range.h.

Constructor & Destructor Documentation

◆ transformed_iterator_ref()

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

Definition at line 420 of file range.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 436 of file range.h.

◆ operator*() [1/2]

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

Definition at line 424 of file range.h.

◆ operator*() [2/2]

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

Definition at line 428 of file range.h.

◆ operator++()

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

Definition at line 444 of file range.h.

◆ operator<()

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

Definition at line 440 of file range.h.

◆ operator==()

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

Definition at line 432 of file range.h.


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