VTK
Public Member Functions | Friends
vtkSMPThreadLocal< T >::iterator Class Reference

#include <vtkSMPThreadLocal.h>

List of all members.

Public Member Functions

iteratoroperator++ ()
bool operator!= (const iterator &other)
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 patter 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 97 of file vtkSMPThreadLocal.h.


Member Function Documentation

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

Definition at line 100 of file vtkSMPThreadLocal.h.

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

Definition at line 120 of file vtkSMPThreadLocal.h.

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

Definition at line 125 of file vtkSMPThreadLocal.h.


Friends And Related Function Documentation

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

Definition at line 131 of file vtkSMPThreadLocal.h.


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