MaterialX 1.39.1
|
An iterator object representing the current state of an inheritance traversal. More...
#include <Traversal.h>
Public Member Functions | |
InheritanceIterator (ConstElementPtr elem) | |
bool | operator== (const InheritanceIterator &rhs) const |
bool | operator!= (const InheritanceIterator &rhs) const |
ConstElementPtr | operator* () const |
Dereference this iterator, returning the current element in the traversal. | |
InheritanceIterator & | operator++ () |
Iterate to the next element in the traversal. More... | |
InheritanceIterator & | begin (size_t holdCount=0) |
Interpret this object as an iteration range, and return its begin iterator. | |
Static Public Member Functions | |
static const InheritanceIterator & | end () |
Return the sentinel end iterator for this class. | |
An iterator object representing the current state of an inheritance traversal.
InheritanceIterator & operator++ | ( | ) |
Iterate to the next element in the traversal.
ExceptionFoundCycle | if a cycle is encountered. |