VTK
Public Member Functions | Friends | List of all members
vtkSMPThreadLocal< T >::iterator Class Reference

#include <vtkSMPThreadLocal.h>

Public Member Functions

iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (const iterator &other)
 
bool operator!= (const iterator &other)
 
T & operator* ()
 
T * operator-> ()
 

Friends

class vtkSMPThreadLocal< T >
 

Detailed Description

template<typename T>
class vtkSMPThreadLocal< T >::iterator

Subset of the standard iterator API. The most common design pattern is to use iterators in a sequential code block and to use only the thread local objects in parallel code blocks. It is thread safe to iterate over the thread local containers as long as each thread uses its own iterator and does not modify objects in the container.

Definition at line 110 of file vtkSMPThreadLocal.h.

Member Function Documentation

template<typename T>
iterator& vtkSMPThreadLocal< T >::iterator::operator++ ( )
inline

Definition at line 113 of file vtkSMPThreadLocal.h.

template<typename T>
iterator vtkSMPThreadLocal< T >::iterator::operator++ ( int  )
inline

Definition at line 133 of file vtkSMPThreadLocal.h.

template<typename T>
bool vtkSMPThreadLocal< T >::iterator::operator== ( const iterator other)
inline

Definition at line 140 of file vtkSMPThreadLocal.h.

template<typename T>
bool vtkSMPThreadLocal< T >::iterator::operator!= ( const iterator other)
inline

Definition at line 145 of file vtkSMPThreadLocal.h.

template<typename T>
T& vtkSMPThreadLocal< T >::iterator::operator* ( )
inline

Definition at line 150 of file vtkSMPThreadLocal.h.

template<typename T>
T* vtkSMPThreadLocal< T >::iterator::operator-> ( )
inline

Definition at line 155 of file vtkSMPThreadLocal.h.

Friends And Related Function Documentation

template<typename T>
friend class vtkSMPThreadLocal< T >
friend

Definition at line 161 of file vtkSMPThreadLocal.h.


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