HDK
|
#include <prim.h>
Public Types | |
typedef UsdPrimSubtreeIterator | iterator |
Iterator type. More... | |
typedef UsdPrimSubtreeIterator | const_iterator |
Const iterator type. More... | |
typedef std::ptrdiff_t | difference_type |
Iterator difference type. More... | |
typedef iterator::value_type | value_type |
Iterator value_type. More... | |
typedef iterator::reference | reference |
Iterator reference_type. More... | |
Public Member Functions | |
UsdPrimSubtreeRange ()=default | |
UsdPrimSubtreeRange (UsdPrimSubtreeIterator begin, UsdPrimSubtreeIterator end) | |
Construct with a pair of iterators. More... | |
iterator | begin () const |
First iterator. More... | |
const_iterator | cbegin () const |
First iterator. More... | |
iterator | end () const |
Past-the-end iterator. More... | |
const_iterator | cend () const |
Past-the-end iterator. More... | |
operator bool () const | |
Return !empty(). More... | |
bool | equal (const UsdPrimSubtreeRange &other) const |
Equality compare. More... | |
reference | front () const |
Return *begin(). This range must not be empty. More... | |
UsdPrimSubtreeRange & | advance_begin (difference_type n) |
Advance this range's begin iterator. More... | |
UsdPrimSubtreeRange & | advance_end (difference_type n) |
Advance this range's end iterator. More... | |
bool | empty () const |
Return begin() == end(). More... | |
Friends | |
bool | operator== (const UsdPrimSubtreeRange &lhs, const UsdPrimSubtreeRange &rhs) |
Equality comparison. More... | |
template<class ForwardRange > | |
bool | operator== (const UsdPrimSubtreeRange &lhs, const ForwardRange &rhs) |
Equality comparison. More... | |
template<class ForwardRange > | |
bool | operator== (const ForwardRange &lhs, const UsdPrimSubtreeRange &rhs) |
Equality comparison. More... | |
bool | operator!= (const UsdPrimSubtreeRange &lhs, const UsdPrimSubtreeRange &rhs) |
Inequality comparison. More... | |
template<class ForwardRange > | |
bool | operator!= (const ForwardRange &lhs, const UsdPrimSubtreeRange &rhs) |
Inequality comparison. More... | |
template<class ForwardRange > | |
bool | operator!= (const UsdPrimSubtreeRange &lhs, const ForwardRange &rhs) |
Inequality comparison. More... | |
Forward iterator range of sibling UsdPrim s. This range type contains a pair of UsdPrimSubtreeIterator s, denoting a half-open range of UsdPrim siblings. It provides a subset of container-like API, such as begin(), end(), front(), empty(), etc.
typedef std::ptrdiff_t UsdPrimSubtreeRange::difference_type |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |