Qucs-core  0.0.19
Public Types | Public Member Functions | Private Member Functions | Private Attributes
testing::internal::scoped_ptr< T > Class Template Reference

#include <gtest.h>

Inheritance diagram for testing::internal::scoped_ptr< T >:
Inheritance graph
[legend]
Collaboration diagram for testing::internal::scoped_ptr< T >:
Collaboration graph
[legend]

Public Types

typedef T element_type
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)
 scoped_ptr (T *p=NULL)
 ~scoped_ptr ()
T & operator* () const
T * operator-> () const
T * get () const
T * release ()
void reset (T *p=NULL)

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (scoped_ptr)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (scoped_ptr)

Private Attributes

T * ptr_

Detailed Description

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

Definition at line 1997 of file fused-src/gtest/gtest.h.


Member Typedef Documentation

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

Definition at line 892 of file gtest-port.h.

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

Definition at line 1999 of file fused-src/gtest/gtest.h.


Constructor & Destructor Documentation

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

Definition at line 2001 of file fused-src/gtest/gtest.h.

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

Definition at line 2002 of file fused-src/gtest/gtest.h.

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

Definition at line 894 of file gtest-port.h.

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

Definition at line 895 of file gtest-port.h.


Member Function Documentation

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

Definition at line 899 of file gtest-port.h.

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

Definition at line 2006 of file fused-src/gtest/gtest.h.

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

Definition at line 897 of file gtest-port.h.

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

Definition at line 2004 of file fused-src/gtest/gtest.h.

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

Definition at line 898 of file gtest-port.h.

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

Definition at line 2005 of file fused-src/gtest/gtest.h.

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

Definition at line 901 of file gtest-port.h.

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

Definition at line 2008 of file fused-src/gtest/gtest.h.

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

Definition at line 907 of file gtest-port.h.

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

Definition at line 2014 of file fused-src/gtest/gtest.h.


Field Documentation

template<typename T>
T * testing::internal::scoped_ptr< T >::ptr_ [private]

Definition at line 2024 of file fused-src/gtest/gtest.h.


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