9#ifndef ROOT7_Browsable_RUnique
10#define ROOT7_Browsable_RUnique
Basic class for object holder of any kind.
RUnique(std::unique_ptr< T > &&obj)
const void * GetObject() const final
Returns direct (temporary) object pointer.
void * TakeObject() final
Returns pointer with ownership, normally via unique_ptr<T>::release() or tobj->Clone().
virtual ~RUnique()=default
const TClass * GetClass() const final
Returns class of contained object.
std::unique_ptr< T > fUnique
! holder without IO
TClass instances represent classes, structs and namespaces in the ROOT type system.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.