#include <PtrTypes.h>
Public Types | |
typedef _Traits::_Ptr | _Ptr |
typedef _Traits::_constPtr | _constPtr |
typedef _Ptr::unspecified_bool_type | unspecified_bool_type |
Public Member Functions | |
RWCOW_pointer (typename _Ptr::element_type *dptr=0) | |
RWCOW_pointer (_Ptr dptr) | |
void | reset () |
void | reset (typename _Ptr::element_type *dptr) |
void | swap (RWCOW_pointer &rhs) |
void | swap (_Ptr &rhs) |
operator unspecified_bool_type () const | |
const _D & | operator * () const |
const _D * | operator-> () const |
const _D * | get () const |
_D & | operator * () |
_D * | operator-> () |
_D * | get () |
bool | unique () const |
long | use_count () const |
_constPtr | getPtr () const |
_Ptr | getPtr () |
Private Member Functions | |
void | assertUnshared () |
Private Attributes | |
_Ptr | _dptr |
Related Functions | |
(Note that these are not member functions.) | |
_D * | rwcowClone (const _D *rhs) |
std::ostream & | operator<< (std::ostream &str, const RWCOW_pointer< _D, _Ptr > &obj) |
Write access to the underlying object creates a copy, iff the object is shared.
See RW_pointer.
Definition at line 266 of file PtrTypes.h.
|
Definition at line 268 of file PtrTypes.h. |
|
Definition at line 269 of file PtrTypes.h. |
|
Definition at line 270 of file PtrTypes.h. |
|
Definition at line 273 of file PtrTypes.h. |
|
Definition at line 278 of file PtrTypes.h. |
|
Definition at line 282 of file PtrTypes.h. |
|
Definition at line 285 of file PtrTypes.h. |
|
Definition at line 288 of file PtrTypes.h. |
|
Definition at line 291 of file PtrTypes.h. |
|
Definition at line 294 of file PtrTypes.h. |
|
Definition at line 297 of file PtrTypes.h. |
|
Definition at line 300 of file PtrTypes.h. |
|
Definition at line 303 of file PtrTypes.h. |
|
Definition at line 306 of file PtrTypes.h. |
|
Definition at line 309 of file PtrTypes.h. |
|
Definition at line 312 of file PtrTypes.h. |
|
Definition at line 316 of file PtrTypes.h. |
|
Definition at line 319 of file PtrTypes.h. |
|
Definition at line 322 of file PtrTypes.h. |
|
Definition at line 325 of file PtrTypes.h. |
|
Definition at line 330 of file PtrTypes.h. |
|
Definition at line 337 of file PtrTypes.h. Referenced by zypp::RWCOW_pointer< Impl >::swap(). |