Wire Sysio Wire Sysion 1.0.0
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)
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ ThreadLocal() [1/2]

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

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

2287: value_() {}

◆ ThreadLocal() [2/2]

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

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

2288: value_(value) {}
#define value
Definition pkcs11.h:157

Member Function Documentation

◆ get()

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

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

2291{ return value_; }
Here is the caller graph for this function:

◆ pointer() [1/2]

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

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

2289{ return &value_; }
Here is the caller graph for this function:

◆ pointer() [2/2]

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

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

2290{ return &value_; }

◆ set()

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

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

2292{ value_ = value; }
Here is the caller graph for this function:

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