OpenVDB 9.0.0
Public Types | Public Member Functions | List of all members
PagedArray< ValueT, Log2PageSize >::ConstIterator Class Reference

#include <openvdb/util/PagedArray.h>

Inherits iterator< std::random_access_iterator_tag, ValueT >.

Public Types

using BaseT = std::iterator< std::random_access_iterator_tag, ValueT >
 
using difference_type = typename BaseT::difference_type
 

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
 

Member Typedef Documentation

◆ BaseT

using BaseT = std::iterator<std::random_access_iterator_tag, ValueT>

◆ difference_type

using difference_type = typename BaseT::difference_type

Constructor & Destructor Documentation

◆ ConstIterator() [1/3]

ConstIterator ( )
inline

◆ ConstIterator() [2/3]

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

◆ ConstIterator() [3/3]

ConstIterator ( const ConstIterator other)
inline

Member Function Documentation

◆ isValid()

bool isValid ( ) const
inline

◆ operator!=()

bool operator!= ( const ConstIterator other) const
inline

◆ operator*()

const ValueT & operator* ( ) const
inline

◆ operator+()

ConstIterator operator+ ( const difference_type pos) const
inline

◆ operator++() [1/2]

ConstIterator & operator++ ( )
inline

◆ operator++() [2/2]

ConstIterator operator++ ( int  )
inline

◆ operator+=()

ConstIterator & operator+= ( const difference_type pos)
inline

◆ operator-() [1/2]

difference_type operator- ( const ConstIterator other) const
inline

◆ operator-() [2/2]

ConstIterator operator- ( const difference_type pos) const
inline

◆ operator--() [1/2]

ConstIterator & operator-- ( )
inline

◆ operator--() [2/2]

ConstIterator operator-- ( int  )
inline

◆ operator-=()

ConstIterator & operator-= ( const difference_type pos)
inline

◆ operator->()

const ValueT * operator-> ( ) const
inline

◆ operator<()

bool operator< ( const ConstIterator other) const
inline

◆ operator<=()

bool operator<= ( const ConstIterator other) const
inline

◆ operator=()

ConstIterator & operator= ( const ConstIterator other)
inline

◆ operator==()

bool operator== ( const ConstIterator other) const
inline

◆ operator>()

bool operator> ( const ConstIterator other) const
inline

◆ operator>=()

bool operator>= ( const ConstIterator other) const
inline

◆ operator[]()

const ValueT & operator[] ( const difference_type pos) const
inline

◆ pos()

size_t pos ( ) const
inline