#include <gtest-linked_ptr.h>
Public Types | |
| typedef T | element_type |
Public Member Functions | |
| T * | get () const |
| linked_ptr (T *ptr=NULL) | |
| template<typename U > | |
| linked_ptr (linked_ptr< U > const &ptr) | |
| linked_ptr (linked_ptr const &ptr) | |
| bool | operator!= (T *p) const |
| template<typename U > | |
| bool | operator!= (linked_ptr< U > const &ptr) const |
| T & | operator* () const |
| T * | operator-> () const |
| template<typename U > | |
| linked_ptr & | operator= (linked_ptr< U > const &ptr) |
| linked_ptr & | operator= (linked_ptr const &ptr) |
| bool | operator== (T *p) const |
| template<typename U > | |
| bool | operator== (linked_ptr< U > const &ptr) const |
| void | reset (T *ptr=NULL) |
| ~linked_ptr () | |
Private Member Functions | |
| void | capture (T *ptr) |
| template<typename U > | |
| void | copy (linked_ptr< U > const *ptr) |
| void | depart () |
Private Attributes | |
| linked_ptr_internal | link_ |
| T * | value_ |
Friends | |
| class | linked_ptr |
Definition at line 146 of file gtest-linked_ptr.h.
| typedef T testing::internal::linked_ptr< T >::element_type |
Definition at line 148 of file gtest-linked_ptr.h.
| testing::internal::linked_ptr< T >::linked_ptr | ( | T * | ptr = NULL | ) | [inline, explicit] |
Definition at line 152 of file gtest-linked_ptr.h.
| testing::internal::linked_ptr< T >::~linked_ptr | ( | ) | [inline] |
Definition at line 153 of file gtest-linked_ptr.h.
| testing::internal::linked_ptr< T >::linked_ptr | ( | linked_ptr< U > const & | ptr | ) | [inline] |
Definition at line 156 of file gtest-linked_ptr.h.
| testing::internal::linked_ptr< T >::linked_ptr | ( | linked_ptr< T > const & | ptr | ) | [inline] |
Definition at line 157 of file gtest-linked_ptr.h.
| void testing::internal::linked_ptr< T >::capture | ( | T * | ptr | ) | [inline, private] |
Definition at line 208 of file gtest-linked_ptr.h.
| void testing::internal::linked_ptr< T >::copy | ( | linked_ptr< U > const * | ptr | ) | [inline, private] |
Definition at line 213 of file gtest-linked_ptr.h.
| void testing::internal::linked_ptr< T >::depart | ( | ) | [inline, private] |
Definition at line 204 of file gtest-linked_ptr.h.
| T* testing::internal::linked_ptr< T >::get | ( | ) | const [inline] |
Definition at line 182 of file gtest-linked_ptr.h.
| bool testing::internal::linked_ptr< T >::operator!= | ( | T * | p | ) | const [inline] |
Definition at line 187 of file gtest-linked_ptr.h.
| bool testing::internal::linked_ptr< T >::operator!= | ( | linked_ptr< U > const & | ptr | ) | const [inline] |
Definition at line 193 of file gtest-linked_ptr.h.
| T& testing::internal::linked_ptr< T >::operator* | ( | ) | const [inline] |
Definition at line 184 of file gtest-linked_ptr.h.
| T* testing::internal::linked_ptr< T >::operator-> | ( | ) | const [inline] |
Definition at line 183 of file gtest-linked_ptr.h.
| linked_ptr& testing::internal::linked_ptr< T >::operator= | ( | linked_ptr< U > const & | ptr | ) | [inline] |
Definition at line 163 of file gtest-linked_ptr.h.
| linked_ptr& testing::internal::linked_ptr< T >::operator= | ( | linked_ptr< T > const & | ptr | ) | [inline] |
Definition at line 169 of file gtest-linked_ptr.h.
| bool testing::internal::linked_ptr< T >::operator== | ( | T * | p | ) | const [inline] |
Definition at line 186 of file gtest-linked_ptr.h.
| bool testing::internal::linked_ptr< T >::operator== | ( | linked_ptr< U > const & | ptr | ) | const [inline] |
Definition at line 189 of file gtest-linked_ptr.h.
| void testing::internal::linked_ptr< T >::reset | ( | T * | ptr = NULL | ) | [inline] |
Definition at line 178 of file gtest-linked_ptr.h.
friend class linked_ptr [friend] |
Definition at line 199 of file gtest-linked_ptr.h.
linked_ptr_internal testing::internal::linked_ptr< T >::link_ [private] |
Definition at line 202 of file gtest-linked_ptr.h.
T* testing::internal::linked_ptr< T >::value_ [private] |
Definition at line 201 of file gtest-linked_ptr.h.