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

#include <iterator.h>

Public Types

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

Public Member Functions

 PcpNodeIterator ()=default
 Constructs an invalid iterator. More...
 
Pcp_CompressedSdSite GetCompressedSdSite (size_t layerIndex) const
 
PCP_API PcpNodeIteratorMoveToNextSubtree ()
 
reference operator* () const
 
pointer operator-> () const
 
reference operator[] (const difference_type index) const
 
difference_type operator- (const PcpNodeIterator &other) const
 
PcpNodeIteratoroperator++ ()
 
PcpNodeIteratoroperator-- ()
 
PcpNodeIterator operator++ (int)
 
PcpNodeIterator operator-- (int)
 
PcpNodeIterator operator+ (const difference_type increment) const
 
PcpNodeIterator operator- (const difference_type decrement) const
 
PcpNodeIteratoroperator+= (const difference_type increment)
 
PcpNodeIteratoroperator-= (const difference_type decrement)
 
bool operator== (const PcpNodeIterator &other) const
 
bool operator!= (const PcpNodeIterator &other) const
 
bool operator< (const PcpNodeIterator &other) const
 
bool operator<= (const PcpNodeIterator &other) const
 
bool operator> (const PcpNodeIterator &other) const
 
bool operator>= (const PcpNodeIterator &other) const
 

Friends

class PcpPrimIndex
 

Detailed Description

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

Definition at line 33 of file iterator.h.

Member Typedef Documentation

using PcpNodeIterator::difference_type = std::ptrdiff_t

Definition at line 48 of file iterator.h.

using PcpNodeIterator::iterator_category = std::random_access_iterator_tag

Definition at line 44 of file iterator.h.

using PcpNodeIterator::pointer = _PtrProxy

Definition at line 47 of file iterator.h.

Definition at line 46 of file iterator.h.

Definition at line 45 of file iterator.h.

Constructor & Destructor Documentation

PcpNodeIterator::PcpNodeIterator ( )
default

Constructs an invalid iterator.

Member Function Documentation

Pcp_CompressedSdSite PcpNodeIterator::GetCompressedSdSite ( size_t  layerIndex) const
inline

Definition at line 54 of file iterator.h.

PCP_API PcpNodeIterator& PcpNodeIterator::MoveToNextSubtree ( )
bool PcpNodeIterator::operator!= ( const PcpNodeIterator other) const
inline

Definition at line 127 of file iterator.h.

reference PcpNodeIterator::operator* ( ) const
inline

Definition at line 67 of file iterator.h.

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

Definition at line 101 of file iterator.h.

PcpNodeIterator& PcpNodeIterator::operator++ ( )
inline

Definition at line 79 of file iterator.h.

PcpNodeIterator PcpNodeIterator::operator++ ( int  )
inline

Definition at line 89 of file iterator.h.

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

Definition at line 113 of file iterator.h.

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

Definition at line 75 of file iterator.h.

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

Definition at line 107 of file iterator.h.

PcpNodeIterator& PcpNodeIterator::operator-- ( )
inline

Definition at line 84 of file iterator.h.

PcpNodeIterator PcpNodeIterator::operator-- ( int  )
inline

Definition at line 95 of file iterator.h.

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

Definition at line 118 of file iterator.h.

pointer PcpNodeIterator::operator-> ( ) const
inline

Definition at line 68 of file iterator.h.

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

Definition at line 131 of file iterator.h.

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

Definition at line 136 of file iterator.h.

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

Definition at line 123 of file iterator.h.

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

Definition at line 141 of file iterator.h.

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

Definition at line 146 of file iterator.h.

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

Definition at line 69 of file iterator.h.

Friends And Related Function Documentation

friend class PcpPrimIndex
friend

Definition at line 152 of file iterator.h.


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