libzypp  13.10.6
zypp::rw_pointer::Intrusive< _D > Struct Template Reference

#include <PtrTypes.h>

Public Types

typedef intrusive_ptr< _D > _Ptr
 
typedef intrusive_ptr< const _D > _constPtr
 

Public Member Functions

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

Detailed Description

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

Definition at line 187 of file PtrTypes.h.

Member Typedef Documentation

template<class _D>
typedef intrusive_ptr<_D> zypp::rw_pointer::Intrusive< _D >::_Ptr

Definition at line 189 of file PtrTypes.h.

template<class _D>
typedef intrusive_ptr<const _D> zypp::rw_pointer::Intrusive< _D >::_constPtr

Definition at line 190 of file PtrTypes.h.

Member Function Documentation

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

Check whether pointer is not shared.

Definition at line 192 of file PtrTypes.h.

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

Definition at line 194 of file PtrTypes.h.

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

Return number of references.

Definition at line 197 of file PtrTypes.h.

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

Definition at line 199 of file PtrTypes.h.


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