Loading...
Searching...
No Matches
PcpPrimIterator Class Reference

Object used to iterate over prim specs in the prim index graph in strong-to-weak order. More...

#include <iterator.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = SdfSite
 
using reference = SdfSite
 
using pointer = _PtrProxy
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

PCP_API PcpPrimIterator ()
 Constructs an invalid iterator.
 
PCP_API PcpPrimIterator (const PcpPrimIndex *primIndex, size_t pos)
 Constructs a prim iterator beginning at position pos in the prim stack of prim index primIndex.
 
PCP_API PcpNodeRef GetNode () const
 Returns the PcpNode from which the current prim originated.
 
PCP_API Pcp_SdSiteRef _GetSiteRef () const
 
reference operator* () const
 
pointer operator-> () const
 
reference operator[] (const difference_type index) const
 
difference_type operator- (const PcpPrimIterator &other) const
 
PcpPrimIteratoroperator++ ()
 
PcpPrimIteratoroperator-- ()
 
PcpPrimIterator operator++ (int)
 
PcpPrimIterator operator-- (int)
 
PcpPrimIterator operator+ (const difference_type increment) const
 
PcpPrimIterator operator- (const difference_type decrement) const
 
PcpPrimIteratoroperator+= (const difference_type increment)
 
PcpPrimIteratoroperator-= (const difference_type decrement)
 
bool operator== (const PcpPrimIterator &other) const
 
bool operator!= (const PcpPrimIterator &other) const
 
bool operator< (const PcpPrimIterator &other) const
 
bool operator<= (const PcpPrimIterator &other) const
 
bool operator> (const PcpPrimIterator &other) const
 
bool operator>= (const PcpPrimIterator &other) const
 

Detailed Description

Object used to iterate over prim specs in the prim index graph in strong-to-weak order.

Definition at line 193 of file iterator.h.

Member Typedef Documentation

◆ difference_type

using difference_type = std::ptrdiff_t

Definition at line 208 of file iterator.h.

◆ iterator_category

using iterator_category = std::random_access_iterator_tag

Definition at line 204 of file iterator.h.

◆ pointer

using pointer = _PtrProxy

Definition at line 207 of file iterator.h.

◆ reference

using reference = SdfSite

Definition at line 206 of file iterator.h.

◆ value_type

Definition at line 205 of file iterator.h.

Constructor & Destructor Documentation

◆ PcpPrimIterator() [1/2]

PCP_API PcpPrimIterator ( )

Constructs an invalid iterator.

◆ PcpPrimIterator() [2/2]

PCP_API PcpPrimIterator ( const PcpPrimIndex primIndex,
size_t  pos 
)

Constructs a prim iterator beginning at position pos in the prim stack of prim index primIndex.

Member Function Documentation

◆ GetNode()

PCP_API PcpNodeRef GetNode ( ) const

Returns the PcpNode from which the current prim originated.

◆ operator!=()

bool operator!= ( const PcpPrimIterator other) const
inline

Definition at line 288 of file iterator.h.

◆ operator*()

reference operator* ( ) const
inline

Definition at line 228 of file iterator.h.

◆ operator+()

PcpPrimIterator operator+ ( const difference_type  increment) const
inline

Definition at line 262 of file iterator.h.

◆ operator++() [1/2]

PcpPrimIterator & operator++ ( )
inline

Definition at line 240 of file iterator.h.

◆ operator++() [2/2]

PcpPrimIterator operator++ ( int  )
inline

Definition at line 250 of file iterator.h.

◆ operator+=()

PcpPrimIterator & operator+= ( const difference_type  increment)
inline

Definition at line 274 of file iterator.h.

◆ operator-() [1/2]

PcpPrimIterator operator- ( const difference_type  decrement) const
inline

Definition at line 268 of file iterator.h.

◆ operator-() [2/2]

difference_type operator- ( const PcpPrimIterator other) const
inline

Definition at line 236 of file iterator.h.

◆ operator--() [1/2]

PcpPrimIterator & operator-- ( )
inline

Definition at line 245 of file iterator.h.

◆ operator--() [2/2]

PcpPrimIterator operator-- ( int  )
inline

Definition at line 256 of file iterator.h.

◆ operator-=()

PcpPrimIterator & operator-= ( const difference_type  decrement)
inline

Definition at line 279 of file iterator.h.

◆ operator->()

pointer operator-> ( ) const
inline

Definition at line 229 of file iterator.h.

◆ operator<()

bool operator< ( const PcpPrimIterator other) const
inline

Definition at line 292 of file iterator.h.

◆ operator<=()

bool operator<= ( const PcpPrimIterator other) const
inline

Definition at line 297 of file iterator.h.

◆ operator==()

bool operator== ( const PcpPrimIterator other) const
inline

Definition at line 284 of file iterator.h.

◆ operator>()

bool operator> ( const PcpPrimIterator other) const
inline

Definition at line 302 of file iterator.h.

◆ operator>=()

bool operator>= ( const PcpPrimIterator other) const
inline

Definition at line 307 of file iterator.h.

◆ operator[]()

reference operator[] ( const difference_type  index) const
inline

Definition at line 230 of file iterator.h.


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