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

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

Definition at line 67 of file RDrawable.hxx.

Public Member Functions

 RIOShared ()=default
 
 RIOShared (const std::shared_ptr< T > &ptr)
 
T * get ()
 
const T * get () const
 
std::shared_ptr< T > get_shared () const
 
const voidGetIOPtr () const final
 
bool HasShared () const final
 
voidMakeShared () final
 
 operator bool () const
 
T * operator-> ()
 
const T * operator-> () const
 
RIOSharedoperator= (const std::shared_ptr< T > &ptr)
 
void reset ()
 
void reset_io ()
 
void restore_io ()
 
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 78 of file RDrawable.hxx.

Member Function Documentation

◆ get() [1/2]

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

Definition at line 94 of file RDrawable.hxx.

◆ get() [2/2]

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

Definition at line 93 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 99 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 71 of file RDrawable.hxx.

◆ HasShared()

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

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

Definition at line 72 of file RDrawable.hxx.

◆ MakeShared()

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

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

Definition at line 73 of file RDrawable.hxx.

◆ operator bool()

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

Definition at line 91 of file RDrawable.hxx.

◆ operator->() [1/2]

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

Definition at line 97 of file RDrawable.hxx.

◆ operator->() [2/2]

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

Definition at line 96 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 84 of file RDrawable.hxx.

◆ reset()

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

Definition at line 101 of file RDrawable.hxx.

◆ reset_io()

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

Definition at line 104 of file RDrawable.hxx.

◆ restore_io()

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

Definition at line 107 of file RDrawable.hxx.

◆ SetShared()

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

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

Definition at line 74 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 69 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 68 of file RDrawable.hxx.


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