Geogram Version 1.8.5
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::no_iterator Class Reference

Wraps an integer for range-based for construct. More...

#include <geogram/basic/range.h>

Public Member Functions

 no_iterator (index_t val)
 
void operator++ ()
 
bool operator== (const no_iterator &rhs)
 
bool operator!= (const no_iterator &rhs)
 
bool operator< (const no_iterator &rhs)
 
index_t operator* () const
 

Detailed Description

Wraps an integer for range-based for construct.

Not really an iterator, rather a pseudo-index.

Definition at line 58 of file range.h.

Constructor & Destructor Documentation

◆ no_iterator()

GEO::no_iterator::no_iterator ( index_t  val)
inline

Definition at line 60 of file range.h.

Member Function Documentation

◆ operator!=()

bool GEO::no_iterator::operator!= ( const no_iterator rhs)
inline

Definition at line 71 of file range.h.

◆ operator*()

index_t GEO::no_iterator::operator* ( ) const
inline

Definition at line 79 of file range.h.

◆ operator++()

void GEO::no_iterator::operator++ ( )
inline

Definition at line 63 of file range.h.

◆ operator<()

bool GEO::no_iterator::operator< ( const no_iterator rhs)
inline

Definition at line 75 of file range.h.

◆ operator==()

bool GEO::no_iterator::operator== ( const no_iterator rhs)
inline

Definition at line 67 of file range.h.


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