2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
6 TAO_Intrusive_Ref_Count_Handle<T>::TAO_Intrusive_Ref_Count_Handle (void)
14 TAO_Intrusive_Ref_Count_Handle<T>::TAO_Intrusive_Ref_Count_Handle (
28 TAO_Intrusive_Ref_Count_Handle<T>::TAO_Intrusive_Ref_Count_Handle (
29 const TAO_Intrusive_Ref_Count_Handle<T>& b)
38 TAO_Intrusive_Ref_Count_Handle<T>::~TAO_Intrusive_Ref_Count_Handle()
46 TAO_Intrusive_Ref_Count_Handle<T>&
47 TAO_Intrusive_Ref_Count_Handle<T>::operator=(T* p)
49 TAO_Intrusive_Ref_Count_Handle<T> tmp (p);
50 return this->operator= (tmp);
56 TAO_Intrusive_Ref_Count_Handle<T>&
57 TAO_Intrusive_Ref_Count_Handle<T>::operator=
58 (const TAO_Intrusive_Ref_Count_Handle<T>& b)
60 // Strongly exception-safe assignment through the usual copy and
63 TAO_Intrusive_Ref_Count_Handle<T> tmp (b);
65 T * old_ptr = this->ptr_;
66 this->ptr_ = tmp.ptr_;
76 TAO_Intrusive_Ref_Count_Handle<T>::operator->() const
85 TAO_Intrusive_Ref_Count_Handle<T>::is_nil() const
87 return this->ptr_ == 0;
94 TAO_Intrusive_Ref_Count_Handle<T>::in() const
100 template <typename T>
103 TAO_Intrusive_Ref_Count_Handle<T>::inout()
109 template <typename T>
112 TAO_Intrusive_Ref_Count_Handle<T>::out()
119 template <typename T>
122 TAO_Intrusive_Ref_Count_Handle<T>::_retn()
124 T* retval = this->ptr_;
130 template <typename T>
133 TAO_Intrusive_Ref_Count_Handle<T>::operator== (const TAO_Intrusive_Ref_Count_Handle& h) const
135 return this->ptr_ == h.in();
139 template <typename T>
142 TAO_Intrusive_Ref_Count_Handle<T>::claim()
146 this->ptr_->_add_ref();
151 template <typename T>
154 TAO_Intrusive_Ref_Count_Handle<T>::drop()
158 this->ptr_->_remove_ref();
163 TAO_END_VERSIONED_NAMESPACE_DECL