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 1569 of file gtest-port.h.

Constructor & Destructor Documentation

◆ ThreadLocal() [1/2]

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

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

◆ ThreadLocal() [2/2]

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

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

Member Function Documentation

◆ get()

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

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

◆ pointer() [1/2]

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

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

◆ pointer() [2/2]

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

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

◆ set()

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

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

Member Data Documentation

◆ value_

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

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


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


fcl
Author(s):
autogenerated on Fri Jun 11 2021 02:38:06