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

#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. More...
 
PCP_API PcpPrimIterator (const PcpPrimIndex *primIndex, size_t pos)
 
PCP_API PcpNodeRef GetNode () const
 Returns the PcpNode from which the current prim originated. More...
 
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

using PcpPrimIterator::difference_type = std::ptrdiff_t

Definition at line 208 of file iterator.h.

using PcpPrimIterator::iterator_category = std::random_access_iterator_tag

Definition at line 204 of file iterator.h.

using PcpPrimIterator::pointer = _PtrProxy

Definition at line 207 of file iterator.h.

Definition at line 206 of file iterator.h.

Definition at line 205 of file iterator.h.

Constructor & Destructor Documentation

PCP_API PcpPrimIterator::PcpPrimIterator ( )

Constructs an invalid iterator.

PCP_API PcpPrimIterator::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

PCP_API Pcp_SdSiteRef PcpPrimIterator::_GetSiteRef ( ) const
PCP_API PcpNodeRef PcpPrimIterator::GetNode ( ) const

Returns the PcpNode from which the current prim originated.

bool PcpPrimIterator::operator!= ( const PcpPrimIterator other) const
inline

Definition at line 288 of file iterator.h.

reference PcpPrimIterator::operator* ( ) const
inline

Definition at line 228 of file iterator.h.

PcpPrimIterator PcpPrimIterator::operator+ ( const difference_type  increment) const
inline

Definition at line 262 of file iterator.h.

PcpPrimIterator& PcpPrimIterator::operator++ ( )
inline

Definition at line 240 of file iterator.h.

PcpPrimIterator PcpPrimIterator::operator++ ( int  )
inline

Definition at line 250 of file iterator.h.

PcpPrimIterator& PcpPrimIterator::operator+= ( const difference_type  increment)
inline

Definition at line 274 of file iterator.h.

difference_type PcpPrimIterator::operator- ( const PcpPrimIterator other) const
inline

Definition at line 236 of file iterator.h.

PcpPrimIterator PcpPrimIterator::operator- ( const difference_type  decrement) const
inline

Definition at line 268 of file iterator.h.

PcpPrimIterator& PcpPrimIterator::operator-- ( )
inline

Definition at line 245 of file iterator.h.

PcpPrimIterator PcpPrimIterator::operator-- ( int  )
inline

Definition at line 256 of file iterator.h.

PcpPrimIterator& PcpPrimIterator::operator-= ( const difference_type  decrement)
inline

Definition at line 279 of file iterator.h.

pointer PcpPrimIterator::operator-> ( ) const
inline

Definition at line 229 of file iterator.h.

bool PcpPrimIterator::operator< ( const PcpPrimIterator other) const
inline

Definition at line 292 of file iterator.h.

bool PcpPrimIterator::operator<= ( const PcpPrimIterator other) const
inline

Definition at line 297 of file iterator.h.

bool PcpPrimIterator::operator== ( const PcpPrimIterator other) const
inline

Definition at line 284 of file iterator.h.

bool PcpPrimIterator::operator> ( const PcpPrimIterator other) const
inline

Definition at line 302 of file iterator.h.

bool PcpPrimIterator::operator>= ( const PcpPrimIterator other) const
inline

Definition at line 307 of file iterator.h.

reference PcpPrimIterator::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: