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

#include <gtest-port.h>

List of all members.

Public Types

typedef T element_type

Public Member Functions

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

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (scoped_ptr)

Private Attributes

Tptr_

Friends

void swap (scoped_ptr &a, scoped_ptr &b)

Detailed Description

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

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


Member Typedef Documentation

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

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


Constructor & Destructor Documentation

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

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

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

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


Member Function Documentation

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

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

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 1154 of file gtest-port.h.

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

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

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

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

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

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


Friends And Related Function Documentation

template<typename T>
void swap ( scoped_ptr< T > &  a,
scoped_ptr< T > &  b 
) [friend]

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


Member Data Documentation

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

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


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12