Open CASCADE Technology  7.7.2
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

using OSD_Parallel::UniversalIterator::iterator_category = std::forward_iterator_tag
using OSD_Parallel::UniversalIterator::value_type = IteratorInterface*

Constructor & Destructor Documentation

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

Member Function Documentation

bool OSD_Parallel::UniversalIterator::operator!= ( const UniversalIterator theOther) const
inline
reference OSD_Parallel::UniversalIterator::operator* ( ) const
inline
reference OSD_Parallel::UniversalIterator::operator* ( )
inline
UniversalIterator& OSD_Parallel::UniversalIterator::operator++ ( )
inline
UniversalIterator OSD_Parallel::UniversalIterator::operator++ ( int  )
inline
UniversalIterator& OSD_Parallel::UniversalIterator::operator= ( const UniversalIterator theOther)
inline
bool OSD_Parallel::UniversalIterator::operator== ( const UniversalIterator theOther) const
inline

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