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

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

Public Types

typedef T element_type
 

Public Member Functions

 linked_ptr (T *ptr=NULL)
 
template<typename U >
 linked_ptr (linked_ptr< U > const &ptr)
 
 linked_ptr (linked_ptr const &ptr)
 
 ~linked_ptr ()
 
T * get () const
 
bool operator!= (T *p) const
 
template<typename U >
bool operator!= (linked_ptr< U > const &ptr) const
 
T & operator* () const
 
T * operator-> () const
 
template<typename U >
linked_ptroperator= (linked_ptr< U > const &ptr)
 
linked_ptroperator= (linked_ptr const &ptr)
 
bool operator== (T *p) const
 
template<typename U >
bool operator== (linked_ptr< U > const &ptr) const
 
void reset (T *ptr=NULL)
 

Private Member Functions

void capture (T *ptr)
 
template<typename U >
void copy (linked_ptr< U > const *ptr)
 
void depart ()
 

Private Attributes

linked_ptr_internal link_
 
T * value_
 

Friends

template<typename U >
class linked_ptr
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename T>
testing::internal::linked_ptr< T >::linked_ptr ( T *  ptr = NULL)
inlineexplicit
template<typename T>
testing::internal::linked_ptr< T >::~linked_ptr ( )
inline
template<typename T>
template<typename U >
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< U > const &  ptr)
inline
template<typename T>
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< T > const &  ptr)
inline

Member Function Documentation

template<typename T>
void testing::internal::linked_ptr< T >::capture ( T *  ptr)
inlineprivate
template<typename T>
template<typename U >
void testing::internal::linked_ptr< T >::copy ( linked_ptr< U > const *  ptr)
inlineprivate
template<typename T>
void testing::internal::linked_ptr< T >::depart ( )
inlineprivate
template<typename T>
T* testing::internal::linked_ptr< T >::get ( ) const
inline
template<typename T>
bool testing::internal::linked_ptr< T >::operator!= ( T *  p) const
inline
template<typename T>
template<typename U >
bool testing::internal::linked_ptr< T >::operator!= ( linked_ptr< U > const &  ptr) const
inline
template<typename T>
T& testing::internal::linked_ptr< T >::operator* ( ) const
inline
template<typename T>
T* testing::internal::linked_ptr< T >::operator-> ( ) const
inline
template<typename T>
template<typename U >
linked_ptr& testing::internal::linked_ptr< T >::operator= ( linked_ptr< U > const &  ptr)
inline
template<typename T>
linked_ptr& testing::internal::linked_ptr< T >::operator= ( linked_ptr< T > const &  ptr)
inline
template<typename T>
bool testing::internal::linked_ptr< T >::operator== ( T *  p) const
inline
template<typename T>
template<typename U >
bool testing::internal::linked_ptr< T >::operator== ( linked_ptr< U > const &  ptr) const
inline
template<typename T>
void testing::internal::linked_ptr< T >::reset ( T *  ptr = NULL)
inline

Friends And Related Function Documentation

template<typename T>
template<typename U >
friend class linked_ptr
friend

Member Data Documentation

template<typename T>
linked_ptr_internal testing::internal::linked_ptr< T >::link_
private
template<typename T>
T* testing::internal::linked_ptr< T >::value_
private

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