Logo ROOT   6.21/01
Reference Guide
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 58 of file RDataSource.hxx.

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from ROOT::Internal::TDS::TPointerHolder
voidfPointer {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 60 of file RDataSource.hxx.

◆ ~TTypedPointerHolder()

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

Definition at line 68 of file RDataSource.hxx.

Member Function Documentation

◆ GetDeepCopy()

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

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

Definition at line 62 of file RDataSource.hxx.


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