#include <gtest.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_ |
typedef T testing::internal::scoped_ptr< T >::element_type |
testing::internal::scoped_ptr< T >::scoped_ptr | ( | T * | p = NULL | ) | [inline, explicit] |
testing::internal::scoped_ptr< T >::~scoped_ptr | ( | ) | [inline] |
T* testing::internal::scoped_ptr< T >::get | ( | ) | const [inline] |
testing::internal::scoped_ptr< T >::GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | scoped_ptr< T > | ) | [private] |
T& testing::internal::scoped_ptr< T >::operator* | ( | ) | const [inline] |
T* testing::internal::scoped_ptr< T >::operator-> | ( | ) | const [inline] |
T* testing::internal::scoped_ptr< T >::release | ( | ) | [inline] |
void testing::internal::scoped_ptr< T >::reset | ( | T * | p = NULL | ) | [inline] |
T* testing::internal::scoped_ptr< T >::ptr_ [private] |