Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
testing::internal::ThreadLocal< T > Class Template Reference

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

Constructor & Destructor Documentation

◆ ThreadLocal() [1/2]

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

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

◆ ThreadLocal() [2/2]

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

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

Member Function Documentation

◆ pointer() [1/2]

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

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

◆ pointer() [2/2]

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

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

◆ get()

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

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

◆ set()

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

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

Member Data Documentation

◆ value_

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

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


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