Orxonox  0.0.5 Codename: Arcturus
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::scoped_ptr< T > Class Template Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gtest/include/gtest/internal/gtest-port.h>

Public Types

typedef T element_type
 

Public Member Functions

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

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (scoped_ptr)
 

Private Attributes

T * ptr_
 

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)
inlineexplicit
template<typename T>
testing::internal::scoped_ptr< T >::~scoped_ptr ( )
inline

Member Function Documentation

template<typename T>
T* testing::internal::scoped_ptr< T >::get ( ) const
inline
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
template<typename T>
T* testing::internal::scoped_ptr< T >::operator-> ( ) const
inline
template<typename T>
T* testing::internal::scoped_ptr< T >::release ( )
inline
template<typename T>
void testing::internal::scoped_ptr< T >::reset ( T *  p = NULL)
inline

Member Data Documentation

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

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