QThreadStorage< T > Class Template Reference

QThreadStorage< T > Class Template Reference

#include <qthreadstorage.h>

Class Description

template<class T>
class QThreadStorage< T >

Definition at line 132 of file qthreadstorage.h.

Public Member Functions

 QThreadStorage ()
 
 ~QThreadStorage ()
 
bool hasLocalData () const
 
T & localData ()
 
localData () const
 
void setLocalData (T t)
 

Constructor & Destructor Documentation

QThreadStorage ( )
inline

Definition at line 143 of file qthreadstorage.h.

143 : d(deleteData) { }
~QThreadStorage ( )
inline

Definition at line 144 of file qthreadstorage.h.

144 { }

Member Function Documentation

bool hasLocalData ( ) const
inline

Definition at line 146 of file qthreadstorage.h.

147  { return d.get() != 0; }
void ** get() const
T& localData ( )
inline

Definition at line 149 of file qthreadstorage.h.

150  { return qThreadStorage_localData(d, reinterpret_cast<T*>(0)); }
T *& qThreadStorage_localData(QThreadStorageData &d, T **)
T localData ( ) const
inline

Definition at line 151 of file qthreadstorage.h.

152  { return qThreadStorage_localData_const(d, reinterpret_cast<T*>(0)); }
T * qThreadStorage_localData_const(const QThreadStorageData &d, T **)
void setLocalData ( t)
inline

Definition at line 154 of file qthreadstorage.h.

void qThreadStorage_setLocalData(QThreadStorageData &d, T **t)
GLdouble GLdouble t
Definition: GLee.h:1181

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