Logo ROOT   6.21/01
Reference Guide
ROOT::Experimental::Internal::RIOShared< T > Class Template Referencefinal

template<class T>
class ROOT::Experimental::Internal::RIOShared< T >

Definition at line 51 of file RDrawable.hxx.

Public Member Functions

 RIOShared ()=default
 
 RIOShared (const std::shared_ptr< T > &ptr)
 
const T * get () const
 
T * get ()
 
std::shared_ptr< T > get_shared () const
 
const voidGetIOPtr () const final
 
virtual bool HasShared () const final
 
virtual voidMakeShared () final
 
 operator bool () const
 
const T * operator-> () const
 
T * operator-> ()
 
RIOSharedoperator= (const std::shared_ptr< T > &ptr)
 
void reset ()
 
virtual void SetShared (void *shared) final
 
- Public Member Functions inherited from ROOT::Experimental::Internal::RIOSharedBase
virtual ~RIOSharedBase ()=default
 

Private Attributes

T * fIO {nullptr}
 plain pointer for IO More...
 
std::shared_ptr< T > fShared
 ! holder of object More...
 

#include <ROOT/RDrawable.hxx>

Inheritance diagram for ROOT::Experimental::Internal::RIOShared< T >:
[legend]

Constructor & Destructor Documentation

◆ RIOShared() [1/2]

template<class T>
ROOT::Experimental::Internal::RIOShared< T >::RIOShared ( )
default

◆ RIOShared() [2/2]

template<class T>
ROOT::Experimental::Internal::RIOShared< T >::RIOShared ( const std::shared_ptr< T > &  ptr)
inline

Definition at line 62 of file RDrawable.hxx.

Member Function Documentation

◆ get() [1/2]

template<class T>
const T* ROOT::Experimental::Internal::RIOShared< T >::get ( ) const
inline

Definition at line 77 of file RDrawable.hxx.

◆ get() [2/2]

template<class T>
T* ROOT::Experimental::Internal::RIOShared< T >::get ( )
inline

Definition at line 78 of file RDrawable.hxx.

◆ get_shared()

template<class T>
std::shared_ptr<T> ROOT::Experimental::Internal::RIOShared< T >::get_shared ( ) const
inline

Definition at line 83 of file RDrawable.hxx.

◆ GetIOPtr()

template<class T>
const void* ROOT::Experimental::Internal::RIOShared< T >::GetIOPtr ( ) const
inlinefinalvirtual

Implements ROOT::Experimental::Internal::RIOSharedBase.

Definition at line 55 of file RDrawable.hxx.

◆ HasShared()

template<class T>
virtual bool ROOT::Experimental::Internal::RIOShared< T >::HasShared ( ) const
inlinefinalvirtual

Implements ROOT::Experimental::Internal::RIOSharedBase.

Definition at line 56 of file RDrawable.hxx.

◆ MakeShared()

template<class T>
virtual void* ROOT::Experimental::Internal::RIOShared< T >::MakeShared ( )
inlinefinalvirtual

Implements ROOT::Experimental::Internal::RIOSharedBase.

Definition at line 57 of file RDrawable.hxx.

◆ operator bool()

template<class T>
ROOT::Experimental::Internal::RIOShared< T >::operator bool ( ) const
inline

Definition at line 75 of file RDrawable.hxx.

◆ operator->() [1/2]

template<class T>
const T* ROOT::Experimental::Internal::RIOShared< T >::operator-> ( ) const
inline

Definition at line 80 of file RDrawable.hxx.

◆ operator->() [2/2]

template<class T>
T* ROOT::Experimental::Internal::RIOShared< T >::operator-> ( )
inline

Definition at line 81 of file RDrawable.hxx.

◆ operator=()

template<class T>
RIOShared& ROOT::Experimental::Internal::RIOShared< T >::operator= ( const std::shared_ptr< T > &  ptr)
inline

Definition at line 68 of file RDrawable.hxx.

◆ reset()

template<class T>
void ROOT::Experimental::Internal::RIOShared< T >::reset ( )
inline

Definition at line 85 of file RDrawable.hxx.

◆ SetShared()

template<class T>
virtual void ROOT::Experimental::Internal::RIOShared< T >::SetShared ( void shared)
inlinefinalvirtual

Implements ROOT::Experimental::Internal::RIOSharedBase.

Definition at line 58 of file RDrawable.hxx.

Member Data Documentation

◆ fIO

template<class T>
T* ROOT::Experimental::Internal::RIOShared< T >::fIO {nullptr}
private

plain pointer for IO

Definition at line 53 of file RDrawable.hxx.

◆ fShared

template<class T>
std::shared_ptr<T> ROOT::Experimental::Internal::RIOShared< T >::fShared
private

! holder of object

Definition at line 52 of file RDrawable.hxx.


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