9#ifndef ROOT7_Browsable_RAnyObjectHolder
10#define ROOT7_Browsable_RAnyObjectHolder
15namespace Experimental {
Holder of any object instance.
TClass * fClass
! object class
void * TakeObject() final
Returns pointer with ownership, normally via unique_ptr<T>::release() or tobj->Clone()
virtual ~RAnyObjectHolder()
void * AccessObject() final
Returns plain object pointer without care about ownership, should not be used often.
const TClass * GetClass() const final
Returns class of contained object.
RHolder * DoCopy() const final
Create copy of container, works only when pointer can be shared.
RAnyObjectHolder(TClass *cl, void *obj, bool owner=false)
void * fObj
! plain holder without IO
const void * GetObject() const final
Returns direct (temporary) object pointer.
bool fOwner
! is object owner
Basic class for object holder of any kind.
TClass instances represent classes, structs and namespaces in the ROOT type system.
void Destructor(void *obj, Bool_t dtorOnly=kFALSE)
Explicitly call destructor for object.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...