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

#include <gtest-port.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 2104 of file gtest-port.h.

Constructor & Destructor Documentation

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

Definition at line 2106 of file gtest-port.h.

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

Definition at line 2107 of file gtest-port.h.

Member Function Documentation

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

Definition at line 2110 of file gtest-port.h.

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

Definition at line 2108 of file gtest-port.h.

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

Definition at line 2109 of file gtest-port.h.

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

Definition at line 2111 of file gtest-port.h.

Member Data Documentation

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

Definition at line 2113 of file gtest-port.h.


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


rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:18