Files | |
file | PtrTypes.h |
Namespaces | |
namespace | zypp::rw_pointer |
Don't forgett to provide versions for _Ptr and _constPtr, esp. | |
Classes | |
struct | zypp::RW_pointer< _D, _Traits > |
Wrapper for const correct access via Smart pointer types. More... | |
struct | zypp::RWCOW_pointer< _D, _Traits > |
RW_pointer supporting 'copy on write' functionality. More... | |
class | scoped_ptr |
class | shared_ptr |
class | weak_ptr |
class | intrusive_ptr |
Functions | |
template<class _D> | |
std::ostream & | zypp::operator<< (std::ostream &str, const shared_ptr< _D > &obj) |
template<class _D> | |
std::ostream & | zypp::operator<< (std::ostream &str, const intrusive_ptr< _D > &obj) |
std::ostream & | zypp::RW_pointer::operator<< (std::ostream &str, const RW_pointer< _D, _Ptr > &obj) |
_D * | zypp::RWCOW_pointer::rwcowClone (const _D *rhs) |
std::ostream & | zypp::RWCOW_pointer::operator<< (std::ostream &str, const RWCOW_pointer< _D, _Ptr > &obj) |
Namespace zypp provides 3 smart pointer types using the boost smart pointer library.
scoped_ptr
Simple sole ownership of single objects. Noncopyable.shared_ptr
Object ownership shared among multiple pointersweak_ptr
Non-owning observers of an object owned by shared_ptr.const
correct read/write access to the object it refers.
|
Definition at line 65 of file PtrTypes.h. |
|
Definition at line 74 of file PtrTypes.h. |
|
Stream output.
Print the Definition at line 245 of file PtrTypes.h. |
|
Clone the underlying object. Calls rhs Definition at line 347 of file PtrTypes.h. |
|
Stream output.
Print the Definition at line 359 of file PtrTypes.h. |