#include <unique_ptr.h>
Definition at line 155 of file unique_ptr.h.
OpenDDS::DCPS::container_supported_unique_ptr< T >::container_supported_unique_ptr | ( | ) | [inline] |
Definition at line 159 of file unique_ptr.h.
00160 : ptr_(0) 00161 {}
OpenDDS::DCPS::container_supported_unique_ptr< T >::container_supported_unique_ptr | ( | T * | p | ) | [inline, explicit] |
Definition at line 163 of file unique_ptr.h.
00164 : ptr_(p) 00165 { 00166 }
OpenDDS::DCPS::container_supported_unique_ptr< T >::container_supported_unique_ptr | ( | unique_ptr< U > | p | ) | [inline] |
Definition at line 169 of file unique_ptr.h.
00170 : ptr_(p.release()) 00171 { 00172 }
OpenDDS::DCPS::container_supported_unique_ptr< T >::container_supported_unique_ptr | ( | const container_supported_unique_ptr< U > & | other | ) | [inline] |
Definition at line 175 of file unique_ptr.h.
OpenDDS::DCPS::container_supported_unique_ptr< T >::container_supported_unique_ptr | ( | const container_supported_unique_ptr< T > & | b | ) | [inline] |
Definition at line 181 of file unique_ptr.h.
OpenDDS::DCPS::container_supported_unique_ptr< T >::~container_supported_unique_ptr | ( | ) | [inline] |
Definition at line 187 of file unique_ptr.h.
00188 { 00189 this->bump_down(); 00190 }
void OpenDDS::DCPS::container_supported_unique_ptr< T >::bump_down | ( | ) | [inline, private] |
Definition at line 286 of file unique_ptr.h.
Referenced by OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::~container_supported_unique_ptr().
00287 { 00288 if (this->ptr_ != 0) { 00289 this->ptr_->_remove_ref(); 00290 this->ptr_ = 0; 00291 } 00292 }
void OpenDDS::DCPS::container_supported_unique_ptr< T >::bump_up | ( | ) | [inline, private] |
Definition at line 279 of file unique_ptr.h.
Referenced by OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::container_supported_unique_ptr().
T* OpenDDS::DCPS::container_supported_unique_ptr< T >::get | ( | void | ) | const [inline] |
Definition at line 245 of file unique_ptr.h.
Referenced by OpenDDS::DCPS::DataReaderImpl_T< MessageType >::FilterDelayedHandler::delay_sample(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::operator!=(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::operator<(), and OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::operator==().
00246 { 00247 return this->ptr_; 00248 }
OpenDDS::DCPS::container_supported_unique_ptr< T >::operator bool | ( | void | ) | const [inline] |
Definition at line 257 of file unique_ptr.h.
bool OpenDDS::DCPS::container_supported_unique_ptr< T >::operator!= | ( | const container_supported_unique_ptr< T > & | rhs | ) | const [inline] |
Definition at line 267 of file unique_ptr.h.
T& OpenDDS::DCPS::container_supported_unique_ptr< T >::operator* | ( | void | ) | const [inline] |
Definition at line 240 of file unique_ptr.h.
00241 { 00242 return *this->ptr_; 00243 }
T* OpenDDS::DCPS::container_supported_unique_ptr< T >::operator-> | ( | void | ) | const [inline] |
Definition at line 235 of file unique_ptr.h.
00236 { 00237 return this->ptr_; 00238 }
bool OpenDDS::DCPS::container_supported_unique_ptr< T >::operator< | ( | const container_supported_unique_ptr< T > & | rhs | ) | const [inline] |
Definition at line 272 of file unique_ptr.h.
container_supported_unique_ptr& OpenDDS::DCPS::container_supported_unique_ptr< T >::operator= | ( | unique_ptr< U > | b | ) | [inline] |
Definition at line 221 of file unique_ptr.h.
00222 { 00223 container_supported_unique_ptr<T> tmp(b.release()); 00224 swap(tmp); 00225 return *this; 00226 }
container_supported_unique_ptr& OpenDDS::DCPS::container_supported_unique_ptr< T >::operator= | ( | const container_supported_unique_ptr< U > & | b | ) | [inline] |
Definition at line 213 of file unique_ptr.h.
00214 { 00215 container_supported_unique_ptr<T> tmp(b); 00216 swap(tmp); 00217 return *this; 00218 }
container_supported_unique_ptr& OpenDDS::DCPS::container_supported_unique_ptr< T >::operator= | ( | const container_supported_unique_ptr< T > & | b | ) | [inline] |
Definition at line 205 of file unique_ptr.h.
00206 { 00207 container_supported_unique_ptr tmp(b); 00208 swap(tmp); 00209 return *this; 00210 }
bool OpenDDS::DCPS::container_supported_unique_ptr< T >::operator== | ( | const container_supported_unique_ptr< T > & | rhs | ) | const [inline] |
Definition at line 262 of file unique_ptr.h.
T* OpenDDS::DCPS::container_supported_unique_ptr< T >::release | ( | void | ) | [inline] |
Definition at line 250 of file unique_ptr.h.
void OpenDDS::DCPS::container_supported_unique_ptr< T >::reset | ( | T * | p = 0 |
) | [inline] |
Definition at line 199 of file unique_ptr.h.
00200 { 00201 container_supported_unique_ptr tmp(p); 00202 swap(tmp); 00203 }
void OpenDDS::DCPS::container_supported_unique_ptr< T >::reset | ( | U * | p | ) | [inline] |
Definition at line 193 of file unique_ptr.h.
00194 { 00195 container_supported_unique_ptr tmp(p); 00196 swap(tmp); 00197 }
void OpenDDS::DCPS::container_supported_unique_ptr< T >::swap | ( | container_supported_unique_ptr< T > & | rhs | ) | [inline] |
Definition at line 228 of file unique_ptr.h.
Referenced by OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::operator=(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::reset(), and OpenDDS::DCPS::swap().
T* OpenDDS::DCPS::container_supported_unique_ptr< T >::ptr_ [private] |
The actual "unsmart" pointer to the T object.
Definition at line 295 of file unique_ptr.h.
Referenced by OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::bump_down(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::bump_up(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::get(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::operator*(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::operator->(), OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::release(), and OpenDDS::DCPS::container_supported_unique_ptr< DCPS_IR_Subscription >::swap().