OpenVDB  12.0.0
Public Types | Public Member Functions | Friends | List of all members
PagedArray< ValueT, Log2PageSize >::Iterator Class Reference

#include <openvdb/util/PagedArray.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = ValueT
 
using difference_type = std::ptrdiff_t
 
using pointer = ValueT *
 
using reference = ValueT &
 

Public Member Functions

 Iterator ()
 
 Iterator (PagedArray &parent, size_t pos=0)
 
 Iterator (const Iterator &other)
 
Iteratoroperator= (const Iterator &other)
 
Iteratoroperator++ ()
 
Iteratoroperator-- ()
 
Iterator operator++ (int)
 
Iterator operator-- (int)
 
ValueT & operator* () const
 
ValueT * operator-> () const
 
ValueT & operator[] (const difference_type &pos) const
 
Iteratoroperator+= (const difference_type &pos)
 
Iteratoroperator-= (const difference_type &pos)
 
Iterator operator+ (const difference_type &pos) const
 
Iterator operator- (const difference_type &pos) const
 
difference_type operator- (const Iterator &other) const
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
bool operator>= (const Iterator &other) const
 
bool operator<= (const Iterator &other) const
 
bool operator< (const Iterator &other) const
 
bool operator> (const Iterator &other) const
 
bool isValid () const
 
size_t pos () const
 

Friends

Iterator operator+ (const difference_type &pos, const Iterator &other)
 

Member Typedef Documentation

using difference_type = std::ptrdiff_t
using iterator_category = std::random_access_iterator_tag
using pointer = ValueT*
using reference = ValueT&
using value_type = ValueT

Constructor & Destructor Documentation

Iterator ( )
inline
Iterator ( PagedArray parent,
size_t  pos = 0 
)
inline
Iterator ( const Iterator other)
inline

Member Function Documentation

bool isValid ( ) const
inline
bool operator!= ( const Iterator other) const
inline
ValueT& operator* ( ) const
inline
Iterator operator+ ( const difference_type pos) const
inline
Iterator& operator++ ( )
inline
Iterator operator++ ( int  )
inline
Iterator& operator+= ( const difference_type pos)
inline
Iterator operator- ( const difference_type pos) const
inline
difference_type operator- ( const Iterator other) const
inline
Iterator& operator-- ( )
inline
Iterator operator-- ( int  )
inline
Iterator& operator-= ( const difference_type pos)
inline
ValueT* operator-> ( ) const
inline
bool operator< ( const Iterator other) const
inline
bool operator<= ( const Iterator other) const
inline
Iterator& operator= ( const Iterator other)
inline
bool operator== ( const Iterator other) const
inline
bool operator> ( const Iterator other) const
inline
bool operator>= ( const Iterator other) const
inline
ValueT& operator[] ( const difference_type pos) const
inline
size_t pos ( ) const
inline

Friends And Related Function Documentation

Iterator operator+ ( const difference_type pos,
const Iterator other 
)
friend