Public Types | Public Member Functions | Friends
testing::internal::linked_ptr< T > Class Template Reference

#include <ts_gtest.h>

List of all members.

Public Types

typedef T element_type

Public Member Functions

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

Friends

class linked_ptr

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


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) [explicit]
template<typename T>
testing::internal::linked_ptr< T >::~linked_ptr ( )
template<typename T>
template<typename U >
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< U > const &  ptr)
template<typename T>
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< T > const &  ptr)

Member Function Documentation

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

Friends And Related Function Documentation

template<typename T>
friend class linked_ptr [friend]

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