libzypp  13.10.6
PtrTypes.h File Reference
#include <string>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/intrusive_ptr.hpp>

Go to the source code of this file.

Classes

struct  zypp::NullDeleter
 shared_ptr custom deleter doing nothing. More...
 
struct  zypp::rw_pointer::Shared< _D >
 
struct  zypp::rw_pointer::Intrusive< _D >
 
struct  zypp::rw_pointer::Scoped< _D >
 
struct  zypp::RW_pointer< _D, _Traits >
 Wrapper for const correct access via Smart pointer types. More...
 
struct  zypp::RWCOW_pointer< _D, _Traits >
 RW_pointer supporting 'copy on write' functionality. More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 std
 
 zypp::rw_pointer
 Don't forgett to provide versions for _Ptr and _constPtr, esp.
 

Macros

#define DEFINE_PTR_TYPE(NAME)
 Forward declaration of Ptr types. More...
 

Detailed Description

See Also
Smart pointer types

Definition in file PtrTypes.h.

Macro Definition Documentation

#define DEFINE_PTR_TYPE (   NAME)
Value:
class NAME; \
extern void intrusive_ptr_add_ref( const NAME * ); \
extern void intrusive_ptr_release( const NAME * ); \
typedef zypp::intrusive_ptr<NAME> NAME##_Ptr; \
typedef zypp::intrusive_ptr<const NAME> NAME##_constPtr;
void intrusive_ptr_add_ref(const ReferenceCounted *ptr_r)
void intrusive_ptr_release(const ReferenceCounted *ptr_r)

Forward declaration of Ptr types.

Definition at line 603 of file PtrTypes.h.