12 #include "TObjectSet.h"
33 SetTitle(
"TObjectSet");
50 if (fObj && IsOwner() && (TObject::TestBit(kNotDeleted)) )
delete fObj;
67 if (b && fObj) b->Add(fObj);
77 if (fObj && IsOwner())
delete fObj;
87 Bool_t own = IsOwner();
89 if (done) SetBit(kIsOwner);
90 else ResetBit(kIsOwner);
110 TObject *oldObject = fObj;
111 if (IsOwner()) {
delete oldObject; oldObject = 0;}
virtual TObject * AddObject(TObject *obj, Bool_t makeOwner=kTRUE)
Aliase for SetObject method.
virtual Bool_t DoOwner(Bool_t done=kTRUE)
virtual void Delete(Option_t *opt="")
virtual void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).
TObjectSet(const Char_t *name, TObject *obj=0, Bool_t makeOwner=kTRUE)
to be documented
virtual void Delete(Option_t *opt="")
to be documented
virtual void SetObject(TObject *obj)
The depricated method (left here for the sake of the backward compatibility)
virtual void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).
virtual TDataSet * Instance() const
virtual ~TObjectSet()
to be documented