Qucs-core  0.0.19
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
testing::internal::linked_ptr< T > Class Template Reference

#include <gtest.h>

Inheritance diagram for testing::internal::linked_ptr< T >:
Inheritance graph
[legend]
Collaboration diagram for testing::internal::linked_ptr< T >:
Collaboration graph
[legend]

Public Types

typedef T element_type
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)
T * get () const
T * operator-> () const
T & operator* () 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
 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)
T * get () const
T * operator-> () const
T & operator* () 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

Private Member Functions

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

Private Attributes

T * value_
linked_ptr_internal link_

Friends

class linked_ptr

Detailed Description

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

Definition at line 9096 of file fused-src/gtest/gtest.h.


Member Typedef Documentation

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

Definition at line 138 of file gtest-linked_ptr.h.

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

Definition at line 9098 of file fused-src/gtest/gtest.h.


Constructor & Destructor Documentation

template<typename T>
testing::internal::linked_ptr< T >::linked_ptr ( T *  ptr = NULL) [inline, explicit]

Definition at line 9102 of file fused-src/gtest/gtest.h.

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

Definition at line 9103 of file fused-src/gtest/gtest.h.

template<typename T>
template<typename U >
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< U > const &  ptr) [inline]

Definition at line 9106 of file fused-src/gtest/gtest.h.

template<typename T>
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< T > const &  ptr) [inline]

Definition at line 9107 of file fused-src/gtest/gtest.h.

template<typename T>
testing::internal::linked_ptr< T >::linked_ptr ( T *  ptr = NULL) [inline, explicit]

Definition at line 142 of file gtest-linked_ptr.h.

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

Definition at line 143 of file gtest-linked_ptr.h.

template<typename T>
template<typename U >
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< U > const &  ptr) [inline]

Definition at line 146 of file gtest-linked_ptr.h.

template<typename T>
testing::internal::linked_ptr< T >::linked_ptr ( linked_ptr< T > const &  ptr) [inline]

Definition at line 147 of file gtest-linked_ptr.h.


Member Function Documentation

template<typename T>
void testing::internal::linked_ptr< T >::capture ( T *  ptr) [inline, private]

Definition at line 198 of file gtest-linked_ptr.h.

template<typename T>
void testing::internal::linked_ptr< T >::capture ( T *  ptr) [inline, private]

Definition at line 9158 of file fused-src/gtest/gtest.h.

template<typename T>
template<typename U >
void testing::internal::linked_ptr< T >::copy ( linked_ptr< U > const *  ptr) [inline, private]

Definition at line 203 of file gtest-linked_ptr.h.

template<typename T>
template<typename U >
void testing::internal::linked_ptr< T >::copy ( linked_ptr< U > const *  ptr) [inline, private]

Definition at line 9163 of file fused-src/gtest/gtest.h.

template<typename T>
void testing::internal::linked_ptr< T >::depart ( ) [inline, private]

Definition at line 194 of file gtest-linked_ptr.h.

template<typename T>
void testing::internal::linked_ptr< T >::depart ( ) [inline, private]

Definition at line 9154 of file fused-src/gtest/gtest.h.

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

Definition at line 172 of file gtest-linked_ptr.h.

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

Definition at line 9132 of file fused-src/gtest/gtest.h.

template<typename T>
bool testing::internal::linked_ptr< T >::operator!= ( T *  p) const [inline]

Definition at line 177 of file gtest-linked_ptr.h.

template<typename T>
template<typename U >
bool testing::internal::linked_ptr< T >::operator!= ( linked_ptr< U > const &  ptr) const [inline]

Definition at line 183 of file gtest-linked_ptr.h.

template<typename T>
bool testing::internal::linked_ptr< T >::operator!= ( T *  p) const [inline]

Definition at line 9137 of file fused-src/gtest/gtest.h.

template<typename T>
template<typename U >
bool testing::internal::linked_ptr< T >::operator!= ( linked_ptr< U > const &  ptr) const [inline]

Definition at line 9143 of file fused-src/gtest/gtest.h.

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

Definition at line 174 of file gtest-linked_ptr.h.

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

Definition at line 9134 of file fused-src/gtest/gtest.h.

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

Definition at line 173 of file gtest-linked_ptr.h.

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

Definition at line 9133 of file fused-src/gtest/gtest.h.

template<typename T>
template<typename U >
linked_ptr& testing::internal::linked_ptr< T >::operator= ( linked_ptr< U > const &  ptr) [inline]

Definition at line 153 of file gtest-linked_ptr.h.

template<typename T>
linked_ptr& testing::internal::linked_ptr< T >::operator= ( linked_ptr< T > const &  ptr) [inline]

Definition at line 159 of file gtest-linked_ptr.h.

template<typename T>
template<typename U >
linked_ptr& testing::internal::linked_ptr< T >::operator= ( linked_ptr< U > const &  ptr) [inline]

Definition at line 9113 of file fused-src/gtest/gtest.h.

template<typename T>
linked_ptr& testing::internal::linked_ptr< T >::operator= ( linked_ptr< T > const &  ptr) [inline]

Definition at line 9119 of file fused-src/gtest/gtest.h.

template<typename T>
bool testing::internal::linked_ptr< T >::operator== ( T *  p) const [inline]

Definition at line 176 of file gtest-linked_ptr.h.

template<typename T>
template<typename U >
bool testing::internal::linked_ptr< T >::operator== ( linked_ptr< U > const &  ptr) const [inline]

Definition at line 179 of file gtest-linked_ptr.h.

template<typename T>
bool testing::internal::linked_ptr< T >::operator== ( T *  p) const [inline]

Definition at line 9136 of file fused-src/gtest/gtest.h.

template<typename T>
template<typename U >
bool testing::internal::linked_ptr< T >::operator== ( linked_ptr< U > const &  ptr) const [inline]

Definition at line 9139 of file fused-src/gtest/gtest.h.

template<typename T>
void testing::internal::linked_ptr< T >::reset ( T *  ptr = NULL) [inline]

Definition at line 168 of file gtest-linked_ptr.h.

template<typename T>
void testing::internal::linked_ptr< T >::reset ( T *  ptr = NULL) [inline]

Definition at line 9128 of file fused-src/gtest/gtest.h.


Friends And Related Function Documentation

template<typename T>
linked_ptr [friend]

Definition at line 9149 of file fused-src/gtest/gtest.h.


Field Documentation

template<typename T>
linked_ptr_internal testing::internal::linked_ptr< T >::link_ [private]

Definition at line 9152 of file fused-src/gtest/gtest.h.

template<typename T>
T * testing::internal::linked_ptr< T >::value_ [private]

Definition at line 9151 of file fused-src/gtest/gtest.h.


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