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>

Include dependency graph for PtrTypes.h:

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

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

Defines

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


Detailed Description

See also:
Smart pointer types

Definition in file PtrTypes.h.


Define 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;
Forward declaration of Ptr types.

Definition at line 500 of file PtrTypes.h.


doxygen