#include <gtest-port.h>
Public Types | |
typedef T | element_type |
Public Member Functions | |
T * | get () const |
T & | operator* () const |
T * | operator-> () const |
T * | release () |
void | reset (T *p=NULL) |
scoped_ptr (T *p=NULL) | |
~scoped_ptr () | |
Private Member Functions | |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (scoped_ptr) | |
Private Attributes | |
T * | ptr_ |
Definition at line 774 of file gtest-port.h.
typedef T testing::internal::scoped_ptr< T >::element_type |
Definition at line 776 of file gtest-port.h.
testing::internal::scoped_ptr< T >::scoped_ptr | ( | T * | p = NULL | ) | [inline, explicit] |
Definition at line 778 of file gtest-port.h.
testing::internal::scoped_ptr< T >::~scoped_ptr | ( | ) | [inline] |
Definition at line 779 of file gtest-port.h.
T* testing::internal::scoped_ptr< T >::get | ( | ) | const [inline] |
Definition at line 783 of file gtest-port.h.
testing::internal::scoped_ptr< T >::GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | scoped_ptr< T > | ) | [private] |
T& testing::internal::scoped_ptr< T >::operator* | ( | ) | const [inline] |
Definition at line 781 of file gtest-port.h.
T* testing::internal::scoped_ptr< T >::operator-> | ( | ) | const [inline] |
Definition at line 782 of file gtest-port.h.
T* testing::internal::scoped_ptr< T >::release | ( | ) | [inline] |
Definition at line 785 of file gtest-port.h.
void testing::internal::scoped_ptr< T >::reset | ( | T * | p = NULL | ) | [inline] |
Definition at line 791 of file gtest-port.h.
T* testing::internal::scoped_ptr< T >::ptr_ [private] |
Definition at line 800 of file gtest-port.h.