libzypp  17.28.8
ReferenceCounted.h File Reference
#include <zypp-core/base/ReferenceCounted.h>
#include <iosfwd>
#include <zypp-core/base/PtrTypes.h>
Include dependency graph for ReferenceCounted.h:

Go to the source code of this file.

Classes

class  zypp::base::ReferenceCounted
 Base class for reference counted objects. More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::base
 

Macros

#define IMPL_PTR_TYPE(NAME)
 

Macro Definition Documentation

◆ IMPL_PTR_TYPE

#define IMPL_PTR_TYPE (   NAME)
Value:
void intrusive_ptr_add_ref( const NAME * ptr_r ) \
void intrusive_ptr_release( const NAME * ptr_r ) \
static void add_ref(const ReferenceCounted *ptr_r)
Called by zypp::intrusive_ptr to add a reference.
void intrusive_ptr_add_ref(const ReferenceCounted *ptr_r)
intrusive_ptr hook to add_ref.
static void release(const ReferenceCounted *ptr_r)
Called by zypp::intrusive_ptr to add a reference.
void intrusive_ptr_release(const ReferenceCounted *ptr_r)
intrusive_ptr hook to release.

Definition at line 136 of file ReferenceCounted.h.