#ifndef ROOT_TRef
#define ROOT_TRef
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TProcessID;
class TFile;
class TExec;
class TObjArray;
class TRef : public TObject {
protected:
TProcessID *fPID;
static TObjArray *fgExecs;
static TObject *fgObject;
public:
enum { kNotComputed = BIT(12)};
TRef(): fPID(0) { }
TRef(TObject *obj);
TRef(const TRef &ref);
void operator=(TObject *obj);
TRef& operator=(const TRef &ref);
virtual ~TRef() { }
TObject *GetObject() const;
TProcessID *GetPID() const {return fPID;}
Bool_t IsValid() const {return GetUniqueID()!=0 ? kTRUE : kFALSE;}
virtual void SetAction(const char *name);
virtual void SetAction(TObject *parent);
static void SetObject(TObject *obj);
static void SetStaticObject(TObject *obj);
static Int_t AddExec(const char *name);
static TObjArray *GetListOfExecs();
static TObject *GetStaticObject();
friend Bool_t operator==(const TRef &r1, const TRef &r2);
friend Bool_t operator!=(const TRef &r1, const TRef &r2);
ClassDef(TRef,1)
};
#endif
Last change: Wed Jun 25 08:52:06 2008
Last generated: 2008-06-25 08:52
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.