Public Types | Public Member Functions
testing::internal::scoped_ptr< T > Class Template Reference

#include <ts_gtest.h>

List of all members.

Public Types

typedef T element_type

Public Member Functions

 scoped_ptr (T *p=NULL)
 ~scoped_ptr ()
Toperator* () const
Toperator-> () const
Tget () const
Trelease ()
void reset (T *p=NULL)

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


Member Typedef Documentation

template<typename T>
typedef T testing::internal::scoped_ptr< T >::element_type

Constructor & Destructor Documentation

template<typename T>
testing::internal::scoped_ptr< T >::scoped_ptr ( T p = NULL) [explicit]
template<typename T>
testing::internal::scoped_ptr< T >::~scoped_ptr ( )

Member Function Documentation

template<typename T>
T& testing::internal::scoped_ptr< T >::operator* ( ) const
template<typename T>
T* testing::internal::scoped_ptr< T >::operator-> ( ) const
template<typename T>
T* testing::internal::scoped_ptr< T >::get ( ) const
template<typename T>
T* testing::internal::scoped_ptr< T >::release ( )
template<typename T>
void testing::internal::scoped_ptr< T >::reset ( T p = NULL)

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