libzypp  15.28.6
zypp::rw_pointer::Scoped< D > Struct Template Reference

#include <PtrTypes.h>

Public Types

typedef scoped_ptr< D > PtrType
 
typedef scoped_ptr< const D > constPtrType
 

Public Member Functions

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

Detailed Description

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

Definition at line 224 of file PtrTypes.h.

Member Typedef Documentation

template<class D>
typedef scoped_ptr<D> zypp::rw_pointer::Scoped< D >::PtrType

Definition at line 226 of file PtrTypes.h.

template<class D>
typedef scoped_ptr<const D> zypp::rw_pointer::Scoped< D >::constPtrType

Definition at line 227 of file PtrTypes.h.

Member Function Documentation

template<class D>
bool zypp::rw_pointer::Scoped< D >::unique ( const constPtrType ptr_r)
inline

Check whether pointer is not shared.

Definition at line 229 of file PtrTypes.h.

template<class D>
bool zypp::rw_pointer::Scoped< D >::unique ( const PtrType ptr_r)
inline

Definition at line 231 of file PtrTypes.h.

template<class D>
long zypp::rw_pointer::Scoped< D >::use_count ( const constPtrType ptr_r) const
inline

Return number of references.

Definition at line 234 of file PtrTypes.h.

template<class D>
long zypp::rw_pointer::Scoped< D >::use_count ( const PtrType ptr_r) const
inline

Definition at line 236 of file PtrTypes.h.


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