Graphite  Version 3
An experimental 3D geometry processing program
GEO::index_ptr_in_array Class Reference

Encapsulates a pointer to an element in an index_t array. More...

#include <geogram/basic/range.h>

Public Member Functions

 index_ptr_in_array (index_t *ptr, index_t *begin, index_t *end)
 
void operator++ ()
 
bool operator== (index_ptr_in_array rhs)
 
bool operator!= (index_ptr_in_array rhs)
 
bool operator< (index_ptr_in_array rhs)
 
const index_toperator* () const
 
index_toperator* ()
 
index_t operator- (index_ptr_in_array it) const
 
index_ptr_in_array operator+ (index_t i) const
 
 operator const_index_ptr_in_array () const
 

Detailed Description

Encapsulates a pointer to an element in an index_t array.

In debug mode, checks bounds on indirection

Definition at line 226 of file range.h.


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