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

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

#include <IRhRdkCustomRenderMeshes.h>

Public Types

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

Public Member Functions

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

Public Attributes

size_t m_index
 
const class CRenderMeshes * m_rp
 

Friends

ConstantIterator operator+ (size_t, const ConstantIterator &)
 

Detailed Description

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

Member Typedef Documentation

◆ difference_type

◆ iterator_category

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ ConstantIterator() [1/3]

RhRdk::CustomRenderMeshes::IRenderMeshes::ConstantIterator::ConstantIterator ( const class CRenderMeshes &  ,
size_t   
)

◆ ConstantIterator() [2/3]

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

◆ ConstantIterator() [3/3]

RhRdk::CustomRenderMeshes::IRenderMeshes::ConstantIterator::ConstantIterator ( const ConstantIterator )

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator+()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

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

◆ operator->()

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

◆ operator<()

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

◆ operator<=()

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

◆ operator=()

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

◆ operator==()

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

◆ operator>()

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

◆ operator>=()

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

◆ operator[]()

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

Friends And Related Function Documentation

◆ operator+

ConstantIterator operator+ ( size_t  ,
const ConstantIterator  
)
friend

Member Data Documentation

◆ m_index

size_t RhRdk::CustomRenderMeshes::IRenderMeshes::ConstantIterator::m_index
mutable

◆ m_rp

const class CRenderMeshes* RhRdk::CustomRenderMeshes::IRenderMeshes::ConstantIterator::m_rp