QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
testing::internal::scoped_ptr< T > Class Template Reference

#include <gtest.h>

Public Types

typedef T element_type
 

Public Member Functions

 scoped_ptr (T *p=NULL)
 
 ~scoped_ptr ()
 
T & operator* () const
 
T * operator-> () const
 
T * get () const
 
T * release ()
 
void reset (T *p=NULL)
 

Detailed Description

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

Definition at line 1997 of file gtest.h.

Member Typedef Documentation

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

Definition at line 1999 of file gtest.h.

Constructor & Destructor Documentation

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

Definition at line 2001 of file gtest.h.

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

Definition at line 2002 of file gtest.h.

Member Function Documentation

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

Definition at line 2006 of file gtest.h.

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

Definition at line 2004 of file gtest.h.

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

Definition at line 2005 of file gtest.h.

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

Definition at line 2008 of file gtest.h.

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

Definition at line 2014 of file gtest.h.


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