Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
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 29 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 34 of file RDataSource.hxx.

◆ ~TPointerHolder()

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

Definition at line 38 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 35 of file RDataSource.hxx.

◆ GetPointerAddr()

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

Definition at line 36 of file RDataSource.hxx.

Member Data Documentation

◆ fPointer

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

Definition at line 31 of file RDataSource.hxx.


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