Rhino C++ API  8.9
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator Struct Reference

STL style iterator for iterating over the render primitives collection. More...

#include <IRhRdkCustomRenderMeshes.h>

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = std::shared_ptr< IInstance > *
 
using reference = std::shared_ptr< IInstance > &
 
using value_type = std::shared_ptr< IInstance >
 

Public Member Functions

 Iterator (class CRenderMeshes &rp, size_t index)
 
 Iterator (const Iterator &)
 
bool operator!= (const Iterator &b)
 
reference operator* () const
 
Iterator operator+ (size_t) const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator+= (size_t)
 
difference_type operator- (Iterator) const
 
Iterator operator- (size_t) const
 
Iteratoroperator-- ()
 
Iterator operator-- (int)
 
Iteratoroperator-= (size_t)
 
pointer operator-> () const
 
bool operator< (const Iterator &) const
 
bool operator<= (const Iterator &) const
 
Iteratoroperator= (const Iterator &)
 
bool operator== (const Iterator &b)
 
bool operator> (const Iterator &) const
 
bool operator>= (const Iterator &) const
 
reference operator[] (size_t) const
 

Public Attributes

size_t m_index
 
class CRenderMeshes * m_rp
 

Friends

Iterator operator+ (size_t, const Iterator &)
 

Detailed Description

STL style iterator for iterating over the render primitives collection.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ Iterator() [1/2]

RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::Iterator ( class CRenderMeshes &  rp,
size_t  index 
)

◆ Iterator() [2/2]

RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::Iterator ( const Iterator )

Member Function Documentation

◆ operator!=()

bool RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator!= ( const Iterator b)

◆ operator*()

reference RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator* ( ) const

◆ operator+()

Iterator RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator+ ( size_t  ) const

◆ operator++() [1/2]

Iterator& RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator++ ( )

◆ operator++() [2/2]

Iterator RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator++ ( int  )

◆ operator+=()

Iterator& RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator+= ( size_t  )

◆ operator-() [1/2]

difference_type RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator- ( Iterator  ) const

◆ operator-() [2/2]

Iterator RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator- ( size_t  ) const

◆ operator--() [1/2]

Iterator& RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator-- ( )

◆ operator--() [2/2]

Iterator RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator-- ( int  )

◆ operator-=()

Iterator& RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator-= ( size_t  )

◆ operator->()

pointer RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator-> ( ) const

◆ operator<()

bool RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator< ( const Iterator ) const

◆ operator<=()

bool RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator<= ( const Iterator ) const

◆ operator=()

Iterator& RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator= ( const Iterator )

◆ operator==()

bool RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator== ( const Iterator b)

◆ operator>()

bool RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator> ( const Iterator ) const

◆ operator>=()

bool RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator>= ( const Iterator ) const

◆ operator[]()

reference RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::operator[] ( size_t  ) const

Friends And Related Function Documentation

◆ operator+

Iterator operator+ ( size_t  ,
const Iterator  
)
friend

Member Data Documentation

◆ m_index

size_t RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::m_index
mutable

◆ m_rp

class CRenderMeshes* RhRdk::CustomRenderMeshes::IRenderMeshes::Iterator::m_rp