libzypp  17.6.1
ReferenceCounted.h File Reference
#include <iosfwd>
#include "zypp/base/PtrTypes.h"
Include dependency graph for ReferenceCounted.h:
This graph shows which files directly or indirectly include this file:

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 ) \
void intrusive_ptr_add_ref(const ReferenceCounted *ptr_r)
static void release(const ReferenceCounted *ptr_r)
Called by zypp::intrusive_ptr to add a reference.
void intrusive_ptr_release(const ReferenceCounted *ptr_r)
static void add_ref(const ReferenceCounted *ptr_r)
Called by zypp::intrusive_ptr to add a reference.

Definition at line 136 of file ReferenceCounted.h.