16 #include "RConfigure.h" 26 #undef RemoveDirectory 48 virtual void DoError(
int level,
const char *location,
const char *fmt, va_list va)
const;
98 virtual void Dump()
const;
99 virtual void Execute(
const char *method,
const char *params,
Int_t *error=0);
106 virtual const char *
GetName()
const;
110 virtual const char *
GetTitle()
const;
128 virtual void SaveAs(
const char *filename=
"",
Option_t *option=
"")
const;
141 void operator delete(
void *ptr);
142 void operator delete[](
void *ptr);
143 #ifdef R__SIZEDDELETE 145 void operator delete(
void*, size_t);
146 void operator delete[](
void*, size_t);
148 #ifdef R__PLACEMENTDELETE 149 void operator delete(
void *ptr,
void *vp);
150 void operator delete[](
void *ptr,
void *vp);
162 virtual void Info(
const char *method,
const char *msgfmt, ...)
const 163 #if defined(__GNUC__) && !defined(__CINT__) 164 __attribute__((
format(printf, 3, 4)))
167 virtual void Warning(
const char *method,
const char *msgfmt, ...)
const 168 #if defined(__GNUC__) && !defined(__CINT__) 169 __attribute__((
format(printf, 3, 4)))
172 virtual void Error(
const char *method,
const char *msgfmt, ...)
const 173 #if defined(__GNUC__) && !defined(__CINT__) 174 __attribute__((
format(printf, 3, 4)))
177 virtual void SysError(
const char *method,
const char *msgfmt, ...)
const 178 #if defined(__GNUC__) && !defined(__CINT__) 179 __attribute__((
format(printf, 3, 4)))
182 virtual void Fatal(
const char *method,
const char *msgfmt, ...)
const 183 #if defined(__GNUC__) && !defined(__CINT__) 184 __attribute__((
format(printf, 3, 4)))
189 void MayNotUse(
const char *method)
const;
190 void Obsolete(
const char *method,
const char *asOfVers,
const char *removedFromVers)
const;
virtual void Clear(Option_t *="")
virtual void DoError(int level, const char *location, const char *fmt, va_list va) const
Interface to ErrorHandler (protected).
virtual void SysError(const char *method, const char *msgfmt,...) const
Issue system error message.
virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
virtual UInt_t GetUniqueID() const
Return the unique object id.
object has not been deleted
UInt_t fUniqueID
object unique identifier
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual ULong_t Hash() const
Return hash value for this object.
virtual TObject * DrawClone(Option_t *option="") const
Draw a clone of this object in the current pad.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Computes distance from point (px,py) to the object.
virtual const char * GetIconName() const
Returns mime type name of object.
Bool_t TestBit(UInt_t f) const
static void SetDtorOnly(void *obj)
Set destructor only flag.
Buffer base class used for serializing objects.
static void SetObjectStat(Bool_t stat)
Turn on/off tracking of objects in the TObjectTable.
if object in a pad cannot be picked
Int_t TestBits(UInt_t f) const
virtual void Browse(TBrowser *b)
Browse object. May be overridden for another default action.
static void * ObjectAlloc(size_t size)
Used to allocate a TObject on the heap (via TObject::operator new()).
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
virtual void UseCurrentStyle()
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyl...
std::string printValue(TObject *val)
Print value overload.
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
static std::string format(double x, double y, int digits, int width)
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Returns string containing info about the object at position (px,py).
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
static Long_t GetDtorOnly()
Return destructor only flag.
overwrite existing object with same name
if object in a list can be deleted
virtual void RecursiveRemove(TObject *obj)
Recursively remove this object from a list.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
static Long_t fgDtorOnly
object for which to call dtor only (i.e. no delete)
virtual const char * ClassName() const
Returns name of class to which the object belongs.
#define ClassDef(name, id)
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save this object in the file specified by filename.
virtual void Copy(TObject &object) const
Copy this to obj.
virtual Bool_t Notify()
This method must be overridden to handle object notification.
virtual Bool_t HandleTimer(TTimer *timer)
Execute action in response of a timer timing out.
virtual void Pop()
Pop on object drawn in a pad to the top of the display list.
void MayNotUse(const char *method) const
Use this method to signal that a method (defined in a base class) may not be called in a derived clas...
virtual Int_t Read(const char *name)
Read contents of object with specified name from the current directory.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
void Obsolete(const char *method, const char *asOfVers, const char *removedFromVers) const
Use this method to declare a method obsolete.
TObject()
TObject constructor.
virtual void ls(Option_t *option="") const
The ls function lists the contents of a class on stdout.
virtual Bool_t IsEqual(const TObject *obj) const
Default equal comparison (objects are equal if they have the same address in memory).
virtual void DrawClass() const
Draw class inheritance tree of the class to which this object belongs.
for backward compatibility only, use kMustCleanup
virtual Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
virtual void SetUniqueID(UInt_t uid)
Set the unique object id.
virtual void Delete(Option_t *option="")
Delete this object.
Using a TBrowser one can browse all ROOT objects.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
virtual Bool_t IsSortable() const
if object ctor succeeded but object should not be used
virtual void Execute(const char *method, const char *params, Int_t *error=0)
Execute method on this object with the given parameter string, e.g.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
if object has a TUUID (its fUniqueID=UUIDNumber)
virtual void Inspect() const
Dump contents of this object in a graphics canvas.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Handles synchronous and a-synchronous timer events.
The ROOT global object gROOT contains a list of all defined classes.
virtual Int_t Compare(const TObject *obj) const
Compare abstract method.
write collection with single key
static Bool_t GetObjectStat()
Get status of object stat flag.
if object destructor must call RecursiveRemove()
UInt_t fBits
bit field status word
if object does not want context menu
virtual void Paint(Option_t *option="")
This method must be overridden if a class wants to paint itself.
static Bool_t fgObjectStat
if true keep track of objects in TObjectTable
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to an event at (px,py).
Print a TSeq at the prompt:
virtual void Dump() const
Dump contents of object on stdout.
virtual ~TObject()
TObject destructor.
virtual Option_t * GetOption() const
Mother of all ROOT objects.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
virtual const char * GetTitle() const
Returns title of object.
An array of clone (identical) objects.
Each ROOT class (see TClass) has a linked list of methods.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
if object is referenced by a TRef or TRefArray
virtual Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
static void * ObjectAllocArray(size_t size)
Used to allocate array of TObject on the heap (via TObject::operator new[]()).
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
virtual void SetDrawOption(Option_t *option="")
Set drawing option for object.
virtual const char * GetName() const
Returns name of object.
write object, then delete previous key with same name
void AbstractMethod(const char *method) const
Use this method to implement an "abstract" method that you don't want to leave purely abstract...
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".