Assimp  v3.1.1 (June 2014)
testing::internal::scoped_ptr< T > Class Template Reference

Public Types

typedef T element_type
 

Public Member Functions

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

Friends

void swap (scoped_ptr &a, scoped_ptr &b)
 

Member Typedef Documentation

◆ element_type

template<typename T>
typedef T testing::internal::scoped_ptr< T >::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

Friends And Related Function Documentation

◆ swap

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

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