Public Member Functions | Private Attributes | List of all members
testing::internal::ThreadLocal< T > Class Template Reference

#include <gtest.h>

Public Member Functions

const T & get () const
 
T * pointer ()
 
const T * pointer () const
 
void set (const T &value)
 
 ThreadLocal ()
 
 ThreadLocal (const T &value)
 

Private Attributes

value_
 

Detailed Description

template<typename T>
class testing::internal::ThreadLocal< T >

Definition at line 2673 of file gtest.h.

Constructor & Destructor Documentation

template<typename T>
testing::internal::ThreadLocal< T >::ThreadLocal ( )
inline

Definition at line 2675 of file gtest.h.

template<typename T>
testing::internal::ThreadLocal< T >::ThreadLocal ( const T &  value)
inlineexplicit

Definition at line 2676 of file gtest.h.

Member Function Documentation

template<typename T>
const T& testing::internal::ThreadLocal< T >::get ( ) const
inline

Definition at line 2679 of file gtest.h.

template<typename T>
T* testing::internal::ThreadLocal< T >::pointer ( )
inline

Definition at line 2677 of file gtest.h.

template<typename T>
const T* testing::internal::ThreadLocal< T >::pointer ( ) const
inline

Definition at line 2678 of file gtest.h.

template<typename T>
void testing::internal::ThreadLocal< T >::set ( const T &  value)
inline

Definition at line 2680 of file gtest.h.

Member Data Documentation

template<typename T>
T testing::internal::ThreadLocal< T >::value_
private

Definition at line 2682 of file gtest.h.


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


self_test
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs and Blaise Gassend
autogenerated on Thu Oct 8 2020 03:21:46