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 202 of file iterator.h.

Member Typedef Documentation

using PcpPrimIterator::difference_type = std::ptrdiff_t

Definition at line 217 of file iterator.h.

using PcpPrimIterator::iterator_category = std::random_access_iterator_tag

Definition at line 213 of file iterator.h.

using PcpPrimIterator::pointer = _PtrProxy

Definition at line 216 of file iterator.h.

Definition at line 215 of file iterator.h.

Definition at line 214 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 297 of file iterator.h.

reference PcpPrimIterator::operator* ( ) const
inline

Definition at line 237 of file iterator.h.

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

Definition at line 271 of file iterator.h.

PcpPrimIterator& PcpPrimIterator::operator++ ( )
inline

Definition at line 249 of file iterator.h.

PcpPrimIterator PcpPrimIterator::operator++ ( int  )
inline

Definition at line 259 of file iterator.h.

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

Definition at line 283 of file iterator.h.

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

Definition at line 245 of file iterator.h.

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

Definition at line 277 of file iterator.h.

PcpPrimIterator& PcpPrimIterator::operator-- ( )
inline

Definition at line 254 of file iterator.h.

PcpPrimIterator PcpPrimIterator::operator-- ( int  )
inline

Definition at line 265 of file iterator.h.

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

Definition at line 288 of file iterator.h.

pointer PcpPrimIterator::operator-> ( ) const
inline

Definition at line 238 of file iterator.h.

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

Definition at line 301 of file iterator.h.

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

Definition at line 306 of file iterator.h.

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

Definition at line 293 of file iterator.h.

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

Definition at line 311 of file iterator.h.

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

Definition at line 316 of file iterator.h.

reference PcpPrimIterator::operator[] ( const difference_type  index) const
inline

Definition at line 239 of file iterator.h.


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