Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RDF::TTypedPointerHolder< T > Class Template Referencefinal

template<typename T>
class ROOT::Internal::RDF::TTypedPointerHolder< T >

Class to wrap a pointer and delete the memory associated to it correctly.

Definition at line 75 of file RDataSource.hxx.

Public Member Functions

 TTypedPointerHolder (T *ptr)
 
 ~TTypedPointerHolder ()
 
TPointerHolderGetDeepCopy () final
 
void * GetPointer ()
 
void * GetPointerAddr ()
 

Protected Attributes

void * fPointer {nullptr}
 

#include <ROOT/RDataSource.hxx>

Inheritance diagram for ROOT::Internal::RDF::TTypedPointerHolder< T >:
[legend]

Constructor & Destructor Documentation

◆ TTypedPointerHolder()

template<typename T >
ROOT::Internal::RDF::TTypedPointerHolder< T >::TTypedPointerHolder ( T * ptr)
inline

Definition at line 77 of file RDataSource.hxx.

◆ ~TTypedPointerHolder()

Definition at line 85 of file RDataSource.hxx.

Member Function Documentation

◆ GetDeepCopy()

template<typename T >
TPointerHolder * ROOT::Internal::RDF::TTypedPointerHolder< T >::GetDeepCopy ( )
inlinefinalvirtual

Implements ROOT::Internal::RDF::TPointerHolder.

Definition at line 79 of file RDataSource.hxx.

◆ GetPointer()

void * ROOT::Internal::RDF::TPointerHolder::GetPointer ( )
inlineinherited

Definition at line 66 of file RDataSource.hxx.

◆ GetPointerAddr()

void * ROOT::Internal::RDF::TPointerHolder::GetPointerAddr ( )
inlineinherited

Definition at line 67 of file RDataSource.hxx.

Member Data Documentation

◆ fPointer

void* ROOT::Internal::RDF::TPointerHolder::fPointer {nullptr}
protectedinherited

Definition at line 62 of file RDataSource.hxx.

  • tree/dataframe/inc/ROOT/RDataSource.hxx