libzypp 17.31.23
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

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
namespace  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.
static void release(const ReferenceCounted *ptr_r)
Called by zypp::intrusive_ptr to add a reference.

Definition at line 136 of file ReferenceCounted.h.