#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) |
| bool | operator== (const RWCOW_pointer< _D, _Ptr > &lhs, const RWCOW_pointer< _D, _Ptr > &rhs) |
| bool | operator!= (const RWCOW_pointer< _D, _Ptr > &lhs, const RWCOW_pointer< _D, _Ptr > &rhs) |
Write access to the underlying object creates a copy, iff the object is shared.
See RW_pointer.
Definition at line 360 of file PtrTypes.h.
|
|||||
|
Definition at line 362 of file PtrTypes.h. |
|
|||||
|
Definition at line 363 of file PtrTypes.h. |
|
|||||
|
Definition at line 364 of file PtrTypes.h. |
|
||||||||||
|
Definition at line 367 of file PtrTypes.h. |
|
||||||||||
|
Definition at line 372 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 376 of file PtrTypes.h. |
|
||||||||||
|
Definition at line 379 of file PtrTypes.h. |
|
||||||||||
|
Definition at line 382 of file PtrTypes.h. |
|
||||||||||
|
Definition at line 385 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 388 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 391 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 394 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 397 of file PtrTypes.h. Referenced by zypp::RWCOW_pointer< _D, _Traits >::operator==(). |
|
|||||||||
|
Definition at line 400 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 403 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 406 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 410 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 413 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 416 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 419 of file PtrTypes.h. |
|
|||||||||
|
Definition at line 424 of file PtrTypes.h. |
|
|||||
|
Definition at line 431 of file PtrTypes.h. Referenced by zypp::RWCOW_pointer< Impl >::swap(). |
1.4.6