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.

Namespaces

namespace  zypp
namespace  zypp::rw_pointer

Classes

struct  zypp::rw_pointer::Shared< _D >
struct  zypp::rw_pointer::Intrusive< _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...

Defines

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

Functions

template<class _D>
std::ostream & zypp::operator<< (std::ostream &str, const shared_ptr< _D > &obj)
template<class _D>
std::ostream & zypp::operator<< (std::ostream &str, const intrusive_ptr< _D > &obj)


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 375 of file PtrTypes.h.


Generated on Thu Jul 6 00:07:29 2006 for zypp by  doxygen 1.4.6