OpenVDB  12.0.0
Public Types | Public Member Functions | Friends | List of all members
PagedArray< ValueT, Log2PageSize >::ConstIterator 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

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

Friends

ConstIterator operator+ (const difference_type &pos, const ConstIterator &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

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

Member Function Documentation

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

Friends And Related Function Documentation

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