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 108 of file vtkSMPThreadLocal.h.

Member Function Documentation

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

Definition at line 111 of file vtkSMPThreadLocal.h.

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

Definition at line 131 of file vtkSMPThreadLocal.h.

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

Definition at line 138 of file vtkSMPThreadLocal.h.

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

Definition at line 143 of file vtkSMPThreadLocal.h.

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

Definition at line 148 of file vtkSMPThreadLocal.h.

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

Definition at line 153 of file vtkSMPThreadLocal.h.

Friends And Related Function Documentation

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

Definition at line 159 of file vtkSMPThreadLocal.h.


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