DummyThreadLocal< T > Class Template Reference

Internal threadlocal implementation without threads. More...

#include <dummythreadlocal.h>

List of all members.

Public Member Functions

DummyThreadLocaloperator= (T *v)
 Assignment operator which makes this object look like a pointer.
T & operator * ()
 Dereferencing operator which makes this object look like a pointer.
T & operator * () const
 Constant dereferencing operator which makes this object look like a pointer.


Detailed Description

template<class T>
class DummyThreadLocal< T >

Internal threadlocal implementation without threads.

This sounds silly, but is needed to support the multithreaded version.


Member Function Documentation

template<class T>
DummyThreadLocal& DummyThreadLocal< T >::operator= ( T *  v  )  [inline]

Assignment operator which makes this object look like a pointer.

Parameters:
v is the pointer to be stored
Returns:
*this

template<class T>
T& DummyThreadLocal< T >::operator * (  )  [inline]

Dereferencing operator which makes this object look like a pointer.

Returns:
a reference to the stored pointer

template<class T>
T& DummyThreadLocal< T >::operator * (  )  const [inline]

Constant dereferencing operator which makes this object look like a pointer.

Returns:
a reference to the stored pointer


The documentation for this class was generated from the following file:
Generated on Sat Feb 7 01:26:51 2009 by  doxygen 1.5.1