Public Types | |
| enum | |
| enum | |
| enum | EDeprecatedStatusBits |
| enum | EStatusBits |
Public Member Functions | |
| Option (T *&ref, Int_t size, const TString &name, const TString &desc) | |
| virtual | ~Option () |
| void | AbstractMethod (const char *method) const |
| Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it. | |
| virtual void | AddPreDefVal (const T &) |
| void | AddPreDefVal (const Bool_t &) |
| void | AddPreDefVal (const Float_t &) |
| virtual void | AppendPad (Option_t *option="") |
| Append graphics object to current pad. | |
| virtual void | Browse (TBrowser *b) |
| Browse object. May be overridden for another default action. | |
| ULong_t | CheckedHash () |
| Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
| virtual const char * | ClassName () const |
| Returns name of class to which the object belongs. | |
| virtual void | Clear (Option_t *="") |
| virtual TObject * | Clone (const char *newname="") const |
| Make a clone of an object using the Streamer facility. | |
| virtual Int_t | Compare (const TObject *obj) const |
| Compare abstract method. | |
| virtual void | Copy (TObject &object) const |
| Copy this to obj. | |
| virtual void | Delete (Option_t *option="") |
| Delete this object. | |
| const TString & | Description () const |
| virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
| Computes distance from point (px,py) to the object. | |
| virtual void | Draw (Option_t *option="") |
| Default Draw method for all objects. | |
| virtual void | DrawClass () const |
| Draw class inheritance tree of the class to which this object belongs. | |
| virtual TObject * | DrawClone (Option_t *option="") const |
| Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1). | |
| virtual void | Dump () const |
| Dump contents of object on stdout. | |
| virtual void | Error (const char *method, const char *msgfmt,...) const |
| Issue error message. | |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| Execute method on this object with the given parameter string, e.g. | |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| Execute method on this object with parameters stored in the TObjArray. | |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| Execute action corresponding to an event at (px,py). | |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| Issue fatal error message. | |
| virtual TObject * | FindObject (const char *name) const |
| Must be redefined in derived classes. | |
| virtual TObject * | FindObject (const TObject *obj) const |
| Must be redefined in derived classes. | |
| Int_t | GetArraySize () const override |
| virtual Option_t * | GetDrawOption () const |
| Get option used by the graphics system to draw this object. | |
| virtual const char * | GetIconName () const |
| Returns mime type name of object. | |
| const char * | GetName () const override |
| Returns name of object. | |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| Returns string containing info about the object at position (px,py). | |
| virtual Option_t * | GetOption () const |
| virtual const char * | GetTitle () const |
| Returns title of object. | |
| virtual UInt_t | GetUniqueID () const |
| Return the unique object id. | |
| TString | GetValue (Int_t i) const |
| TString | GetValue (Int_t i) const override |
| TString | GetValue (Int_t) const |
| virtual Bool_t | HandleTimer (TTimer *timer) |
| Execute action in response of a timer timing out. | |
| virtual ULong_t | Hash () const |
| Return hash value for this object. | |
| Bool_t | HasInconsistentHash () const |
| Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
| Bool_t | HasPreDefinedVal () const override |
| virtual void | Info (const char *method, const char *msgfmt,...) const |
| Issue info message. | |
| virtual Bool_t | InheritsFrom (const char *classname) const |
| Returns kTRUE if object inherits from class "classname". | |
| virtual Bool_t | InheritsFrom (const TClass *cl) const |
| Returns kTRUE if object inherits from TClass cl. | |
| virtual void | Inspect () const |
| Dump contents of this object in a graphics canvas. | |
| void | InvertBit (UInt_t f) |
| TClass * | IsA () const override |
| Bool_t | IsArrayOpt () const override |
| Bool_t | IsDestructed () const |
| IsDestructed. | |
| virtual Bool_t | IsEqual (const TObject *obj) const |
| Default equal comparison (objects are equal if they have the same address in memory). | |
| virtual Bool_t | IsFolder () const |
| Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
| Bool_t | IsOnHeap () const |
| Bool_t | IsPreDefinedVal (const TString &) const override |
| Bool_t | IsSet () const |
| virtual Bool_t | IsSortable () const |
| Bool_t | IsZombie () const |
| virtual void | ls (Option_t *option="") const |
| The ls function lists the contents of a class on stdout. | |
| 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 class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). | |
| virtual Bool_t | Notify () |
| This method must be overridden to handle object notification (the base implementation is no-op). | |
| void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
| Use this method to declare a method obsolete. | |
| void | operator delete (void *, size_t) |
| Operator delete for sized deallocation. | |
| void | operator delete (void *ptr) |
| Operator delete. | |
| void | operator delete (void *ptr, void *vp) |
| Only called by placement new when throwing an exception. | |
| void | operator delete[] (void *, size_t) |
| Operator delete [] for sized deallocation. | |
| void | operator delete[] (void *ptr) |
| Operator delete []. | |
| void | operator delete[] (void *ptr, void *vp) |
| Only called by placement new[] when throwing an exception. | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| virtual void | Paint (Option_t *option="") |
| This method must be overridden if a class wants to paint itself. | |
| virtual void | Pop () |
| Pop on object drawn in a pad to the top of the display list. | |
| virtual void | Print (Option_t *option="") const |
| This method must be overridden when a class wants to print itself. | |
| void | Print (std::ostream &, Int_t levelofdetail=0) const override |
| virtual void | PrintPreDefs (std::ostream &, Int_t levelofdetail=0) const |
| virtual Int_t | Read (const char *name) |
| Read contents of object with specified name from the current directory. | |
| virtual void | RecursiveRemove (TObject *obj) |
| Recursively remove this object from a list. | |
| void | ResetBit (UInt_t f) |
| virtual void | SaveAs (const char *filename="", Option_t *option="") const |
| Save this object in the file specified by filename. | |
| virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
| Save a primitive as a C++ statement(s) on output stream "out". | |
| void | SetBit (UInt_t f) |
| void | SetBit (UInt_t f, Bool_t set) |
| Set or unset the user status bits as specified in f. | |
| virtual void | SetDrawOption (Option_t *option="") |
| Set drawing option for object. | |
| virtual void | SetUniqueID (UInt_t uid) |
| Set the unique object id. | |
| Bool_t | SetValue (const TString &val, Int_t i=0) override |
| set value for option | |
| virtual Bool_t | SetValue (const TString &vs, Int_t i=-1) |
| set value for option | |
| void | Streamer (TBuffer &) override |
| Stream an object of class TObject. | |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | SysError (const char *method, const char *msgfmt,...) const |
| Issue system error message. | |
| Bool_t | TestBit (UInt_t f) const |
| Int_t | TestBits (UInt_t f) const |
| virtual const char * | TheName () const |
| virtual void | UseCurrentStyle () |
| Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. | |
| T & | Value (Int_t i) |
| const T & | Value (Int_t i) const override |
| virtual void | Warning (const char *method, const char *msgfmt,...) const |
| Issue warning message. | |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| Write this object to the current directory. | |
| virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
| Write this object to the current directory. | |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| Return destructor only flag. | |
| static Bool_t | GetObjectStat () |
| Get status of object stat flag. | |
| static void | SetDtorOnly (void *obj) |
| Set destructor only flag. | |
| static void | SetObjectStat (Bool_t stat) |
| Turn on/off tracking of objects in the TObjectTable. | |
Public Attributes | |
| Int_t | fSize |
| T ** | fVRefPtr |
Protected Types | |
| enum | |
Protected Member Functions | |
| virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
| Interface to ErrorHandler (protected). | |
| virtual Bool_t | IsPreDefinedValLocal (const T &) const |
| Bool_t | IsPreDefinedValLocal (const TString &val) const |
| void | MakeZombie () |
| void | SetValueLocal (const TString &val, Int_t) |
| void | SetValueLocal (const TString &val, Int_t) |
Static Protected Member Functions | |
| static MsgLogger & | Log () |
| static void | SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE) |
| Save object constructor in the output stream "out". | |
| static void | SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr) |
| Save invocation of primitive Draw() method Skipped if option contains "nodraw" string. | |
| static TString | SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Int_t flag=0) |
| Save array in the output stream "out" as vector. | |
Protected Attributes | |
| std::vector< T > | fPreDefs |
| T * | fRefPtr |
Static Private Member Functions | |
| static void | AddToTObjectTable (TObject *) |
| Private helper function which will dispatch to TObjectTable::AddObj. | |
Private Attributes | |
| UInt_t | fBits |
| bit field status word | |
| const TString | fDescription |
| Bool_t | fIsSet |
| const TString | fName |
| TString | fNameAllLower |
| UInt_t | fUniqueID |
| object unique identifier | |
Static Private Attributes | |
| static Longptr_t | fgDtorOnly |
| object for which to call dtor only (i.e. no delete) | |
| static Bool_t | fgObjectStat |
| if true keep track of objects in TObjectTable | |
#include <TMVA/Option.h>
| enum TObject::EStatusBits |
|
inline |
|
inlinevirtual |
Reimplemented from TMVA::Option< T >.
| void TObject::AbstractMethod | ( | const char * | method | ) | const |
Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.
In other word, this method acts as a "runtime purely virtual" warning instead of a "compiler purely virtual" error.
Definition at line 235 of file TObject.cxx.
|
inlinevirtualinherited |
|
inline |
|
inline |
|
staticprivate |
Private helper function which will dispatch to TObjectTable::AddObj.
Included here to avoid circular dependency between header files.
Definition at line 52 of file TObject.cxx.
|
virtual |
Append graphics object to current pad.
In case no current pad is set yet, create a default canvas with the name "c1".
Definition at line 124 of file TObject.cxx.
|
virtual |
Browse object. May be overridden for another default action.
Definition at line 125 of file TObject.cxx.
|
inline |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
The intent is for this routine to be called instead of directly calling the function Hash during "insert" operations. See TObject::HasInconsistenTObjectHash();
(*) The setup is consistent when all classes in the class hierarchy that overload TObject::Hash do call ROOT::CallRecursiveRemoveIfNeeded in their destructor. i.e. it is safe to call the Hash virtual function during the RecursiveRemove operation.
|
static |
|
static |
|
inlinestaticconstexpr |
|
virtual |
Returns name of class to which the object belongs.
Definition at line 126 of file TObject.cxx.
|
inlinevirtual |
|
virtual |
Make a clone of an object using the Streamer facility.
If the object derives from TNamed, this function is called by TNamed::Clone. TNamed::Clone uses the optional argument to set a new name to the newly created object.
If the object class has a DirectoryAutoAdd function, it will be called at the end of the function with the parameter gDirectory. This usually means that the object will be appended to the current ROOT directory.
Definition at line 129 of file TObject.cxx.
|
virtual |
Compare abstract method.
Must be overridden if a class wants to be able to compare itself with other objects. Must return -1 if this is smaller than obj, 0 if objects are equal and 1 if this is larger than obj.
Definition at line 130 of file TObject.cxx.
|
virtual |
Copy this to obj.
Definition at line 131 of file TObject.cxx.
|
inlinestatic |
|
virtual |
Delete this object.
Typically called as a command via the interpreter. Normally use "delete" operator when object has been allocated on the heap.
Definition at line 132 of file TObject.cxx.
|
inline |
|
virtual |
Computes distance from point (px,py) to the object.
This member function must be implemented for each graphics primitive. This default function returns a big number (999999).
Definition at line 133 of file TObject.cxx.
|
protectedvirtual |
Interface to ErrorHandler (protected).
Definition at line 56 of file TObject.cxx.
|
virtual |
Default Draw method for all objects.
Definition at line 134 of file TObject.cxx.
|
virtual |
Draw class inheritance tree of the class to which this object belongs.
If a class B inherits from a class A, description of B is drawn on the right side of description of A. Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function. The following picture is the class inheritance tree of class TPaveLabel:
Definition at line 135 of file TObject.cxx.
|
virtual |
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
If pad was not selected - gPad will be used.
Definition at line 136 of file TObject.cxx.
|
virtual |
Dump contents of object on stdout.
Using the information in the object dictionary (class TClass) each data member is interpreted. If a data member is a pointer, the pointer value is printed
The following output is the Dump of a TArrow object:
Definition at line 137 of file TObject.cxx.
|
virtual |
Issue error message.
Use "location" to specify the method where the error occurred. Accepts standard printf formatting arguments.
Definition at line 219 of file TObject.cxx.
|
virtual |
Execute method on this object with the given parameter string, e.g.
"3.14,1,\"text\"".
Definition at line 138 of file TObject.cxx.
|
virtual |
Execute method on this object with parameters stored in the TObjArray.
The TObjArray should contain an argv vector like:
Definition at line 139 of file TObject.cxx.
|
virtual |
Execute action corresponding to an event at (px,py).
This method must be overridden if an object can react to graphics events.
Definition at line 140 of file TObject.cxx.
|
virtual |
Issue fatal error message.
Use "location" to specify the method where the fatal error occurred. Accepts standard printf formatting arguments.
Definition at line 229 of file TObject.cxx.
|
virtual |
Must be redefined in derived classes.
This function is typically used with TCollections, but can also be used to find an object by name inside this object.
Definition at line 141 of file TObject.cxx.
|
virtual |
Must be redefined in derived classes.
This function is typically used with TCollections, but can also be used to find an object inside this object.
Definition at line 142 of file TObject.cxx.
|
inlineoverridevirtual |
Implements TMVA::OptionBase.
|
virtual |
Get option used by the graphics system to draw this object.
Note that before calling object.GetDrawOption(), you must have called object.Draw(..) before in the current pad.
Definition at line 143 of file TObject.cxx.
|
static |
Return destructor only flag.
Definition at line 240 of file TObject.cxx.
|
virtual |
Returns mime type name of object.
Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.
Definition at line 146 of file TObject.cxx.
|
inlineoverride |
|
virtual |
Returns string containing info about the object at position (px,py).
This method is typically overridden by classes of which the objects can report peculiarities for different positions. Returned string will be re-used (lock in MT environment).
Definition at line 148 of file TObject.cxx.
|
static |
Get status of object stat flag.
Definition at line 242 of file TObject.cxx.
|
inlinevirtual |
|
virtual |
Returns title of object.
This default method returns the class title (i.e. description). Classes that give objects a title should override this method.
Definition at line 149 of file TObject.cxx.
|
virtual |
Return the unique object id.
Definition at line 144 of file TObject.cxx.
|
inlinevirtual |
Implements TMVA::OptionBase.
|
inlineoverridevirtual |
Implements TMVA::OptionBase.
|
inlinevirtual |
Implements TMVA::OptionBase.
|
virtual |
Execute action in response of a timer timing out.
This method must be overridden if an object has to react to timers.
Definition at line 150 of file TObject.cxx.
|
virtual |
Return hash value for this object.
Note: If this routine is overloaded in a derived class, this derived class should also add
Otherwise, when RecursiveRemove is called (by ~TObject or example) for this type of object, the transversal of THashList and THashTable containers will will have to be done without call Hash (and hence be linear rather than logarithmic complexity). You will also see warnings like
Definition at line 152 of file TObject.cxx.
|
inline |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
missing call to RecursiveRemove in destructor).
Note: Since the consistency is only tested for during inserts, this routine will return true for object that have never been inserted whether or not they have a consistent setup. This has no negative side-effect as searching for the object with the right or wrong Hash will always yield a not-found answer (Since anyway no hash can be guaranteed unique, there is always a check)
|
inlineoverridevirtual |
Implements TMVA::OptionBase.
|
virtual |
Issue info message.
Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.
Definition at line 209 of file TObject.cxx.
|
virtual |
Returns kTRUE if object inherits from class "classname".
Definition at line 153 of file TObject.cxx.
|
virtual |
Returns kTRUE if object inherits from TClass cl.
Definition at line 154 of file TObject.cxx.
|
virtual |
Dump contents of this object in a graphics canvas.
Same action as Dump but in a graphical form. In addition pointers to other objects can be followed.
The following picture is the Inspect of a histogram object:
Definition at line 155 of file TObject.cxx.
|
inline |
|
inlineoverride |
|
inlineoverridevirtual |
Implements TMVA::OptionBase.
|
inline |
IsDestructed.
|
virtual |
Default equal comparison (objects are equal if they have the same address in memory).
More complicated classes might want to override this function.
Definition at line 157 of file TObject.cxx.
|
virtual |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Definition at line 156 of file TObject.cxx.
|
inline |
|
inlineoverridevirtual |
Implements TMVA::OptionBase.
|
inlineprotectedvirtualinherited |
|
inlineprotected |
|
inline |
|
inlinevirtual |
|
inline |
|
staticprotected |
Definition at line 87 of file Option.cxx.
|
virtual |
The ls function lists the contents of a class on stdout.
Ls output is typically much less verbose then Dump().
Definition at line 164 of file TObject.cxx.
|
inlineprotected |
| void TObject::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 class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
Definition at line 236 of file TObject.cxx.
|
virtual |
This method must be overridden to handle object notification (the base implementation is no-op).
Different objects in ROOT use the Notify method for different purposes, in coordination with other objects that call this method at the appropriate time.
For example, TLeaf uses it to load class information; TBranchRef to load contents of referenced branches TBranchRef; most notably, based on Notify, TChain implements a callback mechanism to inform interested parties when it switches to a new sub-tree.
Definition at line 163 of file TObject.cxx.
| void TObject::Obsolete | ( | const char * | method, |
| const char * | asOfVers, | ||
| const char * | removedFromVers ) const |
Use this method to declare a method obsolete.
Specify as of which version the method is obsolete and as from which version it will be removed.
Definition at line 237 of file TObject.cxx.
| void TObject::operator delete | ( | void * | ptr, |
| size_t | size ) |
Operator delete for sized deallocation.
Definition at line 195 of file TObject.cxx.
| void TObject::operator delete | ( | void * | ptr | ) |
Operator delete.
Definition at line 193 of file TObject.cxx.
| void TObject::operator delete | ( | void * | ptr, |
| void * | vp ) |
Only called by placement new when throwing an exception.
Definition at line 197 of file TObject.cxx.
| void TObject::operator delete[] | ( | void * | ptr, |
| size_t | size ) |
Operator delete [] for sized deallocation.
Definition at line 196 of file TObject.cxx.
| void TObject::operator delete[] | ( | void * | ptr | ) |
Operator delete [].
Definition at line 194 of file TObject.cxx.
| void TObject::operator delete[] | ( | void * | ptr, |
| void * | vp ) |
Only called by placement new[] when throwing an exception.
Definition at line 198 of file TObject.cxx.
|
inline |
|
inline |
|
virtual |
This method must be overridden if a class wants to paint itself.
The difference between Paint() and Draw() is that when a object draws itself it is added to the display list of the pad in which it is drawn (and automatically redrawn whenever the pad is redrawn). While paint just draws the object without adding it to the pad display list.
Definition at line 165 of file TObject.cxx.
|
virtual |
Pop on object drawn in a pad to the top of the display list.
I.e. it will be drawn last and on top of all other primitives.
Definition at line 166 of file TObject.cxx.
|
virtual |
This method must be overridden when a class wants to print itself.
Reimplemented from TObject.
|
inlineoverridevirtual |
Implements TMVA::OptionBase.
|
inlinevirtual |
Reimplemented from TMVA::Option< T >.
|
virtual |
Read contents of object with specified name from the current directory.
First the key with the given name is searched in the current directory, next the key buffer is deserialized into the object. The object must have been created before via the default constructor. See TObject::Write().
Definition at line 168 of file TObject.cxx.
|
virtual |
Recursively remove this object from a list.
Typically implemented by classes that can contain multiple references to a same object.
Definition at line 169 of file TObject.cxx.
|
inline |
|
virtual |
Save this object in the file specified by filename.
otherwise the object is written to filename as a CINT/C++ script. The C++ code to rebuild this object is generated via SavePrimitive(). The "option" parameter is passed to SavePrimitive. By default it is an empty string. It can be used to specify the Draw option in the code generated by SavePrimitive.
The function is available via the object context menu.
Definition at line 170 of file TObject.cxx.
|
virtual |
Save a primitive as a C++ statement(s) on output stream "out".
Definition at line 171 of file TObject.cxx.
|
staticprotected |
Save object constructor in the output stream "out".
Can be used as first statement when implementing SavePrimitive() method for the object
Definition at line 58 of file TObject.cxx.
|
staticprotected |
Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
Definition at line 63 of file TObject.cxx.
|
staticprotected |
Save array in the output stream "out" as vector.
Create unique variable name based on prefix value Returns name of vector which can be used in constructor or in other places of C++ code If flag === kTRUE, just add empty line If flag === 111, check if array is empty and return nullptr or <vectorname>.data()
Definition at line 61 of file TObject.cxx.
|
inline |
| void TObject::SetBit | ( | UInt_t | f, |
| Bool_t | set ) |
Set or unset the user status bits as specified in f.
Definition at line 201 of file TObject.cxx.
|
virtual |
Set drawing option for object.
This option only affects the drawing style and is stored in the option field of the TObjOptLink supporting a TPad's primitive list (TList). Note that it does not make sense to call object.SetDrawOption(option) before having called object.Draw().
Definition at line 172 of file TObject.cxx.
|
static |
Set destructor only flag.
Definition at line 241 of file TObject.cxx.
|
static |
Turn on/off tracking of objects in the TObjectTable.
Definition at line 243 of file TObject.cxx.
|
virtual |
Set the unique object id.
Definition at line 173 of file TObject.cxx.
|
inlineoverridevirtual |
|
virtual |
set value for option
Definition at line 71 of file Option.cxx.
|
inlineprotectedvirtual |
Implements TMVA::OptionBase.
|
inlineprotectedvirtual |
Implements TMVA::OptionBase.
|
override |
Stream an object of class TObject.
|
inline |
|
virtual |
Issue system error message.
Use "location" to specify the method where the system error occurred. Accepts standard printf formatting arguments.
Definition at line 224 of file TObject.cxx.
|
inline |
|
inline |
|
inlinevirtual |
|
virtual |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
Definition at line 174 of file TObject.cxx.
|
inline |
|
inlineoverridevirtual |
Reimplemented from TMVA::Option< T >.
|
virtual |
Issue warning message.
Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.
Definition at line 214 of file TObject.cxx.
|
virtual |
Write this object to the current directory.
For more see the const version of this method.
Definition at line 175 of file TObject.cxx.
|
virtual |
Write this object to the current directory.
The data structure corresponding to this object is serialized. The corresponding buffer is written to the current directory with an associated key with name "name".
Writing an object to a file involves the following steps:
Bufsize can be given to force a given buffer size to write this object. By default, the buffersize will be taken from the average buffer size of all objects written to the current file so far.
If a name is specified, it will be the name of the key. If name is not given, the name of the key will be the name as returned by GetName().
The option can be a combination of: kSingleKey, kOverwrite or kWriteDelete Using the kOverwrite option a previous key with the same name is overwritten. The previous key is deleted before writing the new object. Using the kWriteDelete option a previous key with the same name is deleted only after the new object has been written. This option is safer than kOverwrite but it is slower. NOTE: Neither kOverwrite nor kWriteDelete reduces the size of a TFile– the space is simply freed up to be overwritten; in the case of a TTree, it is more complicated. If one opens a TTree, appends some entries, then writes it out, the behaviour is effectively the same. If, however, one creates a new TTree and writes it out in this way, only the metadata is replaced, effectively making the old data invisible without deleting it. TTree::Delete() can be used to mark all disk space occupied by a TTree as free before overwriting its metadata this way. The kSingleKey option is only used by TCollection::Write() to write a container with a single key instead of each object in the container with its own key.
An object is read from the file into memory via TKey::Read() or via TObject::Read().
The function returns the total number of bytes written to the file. It returns 0 if the object cannot be written.
Definition at line 176 of file TObject.cxx.
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
protected |
|
protected |
| Int_t TMVA::Option< T * >::fSize |
|
private |
| T** TMVA::Option< T * >::fVRefPtr |