libzypp 17.31.23
PtrTypes.h File Reference
#include <zypp-core/base/PtrTypes.h>
#include <iosfwd>
#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, DTraits >
 Wrapper for const correct access via Smart pointer types. More...
 
struct  zypp::RWCOW_pointer< D, DTraits >
 RW_pointer supporting 'copy on write' functionality. More...
 

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
namespace  zypp::str
 String related utilities and Regular expression matching.
 
namespace  std
 
namespace  zypp::rw_pointer
 Don't forgett to provide versions for PtrType and constPtrType, esp.
 

Macros

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

Functions

std::string zypp::str::form (const char *format,...) __attribute__((format(printf
 Printf style construction of std::string.
 
template<>
std::ostream & std::operator<< (std::ostream &str, const zypp::shared_ptr< void > &obj)
 
template<>
std::ostream & std::dumpOn (std::ostream &str, const zypp::shared_ptr< void > &obj)
 

Macro Definition Documentation

◆ DEFINE_PTR_TYPE

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