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

#include <vtkCollectionRange.h>

Inherits std::iterator< std::forward_iterator_tag, GetCollectionItemType< CollectionType >::Type *, int, GetCollectionItemType< CollectionType >::Type *, GetCollectionItemType< CollectionType >::Type * >.

Public Types

using iterator_category = typename Superclass::iterator_category
 
using value_type = typename Superclass::value_type
 
using difference_type = typename Superclass::difference_type
 
using pointer = typename Superclass::pointer
 
using reference = typename Superclass::reference
 

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 102 of file vtkCollectionRange.h.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 115 of file vtkCollectionRange.h.

◆ value_type

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::value_type = typename Superclass::value_type

Definition at line 116 of file vtkCollectionRange.h.

◆ difference_type

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

Definition at line 117 of file vtkCollectionRange.h.

◆ pointer

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::pointer = typename Superclass::pointer

Definition at line 118 of file vtkCollectionRange.h.

◆ reference

template<typename CollectionType >
using vtk::detail::CollectionIterator< CollectionType >::reference = typename Superclass::reference

Definition at line 119 of file vtkCollectionRange.h.

Constructor & Destructor Documentation

◆ CollectionIterator() [1/3]

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

Definition at line 121 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 165 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 129 of file vtkCollectionRange.h.

◆ operator++() [2/2]

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

Definition at line 135 of file vtkCollectionRange.h.

◆ operator*()

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

Definition at line 142 of file vtkCollectionRange.h.

◆ operator->()

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

Definition at line 144 of file vtkCollectionRange.h.

Friends And Related Function Documentation

◆ CollectionRange< CollectionType >

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

Definition at line 156 of file vtkCollectionRange.h.

◆ operator==

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

Definition at line 146 of file vtkCollectionRange.h.

◆ operator!=

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

Definition at line 151 of file vtkCollectionRange.h.

◆ swap

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

Definition at line 156 of file vtkCollectionRange.h.


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