1 #ifndef SURFACE_REFERENCECOUNTED_H
2 #define SURFACE_REFERENCECOUNTED_H
23 #include "boost/intrusive_ptr.hpp"
62 public boost::intrusive_ptr<T>
70 public boost::intrusive_ptr<const T>
76 boost::intrusive_ptr<
const T>(&(*other)) {}
88 #define CMSSW_POOLALLOCATOR
90 #ifdef CMSSW_POOLALLOCATOR
ReferenceCountedPoolAllocated ReferenceCountedInEvent
void intrusive_ptr_add_ref(const BasicReferenceCounted *iRef)
#define CMSSW_POOLALLOCATOR
BasicReferenceCounted(const BasicReferenceCounted &iRHS)
ConstReferenceCountingPointer()
const BasicReferenceCounted & operator=(const BasicReferenceCounted &)
ReferenceCountedPoolAllocated()
BasicReferenceCounted ReferenceCounted
void removeReference() const
BasicReferenceCounted ReferenceCountedInConditions
unsigned int references() const
ReferenceCountedPoolAllocated(const ReferenceCountedPoolAllocated &iRHS)
const ReferenceCountedPoolAllocated & operator=(const ReferenceCountedPoolAllocated &)
ReferenceCountingPointer()
void removeReference() const
ReferenceCountingPointer(T *iT)
unsigned int referenceCount_
ConstReferenceCountingPointer(const ReferenceCountingPointer< T > &other)
virtual ~ReferenceCountedPoolAllocated()
unsigned int references() const
void intrusive_ptr_release(const BasicReferenceCounted *iRef)
void addReference() const
unsigned int referenceCount_
virtual ~BasicReferenceCounted()
ConstReferenceCountingPointer(const T *iT)
void addReference() const