HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdPrimSiblingRange Class Reference

#include <prim.h>

Public Types

typedef UsdPrimSiblingIterator iterator
 Iterator type. More...
 
typedef UsdPrimSiblingIterator 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

 UsdPrimSiblingRange ()=default
 
 UsdPrimSiblingRange (UsdPrimSiblingIterator begin, UsdPrimSiblingIterator 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 UsdPrimSiblingRange &other) const
 Equality compare. More...
 
reference front () const
 Return *begin(). This range must not be empty. More...
 
UsdPrimSiblingRangeadvance_begin (difference_type n)
 Advance this range's begin iterator. More...
 
UsdPrimSiblingRangeadvance_end (difference_type n)
 Advance this range's end iterator. More...
 
bool empty () const
 Return begin() == end(). More...
 

Friends

bool operator== (const UsdPrimSiblingRange &lhs, const UsdPrimSiblingRange &rhs)
 Equality comparison. More...
 
template<class ForwardRange >
bool operator== (const UsdPrimSiblingRange &lhs, const ForwardRange &rhs)
 Equality comparison. More...
 
template<class ForwardRange >
bool operator== (const ForwardRange &lhs, const UsdPrimSiblingRange &rhs)
 Equality comparison. More...
 
bool operator!= (const UsdPrimSiblingRange &lhs, const UsdPrimSiblingRange &rhs)
 Inequality comparison. More...
 
template<class ForwardRange >
bool operator!= (const ForwardRange &lhs, const UsdPrimSiblingRange &rhs)
 Inequality comparison. More...
 
template<class ForwardRange >
bool operator!= (const UsdPrimSiblingRange &lhs, const ForwardRange &rhs)
 Inequality comparison. More...
 

Detailed Description

Forward iterator range of sibling UsdPrim s. This range type contains a pair of UsdPrimSiblingIterator s, denoting a half-open range of UsdPrim siblings. It provides a subset of container-like API, such as begin(), end(), front(), empty(), etc.

Definition at line 2383 of file prim.h.

Member Typedef Documentation

Const iterator type.

Definition at line 2388 of file prim.h.

typedef std::ptrdiff_t UsdPrimSiblingRange::difference_type

Iterator difference type.

Definition at line 2390 of file prim.h.

Iterator type.

Definition at line 2386 of file prim.h.

Iterator reference_type.

Definition at line 2394 of file prim.h.

Iterator value_type.

Definition at line 2392 of file prim.h.

Constructor & Destructor Documentation

UsdPrimSiblingRange::UsdPrimSiblingRange ( )
default
UsdPrimSiblingRange::UsdPrimSiblingRange ( UsdPrimSiblingIterator  begin,
UsdPrimSiblingIterator  end 
)
inline

Construct with a pair of iterators.

Definition at line 2399 of file prim.h.

Member Function Documentation

UsdPrimSiblingRange& UsdPrimSiblingRange::advance_begin ( difference_type  n)
inline

Advance this range's begin iterator.

Definition at line 2430 of file prim.h.

UsdPrimSiblingRange& UsdPrimSiblingRange::advance_end ( difference_type  n)
inline

Advance this range's end iterator.

Definition at line 2436 of file prim.h.

iterator UsdPrimSiblingRange::begin ( void  ) const
inline

First iterator.

Definition at line 2404 of file prim.h.

const_iterator UsdPrimSiblingRange::cbegin ( ) const
inline

First iterator.

Definition at line 2407 of file prim.h.

const_iterator UsdPrimSiblingRange::cend ( ) const
inline

Past-the-end iterator.

Definition at line 2413 of file prim.h.

bool UsdPrimSiblingRange::empty ( void  ) const
inline

Return begin() == end().

Definition at line 2442 of file prim.h.

iterator UsdPrimSiblingRange::end ( void  ) const
inline

Past-the-end iterator.

Definition at line 2410 of file prim.h.

bool UsdPrimSiblingRange::equal ( const UsdPrimSiblingRange other) const
inline

Equality compare.

Definition at line 2419 of file prim.h.

reference UsdPrimSiblingRange::front ( void  ) const
inline

Return *begin(). This range must not be empty.

Definition at line 2424 of file prim.h.

UsdPrimSiblingRange::operator bool ( ) const
inlineexplicit

Return !empty().

Definition at line 2416 of file prim.h.

Friends And Related Function Documentation

bool operator!= ( const UsdPrimSiblingRange lhs,
const UsdPrimSiblingRange rhs 
)
friend

Inequality comparison.

Definition at line 2473 of file prim.h.

template<class ForwardRange >
bool operator!= ( const ForwardRange &  lhs,
const UsdPrimSiblingRange rhs 
)
friend

Inequality comparison.

Definition at line 2480 of file prim.h.

template<class ForwardRange >
bool operator!= ( const UsdPrimSiblingRange lhs,
const ForwardRange &  rhs 
)
friend

Inequality comparison.

Definition at line 2487 of file prim.h.

bool operator== ( const UsdPrimSiblingRange lhs,
const UsdPrimSiblingRange rhs 
)
friend

Equality comparison.

Definition at line 2446 of file prim.h.

template<class ForwardRange >
bool operator== ( const UsdPrimSiblingRange lhs,
const ForwardRange &  rhs 
)
friend

Equality comparison.

Definition at line 2453 of file prim.h.

template<class ForwardRange >
bool operator== ( const ForwardRange &  lhs,
const UsdPrimSiblingRange rhs 
)
friend

Equality comparison.

Definition at line 2467 of file prim.h.


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