libzypp  11.13.5
zypp::rw_pointer::Scoped< _D > Struct Template Reference

#include <PtrTypes.h>

List of all members.

Public Types

typedef scoped_ptr< _D > _Ptr
typedef scoped_ptr< const _D > _constPtr

Public Member Functions

bool unique (const _constPtr &ptr_r)
 Check whether pointer is not shared.
bool unique (const _Ptr &ptr_r)
long use_count (const _constPtr &ptr_r) const
 Return number of references.
long use_count (const _Ptr &ptr_r) const

Detailed Description

template<class _D>
struct zypp::rw_pointer::Scoped< _D >

Definition at line 204 of file PtrTypes.h.


Member Typedef Documentation

template<class _D>
typedef scoped_ptr<_D> zypp::rw_pointer::Scoped< _D >::_Ptr

Definition at line 206 of file PtrTypes.h.

template<class _D>
typedef scoped_ptr<const _D> zypp::rw_pointer::Scoped< _D >::_constPtr

Definition at line 207 of file PtrTypes.h.


Member Function Documentation

template<class _D>
bool zypp::rw_pointer::Scoped< _D >::unique ( const _constPtr ptr_r)
inline

Check whether pointer is not shared.

Definition at line 209 of file PtrTypes.h.

template<class _D>
bool zypp::rw_pointer::Scoped< _D >::unique ( const _Ptr ptr_r)
inline

Definition at line 211 of file PtrTypes.h.

template<class _D>
long zypp::rw_pointer::Scoped< _D >::use_count ( const _constPtr ptr_r) const
inline

Return number of references.

Definition at line 214 of file PtrTypes.h.

template<class _D>
long zypp::rw_pointer::Scoped< _D >::use_count ( const _Ptr ptr_r) const
inline

Definition at line 216 of file PtrTypes.h.


The documentation for this struct was generated from the following file: