![]() |
|
A forward iterator into a UsdPrimRange. More...
#include <primRange.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = UsdPrim |
| using | reference = UsdPrim |
| using | pointer = _PtrProxy |
| using | difference_type = std::ptrdiff_t |
Public Member Functions | |
| iterator (EndSentinel e) | |
| Allow implicit conversion from EndSentinel. | |
| reference | operator* () const |
| pointer | operator-> () const |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| bool | IsPostVisit () const |
| Return true if the iterator points to a prim visited the second time (in post order) for a pre- and post-order iterator, false otherwise. | |
| USD_API void | PruneChildren () |
| Behave as if the current prim has no children when next advanced. | |
| bool | operator== (iterator const &other) const |
Return true if this iterator is equivalent to other. | |
| bool | operator== (EndSentinel const &other) const |
Return true if this iterator is equivalent to other. | |
| bool | operator!= (iterator const &other) const |
Return true if this iterator is not equivalent to other. | |
| bool | operator!= (EndSentinel const &other) const |
Return true if this iterator is not equivalent to other. | |
Friends | |
| class | UsdPrimRange |
A forward iterator into a UsdPrimRange.
Iterators are valid for the range they were obtained from. An iterator i obtained from a range r is not valid for a range c copied from r.
Definition at line 123 of file primRange.h.
| using difference_type = std::ptrdiff_t |
Definition at line 138 of file primRange.h.
| using iterator_category = std::forward_iterator_tag |
Definition at line 134 of file primRange.h.
| using pointer = _PtrProxy |
Definition at line 137 of file primRange.h.
Definition at line 136 of file primRange.h.
| using value_type = UsdPrim |
Definition at line 135 of file primRange.h.
|
inline |
Allow implicit conversion from EndSentinel.
Definition at line 143 of file primRange.h.
|
inline |
Return true if the iterator points to a prim visited the second time (in post order) for a pre- and post-order iterator, false otherwise.
Definition at line 163 of file primRange.h.
|
inline |
Return true if this iterator is not equivalent to other.
Definition at line 192 of file primRange.h.
|
inline |
Return true if this iterator is not equivalent to other.
Definition at line 187 of file primRange.h.
|
inline |
Definition at line 147 of file primRange.h.
|
inline |
Definition at line 150 of file primRange.h.
|
inline |
Definition at line 155 of file primRange.h.
|
inline |
Definition at line 148 of file primRange.h.
|
inline |
Return true if this iterator is equivalent to other.
Definition at line 181 of file primRange.h.
|
inline |
Return true if this iterator is equivalent to other.
Definition at line 171 of file primRange.h.
| USD_API void PruneChildren | ( | ) |
Behave as if the current prim has no children when next advanced.
Issue an error if this is a pre- and post-order iterator that IsPostVisit().
|
friend |
Definition at line 197 of file primRange.h.