Logo ROOT  
Reference Guide
ROOT::Internal::TDS::TPointerHolder Class Referenceabstract

Mother class of TTypedPointerHolder.

The instances of this class can be put in a container. Upon destruction, the correct deletion of the pointer is performed in the derived class.

Definition at line 43 of file RDataSource.hxx.

Public Member Functions

 TPointerHolder (void *ptr)
 
virtual ~TPointerHolder ()
 
virtual TPointerHolderGetDeepCopy ()=0
 
voidGetPointer ()
 
voidGetPointerAddr ()
 

Protected Attributes

voidfPointer {nullptr}
 

#include <ROOT/RDataSource.hxx>

Inheritance diagram for ROOT::Internal::TDS::TPointerHolder:
[legend]

Constructor & Destructor Documentation

◆ TPointerHolder()

ROOT::Internal::TDS::TPointerHolder::TPointerHolder ( void ptr)
inline

Definition at line 48 of file RDataSource.hxx.

◆ ~TPointerHolder()

virtual ROOT::Internal::TDS::TPointerHolder::~TPointerHolder ( )
inlinevirtual

Definition at line 52 of file RDataSource.hxx.

Member Function Documentation

◆ GetDeepCopy()

virtual TPointerHolder * ROOT::Internal::TDS::TPointerHolder::GetDeepCopy ( )
pure virtual

◆ GetPointer()

void * ROOT::Internal::TDS::TPointerHolder::GetPointer ( )
inline

Definition at line 49 of file RDataSource.hxx.

◆ GetPointerAddr()

void * ROOT::Internal::TDS::TPointerHolder::GetPointerAddr ( )
inline

Definition at line 50 of file RDataSource.hxx.

Member Data Documentation

◆ fPointer

void* ROOT::Internal::TDS::TPointerHolder::fPointer {nullptr}
protected

Definition at line 45 of file RDataSource.hxx.


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