webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
testing::internal::scoped_ptr< T > Class Template Reference

#include <gtest-port.h>

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)
 

Member Typedef Documentation

◆ element_type

Constructor & Destructor Documentation

◆ scoped_ptr()

template<typename T>
testing::internal::scoped_ptr< T >::scoped_ptr ( T p = NULL)
inlineexplicit

◆ ~scoped_ptr()

template<typename T>
testing::internal::scoped_ptr< T >::~scoped_ptr ( )
inline

Member Function Documentation

◆ get()

template<typename T>
T* testing::internal::scoped_ptr< T >::get ( ) const
inline

◆ operator*()

template<typename T>
T& testing::internal::scoped_ptr< T >::operator* ( ) const
inline

◆ operator->()

template<typename T>
T* testing::internal::scoped_ptr< T >::operator-> ( ) const
inline

◆ release()

template<typename T>
T* testing::internal::scoped_ptr< T >::release ( )
inline

◆ reset()

template<typename T>
void testing::internal::scoped_ptr< T >::reset ( T p = NULL)
inline

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