TObjectSet
class description - source file - inheritance tree
protected:
virtual Bool_t DoOwner(Bool_t done = kTRUE)
public:
TObjectSet TObjectSet(const Char_t* name, TObject* obj = 0, Bool_t makeOwner = kTRUE)
TObjectSet TObjectSet(TObject* obj = 0, Bool_t makeOwner = kTRUE)
TObjectSet TObjectSet(TObjectSet&)
virtual void ~TObjectSet()
virtual TObject* AddObject(TObject* obj, Bool_t makeOwner = kTRUE)
virtual void Browse(TBrowser* b)
static TClass* Class()
virtual void Delete(Option_t* opt)
virtual TObject* GetObject() const
virtual Long_t HasData() const
virtual TClass* IsA() const
virtual Bool_t IsOwner() const
virtual void SetObject(TObject* obj)
virtual TObject* SetObject(TObject* obj, Bool_t makeOwner)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
TObject* fObj TObject to be inserted
public:
static const TObjectSet::EOwnerBits kIsOwner
See also
-
TVolume, TVolumeView
TObjectSet - is a container TDataSet
This means this object has an extra pointer to an embedded
TObject.
Terminology: This TObjectSet may be an OWNER of the embeded TObject
If the container is the owner it can delete the embeded object
otherwsie it leaves that object "as is"
TObjectSet(const Char_t *name, TObject *obj, Bool_t makeOwner):TDataSet(name)
TObjectSet(TObject *obj,Bool_t makeOwner) : TDataSet("unknown","TObjectSet")
~TObjectSet()
Attn.: virtual TObject::Delete will be called via virtual dtor of TDataSet
void Delete(Option_t *opt)
void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).
TObject* SetObject(TObject *obj,Bool_t makeOwner)
- Replace the embedded object with a new supplied
- Destroy the preivous embedded object if this is its owner
- Return the previous embedded object if any
TObject* AddObject(TObject *obj,Bool_t makeOwner)
Aliase for SetObject method
Bool_t DoOwner(Bool_t done)
Set / Reset the ownerships and returns the previous
status of the ownerships.
Inline Functions
TObject* GetObject() const
TObject* SetObject(TObject* obj, Bool_t makeOwner)
Long_t HasData() const
Bool_t IsOwner() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TObjectSet TObjectSet(TObjectSet&)
Author: Valery Fine(fine@bnl.gov) 25/12/98
Last update: root/star:$Name: $:$Id: TObjectSet.cxx,v 1.1.1.1 2000/05/16 17:00:48 rdm Exp $
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.