9#ifndef ROOT7_Browsable_RShared
10#define ROOT7_Browsable_RShared
Basic class for object holder of any kind.
void * GetShared() const final
Returns pointer on existing shared_ptr<T>
RShared(std::shared_ptr< T > &&obj)
std::shared_ptr< T > fShared
! holder without IO
RShared(std::shared_ptr< T > obj)
const TClass * GetClass() const final
Returns class of contained object.
virtual ~RShared()=default
const void * GetObject() const final
Returns direct (temporary) object pointer.
RHolder * DoCopy() const final
Create copy of container, works only when pointer can be shared.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Namespace for new ROOT classes and functions.