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

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

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

Definition at line 59 of file RDataSource.hxx.

Public Member Functions

 TTypedPointerHolder (T *ptr)
 
 ~TTypedPointerHolder ()
 
TPointerHolderGetDeepCopy () final
 
- Public Member Functions inherited from ROOT::Internal::TDS::TPointerHolder
 TPointerHolder (void *ptr)
 
virtual ~TPointerHolder ()
 
void * GetPointer ()
 
void * GetPointerAddr ()
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Internal::TDS::TPointerHolder
void * fPointer {nullptr}
 

#include <ROOT/RDataSource.hxx>

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

Constructor & Destructor Documentation

◆ TTypedPointerHolder()

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

Definition at line 61 of file RDataSource.hxx.

◆ ~TTypedPointerHolder()

template<typename T >
ROOT::Internal::TDS::TTypedPointerHolder< T >::~TTypedPointerHolder ( )
inline

Definition at line 69 of file RDataSource.hxx.

Member Function Documentation

◆ GetDeepCopy()

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

Implements ROOT::Internal::TDS::TPointerHolder.

Definition at line 63 of file RDataSource.hxx.

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