26class RooTObjWrap :
public TNamed {
29 RooTObjWrap(
bool isArray=
false) : _isArray(isArray), _owning(false) {} ;
30 RooTObjWrap(
TObject *inObj,
bool isArray =
false) : _isArray(isArray), _owning(false)
35 RooTObjWrap(
const RooTObjWrap& other) :
TNamed(other), _isArray(other._isArray), _owning(false), _list(other._list) {}
36 ~RooTObjWrap()
override {
if (_owning) _list.
Delete() ; } ;
38 void setOwning(
bool flag) { _owning = flag ; }
39 TObject* obj()
const {
return _list.At(0) ; }
46 if (inObj) _list.Add(inObj) ;
#define ClassDefOverride(name, id)
Collection class for internal use, storing a collection of RooAbsArg pointers in a doubly linked list...
void Clear(Option_t *o=nullptr) override
Remove all elements from collection.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
virtual void Delete(Option_t *option="")
Delete this object.