#include <misc_types.h>
Public Member Functions | |
| T * | acquire () |
| T * | get () const |
| bool | is_owner () const |
| T & | operator* () const |
| T * | operator-> () const |
| SingleOwnerPtr & | operator= (T *ptr) |
| T * | release () |
| void | reset (T *x) |
| SingleOwnerPtr () | |
| SingleOwnerPtr (T *ptr) | |
| void | swap (SingleOwnerPtr &o) |
| ~SingleOwnerPtr () | |
Private Member Functions | |
| SingleOwnerPtr & | operator= (const SingleOwnerPtr &) |
| SingleOwnerPtr (const SingleOwnerPtr &) | |
Private Attributes | |
| uintp | ptr_ |
Definition at line 335 of file misc_types.h.
| Clasp::SingleOwnerPtr< T, D >::SingleOwnerPtr | ( | ) | [inline] |
Definition at line 337 of file misc_types.h.
| Clasp::SingleOwnerPtr< T, D >::SingleOwnerPtr | ( | T * | ptr | ) | [inline, explicit] |
Definition at line 338 of file misc_types.h.
| Clasp::SingleOwnerPtr< T, D >::~SingleOwnerPtr | ( | ) | [inline] |
Definition at line 339 of file misc_types.h.
| Clasp::SingleOwnerPtr< T, D >::SingleOwnerPtr | ( | const SingleOwnerPtr< T, D > & | ) | [private] |
| T* Clasp::SingleOwnerPtr< T, D >::acquire | ( | ) | [inline] |
Definition at line 347 of file misc_types.h.
| T* Clasp::SingleOwnerPtr< T, D >::get | ( | ) | const [inline] |
Definition at line 341 of file misc_types.h.
| bool Clasp::SingleOwnerPtr< T, D >::is_owner | ( | ) | const [inline] |
Definition at line 340 of file misc_types.h.
| T& Clasp::SingleOwnerPtr< T, D >::operator* | ( | ) | const [inline] |
Definition at line 342 of file misc_types.h.
| T* Clasp::SingleOwnerPtr< T, D >::operator-> | ( | ) | const [inline] |
Definition at line 343 of file misc_types.h.
| SingleOwnerPtr& Clasp::SingleOwnerPtr< T, D >::operator= | ( | T * | ptr | ) | [inline] |
Definition at line 344 of file misc_types.h.
| SingleOwnerPtr& Clasp::SingleOwnerPtr< T, D >::operator= | ( | const SingleOwnerPtr< T, D > & | ) | [private] |
| T* Clasp::SingleOwnerPtr< T, D >::release | ( | ) | [inline] |
Definition at line 346 of file misc_types.h.
| void Clasp::SingleOwnerPtr< T, D >::reset | ( | T * | x | ) | [inline] |
Definition at line 348 of file misc_types.h.
| void Clasp::SingleOwnerPtr< T, D >::swap | ( | SingleOwnerPtr< T, D > & | o | ) | [inline] |
Definition at line 345 of file misc_types.h.
uintp Clasp::SingleOwnerPtr< T, D >::ptr_ [private] |
Definition at line 355 of file misc_types.h.