thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::Pointer::RCPtrBase Class Reference

RCPtrBase is the base class of RCPtr and ConstRCPtr which are reference counted (smart) pointers. More...

#include <RCPtr.h>

Inheritance diagram for ThePEG::Pointer::RCPtrBase:

Protected Member Functions

void increment (const ReferenceCounted *rcp)
 Increment the counter of a reference counted object.
 
bool release (const ReferenceCounted *rcp)
 Decrement the counter of a reference counted object.
 

Private Types

typedef ReferenceCounted::CounterType CounterType
 Get counter type from ReferenceCounted class. More...
 

Detailed Description

RCPtrBase is the base class of RCPtr and ConstRCPtr which are reference counted (smart) pointers.

The RCPtrBase class communicates with the ReferenceCounted object which must be the base class of all objects pointed to and which keeps count of the pointers pointing to an object.

See also
ReferenceCounted

Definition at line 30 of file RCPtr.h.

Member Typedef Documentation

◆ CounterType

Get counter type from ReferenceCounted class.

Definition at line 33 of file RCPtr.h.


The documentation for this class was generated from the following file: