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

#include <gtest.h>

Public Member Functions

 ThreadLocal ()
 
 ThreadLocal (const T &value)
 
Tpointer ()
 
const Tpointer () const
 
const Tget () const
 
void set (const T &value)
 

Private Attributes

T value_
 

Detailed Description

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

Definition at line 2673 of file gtest.h.

Constructor & Destructor Documentation

◆ ThreadLocal() [1/2]

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

Definition at line 2675 of file gtest.h.

◆ ThreadLocal() [2/2]

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

Definition at line 2676 of file gtest.h.

Member Function Documentation

◆ get()

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

Definition at line 2679 of file gtest.h.

◆ pointer() [1/2]

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

Definition at line 2677 of file gtest.h.

◆ pointer() [2/2]

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

Definition at line 2678 of file gtest.h.

◆ set()

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

Definition at line 2680 of file gtest.h.

Member Data Documentation

◆ value_

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: