9#ifndef ROOT7_Browsable_RShared
10#define ROOT7_Browsable_RShared
15namespace Experimental {
Basic class for object holder of any kind.
std::shared_ptr< T > fShared
! holder without IO
const void * GetObject() const final
Returns direct (temporary) object pointer.
void * GetShared() const final
Returns pointer on existing shared_ptr<T>
RHolder * DoCopy() const final
Create copy of container, works only when pointer can be shared.
RShared(std::shared_ptr< T > obj)
const TClass * GetClass() const final
Returns class of contained object.
RShared(std::shared_ptr< T > &&obj)
virtual ~RShared()=default
TClass instances represent classes, structs and namespaces in the ROOT type system.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.