Open CASCADE Technology  7.7.0.dev
Public Types | Public Member Functions

OSD_Parallel::UniversalIterator Class Reference

Fixed-type iterator, implementing STL forward iterator interface, used for iteration over objects subject to parallel processing. It stores pointer to instance of polymorphic iterator inheriting from IteratorInterface, which contains actual type-specific iterator. More...

#include <OSD_Parallel.hxx>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = IteratorInterface *
 
using difference_type = ptrdiff_t
 
using pointer = value_type
 
using reference = value_type
 

Public Member Functions

 UniversalIterator ()
 
 UniversalIterator (IteratorInterface *theOther)
 
 UniversalIterator (const UniversalIterator &theOther)
 
UniversalIteratoroperator= (const UniversalIterator &theOther)
 
bool operator!= (const UniversalIterator &theOther) const
 
bool operator== (const UniversalIterator &theOther) const
 
UniversalIteratoroperator++ ()
 
UniversalIterator operator++ (int)
 
reference operator* () const
 
reference operator* ()
 

Detailed Description

Fixed-type iterator, implementing STL forward iterator interface, used for iteration over objects subject to parallel processing. It stores pointer to instance of polymorphic iterator inheriting from IteratorInterface, which contains actual type-specific iterator.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using OSD_Parallel::UniversalIterator::iterator_category = std::forward_iterator_tag

◆ pointer

◆ reference

◆ value_type

using OSD_Parallel::UniversalIterator::value_type = IteratorInterface*

Constructor & Destructor Documentation

◆ UniversalIterator() [1/3]

OSD_Parallel::UniversalIterator::UniversalIterator ( )
inline

◆ UniversalIterator() [2/3]

OSD_Parallel::UniversalIterator::UniversalIterator ( IteratorInterface *  theOther)
inline

◆ UniversalIterator() [3/3]

OSD_Parallel::UniversalIterator::UniversalIterator ( const UniversalIterator theOther)
inline

Member Function Documentation

◆ operator!=()

bool OSD_Parallel::UniversalIterator::operator!= ( const UniversalIterator theOther) const
inline

◆ operator*() [1/2]

reference OSD_Parallel::UniversalIterator::operator* ( )
inline

◆ operator*() [2/2]

reference OSD_Parallel::UniversalIterator::operator* ( ) const
inline

◆ operator++() [1/2]

UniversalIterator& OSD_Parallel::UniversalIterator::operator++ ( )
inline

◆ operator++() [2/2]

UniversalIterator OSD_Parallel::UniversalIterator::operator++ ( int  )
inline

◆ operator=()

UniversalIterator& OSD_Parallel::UniversalIterator::operator= ( const UniversalIterator theOther)
inline

◆ operator==()

bool OSD_Parallel::UniversalIterator::operator== ( const UniversalIterator theOther) const
inline

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