VTK  9.3.20240329
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
vtk::detail::CollectionIterator< CollectionType > Struct Template Reference

#include <vtkCollectionRange.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = typename GetCollectionItemType< CollectionType >::Type *
 
using difference_type = int
 
using pointer = typename GetCollectionItemType< CollectionType >::Type *
 
using reference = typename GetCollectionItemType< CollectionType >::Type *
 

Public Member Functions

 CollectionIterator () noexcept
 
 CollectionIterator (const CollectionIterator &o) noexcept=default
 
CollectionIteratoroperator= (const CollectionIterator &o) noexcept=default
 
CollectionIteratoroperator++ () noexcept
 
CollectionIterator operator++ (int) noexcept
 
reference operator* () const noexcept
 
pointer operator-> () const noexcept
 

Protected Member Functions

 CollectionIterator (vtkCollectionElement *element) noexcept
 

Friends

struct CollectionRange< CollectionType >
 
bool operator== (const CollectionIterator &lhs, const CollectionIterator &rhs) noexcept
 
bool operator!= (const CollectionIterator &lhs, const CollectionIterator &rhs) noexcept
 
void swap (CollectionIterator &lhs, CollectionIterator &rhs) noexcept
 

Detailed Description

template<typename CollectionType>
struct vtk::detail::CollectionIterator< CollectionType >

Definition at line 89 of file vtkCollectionRange.h.

Member Typedef Documentation

◆ iterator_category

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::iterator_category = std::forward_iterator_tag

Definition at line 97 of file vtkCollectionRange.h.

◆ value_type

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::value_type = typename GetCollectionItemType<CollectionType>::Type*

Definition at line 98 of file vtkCollectionRange.h.

◆ difference_type

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::difference_type = int

Definition at line 99 of file vtkCollectionRange.h.

◆ pointer

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::pointer = typename GetCollectionItemType<CollectionType>::Type*

Definition at line 100 of file vtkCollectionRange.h.

◆ reference

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::reference = typename GetCollectionItemType<CollectionType>::Type*

Definition at line 101 of file vtkCollectionRange.h.

Constructor & Destructor Documentation

◆ CollectionIterator() [1/3]

template<typename CollectionType >
vtk::detail::CollectionIterator< CollectionType >::CollectionIterator ( )
inlinenoexcept

Definition at line 103 of file vtkCollectionRange.h.

◆ CollectionIterator() [2/3]

template<typename CollectionType >
vtk::detail::CollectionIterator< CollectionType >::CollectionIterator ( const CollectionIterator< CollectionType > &  o)
defaultnoexcept

◆ CollectionIterator() [3/3]

template<typename CollectionType >
vtk::detail::CollectionIterator< CollectionType >::CollectionIterator ( vtkCollectionElement element)
inlineprotectednoexcept

Definition at line 147 of file vtkCollectionRange.h.

Member Function Documentation

◆ operator=()

template<typename CollectionType >
CollectionIterator& vtk::detail::CollectionIterator< CollectionType >::operator= ( const CollectionIterator< CollectionType > &  o)
defaultnoexcept

◆ operator++() [1/2]

template<typename CollectionType >
CollectionIterator& vtk::detail::CollectionIterator< CollectionType >::operator++ ( )
inlinenoexcept

Definition at line 111 of file vtkCollectionRange.h.

◆ operator++() [2/2]

template<typename CollectionType >
CollectionIterator vtk::detail::CollectionIterator< CollectionType >::operator++ ( int  )
inlinenoexcept

Definition at line 117 of file vtkCollectionRange.h.

◆ operator*()

template<typename CollectionType >
reference vtk::detail::CollectionIterator< CollectionType >::operator* ( ) const
inlinenoexcept

Definition at line 124 of file vtkCollectionRange.h.

◆ operator->()

template<typename CollectionType >
pointer vtk::detail::CollectionIterator< CollectionType >::operator-> ( ) const
inlinenoexcept

Definition at line 126 of file vtkCollectionRange.h.

Friends And Related Function Documentation

◆ CollectionRange< CollectionType >

template<typename CollectionType >
friend struct CollectionRange< CollectionType >
friend

Definition at line 138 of file vtkCollectionRange.h.

◆ operator==

template<typename CollectionType >
bool operator== ( const CollectionIterator< CollectionType > &  lhs,
const CollectionIterator< CollectionType > &  rhs 
)
friend

Definition at line 128 of file vtkCollectionRange.h.

◆ operator!=

template<typename CollectionType >
bool operator!= ( const CollectionIterator< CollectionType > &  lhs,
const CollectionIterator< CollectionType > &  rhs 
)
friend

Definition at line 133 of file vtkCollectionRange.h.

◆ swap

template<typename CollectionType >
void swap ( CollectionIterator< CollectionType > &  lhs,
CollectionIterator< CollectionType > &  rhs 
)
friend

Definition at line 138 of file vtkCollectionRange.h.


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