OpenVDB  9.0.1
Public Member Functions | List of all members
NodeList< NodeT >::NodeRange::Iterator Class Reference

#include <openvdb/tree/NodeManager.h>

Public Member Functions

 Iterator (const NodeRange &range, size_t pos)
 
 Iterator (const Iterator &)=default
 
Iteratoroperator= (const Iterator &)=default
 
Iteratoroperator++ ()
 Advance to the next node. More...
 
NodeT & operator* () const
 Return a reference to the node to which this iterator is pointing. More...
 
NodeT * operator-> () const
 Return a pointer to the node to which this iterator is pointing. More...
 
size_t pos () const
 Return the index into the list of the current node. More...
 
bool isValid () const
 
bool test () const
 Return true if this iterator is not yet exhausted. More...
 
 operator bool () const
 Return true if this iterator is not yet exhausted. More...
 
bool empty () const
 Return true if this iterator is exhausted. More...
 
bool operator!= (const Iterator &other) const
 
bool operator== (const Iterator &other) const
 
const NodeRangenodeRange () const
 

Constructor & Destructor Documentation

Iterator ( const NodeRange range,
size_t  pos 
)
inline
Iterator ( const Iterator )
default

Member Function Documentation

bool empty ( ) const
inline

Return true if this iterator is exhausted.

bool isValid ( ) const
inline
const NodeRange& nodeRange ( ) const
inline
operator bool ( ) const
inline

Return true if this iterator is not yet exhausted.

bool operator!= ( const Iterator other) const
inline
NodeT& operator* ( ) const
inline

Return a reference to the node to which this iterator is pointing.

Iterator& operator++ ( )
inline

Advance to the next node.

NodeT* operator-> ( ) const
inline

Return a pointer to the node to which this iterator is pointing.

Iterator& operator= ( const Iterator )
default
bool operator== ( const Iterator other) const
inline
size_t pos ( ) const
inline

Return the index into the list of the current node.

bool test ( ) const
inline

Return true if this iterator is not yet exhausted.