HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator Class Reference

#include <LeafManager.h>

Public Member Functions

 Iterator (const LeafRange &range, size_t pos)
 
 Iterator (const Iterator &)=default
 
Iteratoroperator= (const Iterator &)=default
 
Iteratoroperator++ ()
 Advance to the next leaf node. More...
 
LeafTypeoperator* () const
 Return a reference to the leaf node to which this iterator is pointing. More...
 
LeafTypeoperator-> () const
 Return a pointer to the leaf node to which this iterator is pointing. More...
 
BufferTypebuffer (size_t bufferIdx)
 Return the nth buffer for the leaf node to which this iterator is pointing, where n = bufferIdx and n = 0 corresponds to the leaf node's own buffer. More...
 
size_t pos () const
 Return the index into the leaf array of the current leaf node. More...
 
bool isValid () const
 Return true if the position of this iterator is in a valid range. More...
 
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 LeafRangeleafRange () const
 

Detailed Description

template<typename TreeT>
class openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator

Definition at line 135 of file LeafManager.h.

Constructor & Destructor Documentation

template<typename TreeT>
openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::Iterator ( const LeafRange range,
size_t  pos 
)
inline

Definition at line 138 of file LeafManager.h.

template<typename TreeT>
openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::Iterator ( const Iterator )
default

Member Function Documentation

template<typename TreeT>
BufferType& openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::buffer ( size_t  bufferIdx)
inline

Return the nth buffer for the leaf node to which this iterator is pointing, where n = bufferIdx and n = 0 corresponds to the leaf node's own buffer.

Definition at line 152 of file LeafManager.h.

template<typename TreeT>
bool openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::empty ( void  ) const
inline

Return true if this iterator is exhausted.

Definition at line 165 of file LeafManager.h.

template<typename TreeT>
bool openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::isValid ( void  ) const
inline

Return true if the position of this iterator is in a valid range.

Definition at line 159 of file LeafManager.h.

template<typename TreeT>
const LeafRange& openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::leafRange ( ) const
inline

Definition at line 171 of file LeafManager.h.

template<typename TreeT>
openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::operator bool ( ) const
inline

Return true if this iterator is not yet exhausted.

Definition at line 163 of file LeafManager.h.

template<typename TreeT>
bool openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 166 of file LeafManager.h.

template<typename TreeT>
LeafType& openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::operator* ( void  ) const
inline

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

Definition at line 147 of file LeafManager.h.

template<typename TreeT>
Iterator& openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::operator++ ( )
inline

Advance to the next leaf node.

Definition at line 145 of file LeafManager.h.

template<typename TreeT>
LeafType* openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::operator-> ( void  ) const
inline

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

Definition at line 149 of file LeafManager.h.

template<typename TreeT>
Iterator& openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::operator= ( const Iterator )
default
template<typename TreeT>
bool openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::operator== ( const Iterator other) const
inline

Definition at line 170 of file LeafManager.h.

template<typename TreeT>
size_t openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::pos ( ) const
inline

Return the index into the leaf array of the current leaf node.

Definition at line 157 of file LeafManager.h.

template<typename TreeT>
bool openvdb::OPENVDB_VERSION_NAME::tree::LeafManager< TreeT >::LeafRange::Iterator::test ( ) const
inline

Return true if this iterator is not yet exhausted.

Definition at line 161 of file LeafManager.h.


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