Logo ROOT  
Reference Guide
No Matches
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 44 of file RDataSource.hxx.

Public Member Functions

 TPointerHolder (void *ptr)
virtual ~TPointerHolder ()
virtual TPointerHolderGetDeepCopy ()=0
void * GetPointer ()
void * GetPointerAddr ()

Protected Attributes

void * fPointer {nullptr}

#include <ROOT/RDataSource.hxx>

Inheritance diagram for ROOT::Internal::TDS::TPointerHolder:

Constructor & Destructor Documentation

◆ TPointerHolder()

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

Definition at line 49 of file RDataSource.hxx.

◆ ~TPointerHolder()

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

Definition at line 53 of file RDataSource.hxx.

Member Function Documentation

◆ GetDeepCopy()

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

◆ GetPointer()

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

Definition at line 50 of file RDataSource.hxx.

◆ GetPointerAddr()

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

Definition at line 51 of file RDataSource.hxx.

Member Data Documentation

◆ fPointer

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

Definition at line 46 of file RDataSource.hxx.

Libraries for ROOT::Internal::TDS::TPointerHolder:

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