OpenVDB  9.0.1
Public Member Functions | Protected Attributes | List of all members
BaseMaskIterator< NodeMask > Class Template Reference

Base class for the bit mask iterators. More...

#include <openvdb/util/NodeMasks.h>

Inherited by DenseMaskIterator< NodeMask >, OffMaskIterator< NodeMask >, and OnMaskIterator< NodeMask >.

Public Member Functions

 BaseMaskIterator ()
 
 BaseMaskIterator (const BaseMaskIterator &)=default
 
 BaseMaskIterator (Index32 pos, const NodeMask *parent)
 
bool operator== (const BaseMaskIterator &iter) const
 
bool operator!= (const BaseMaskIterator &iter) const
 
bool operator< (const BaseMaskIterator &iter) const
 
BaseMaskIteratoroperator= (const BaseMaskIterator &iter)
 
Index32 offset () const
 
Index32 pos () const
 
bool test () const
 
 operator bool () const
 

Protected Attributes

Index32 mPos
 
const NodeMaskmParent
 

Detailed Description

template<typename NodeMask>
class openvdb::v9_0::util::BaseMaskIterator< NodeMask >

Base class for the bit mask iterators.

Constructor & Destructor Documentation

BaseMaskIterator ( )
inline
BaseMaskIterator ( const BaseMaskIterator< NodeMask > &  )
default
BaseMaskIterator ( Index32  pos,
const NodeMask parent 
)
inline

Member Function Documentation

Index32 offset ( ) const
inline
operator bool ( ) const
inline
bool operator!= ( const BaseMaskIterator< NodeMask > &  iter) const
inline
bool operator< ( const BaseMaskIterator< NodeMask > &  iter) const
inline
BaseMaskIterator& operator= ( const BaseMaskIterator< NodeMask > &  iter)
inline
bool operator== ( const BaseMaskIterator< NodeMask > &  iter) const
inline
Index32 pos ( ) const
inline
bool test ( ) const
inline

Member Data Documentation

const NodeMask* mParent
protected
Index32 mPos
protected