libcamgm
Classes | Namespaces | Macros
PtrTypes.hpp 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  ca_mgm::NullDeleter
 
struct  ca_mgm::rw_pointer::Shared< _D >
 
struct  ca_mgm::rw_pointer::Intrusive< _D >
 
struct  ca_mgm::rw_pointer::Scoped< _D >
 
struct  ca_mgm::RW_pointer< _D, _Traits >
 
struct  ca_mgm::RWCOW_pointer< _D, _Traits >
 

Namespaces

 ca_mgm
 
 std
 
 ca_mgm::rw_pointer
 

Macros

#define DEFINE_PTR_TYPE(NAME)
 

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 ca_mgm::intrusive_ptr<NAME> NAME##_Ptr; \
typedef ca_mgm::intrusive_ptr<const NAME> NAME##_constPtr;
void intrusive_ptr_add_ref(const ReferenceCounted *ptr_r)
Definition: ReferenceCounted.hpp:125
void intrusive_ptr_release(const ReferenceCounted *ptr_r)
Definition: ReferenceCounted.hpp:129

Forward declaration of Ptr types