- Jan 29, 2007
-
-
Rene Brun authored
that TROOT was included via TClass.h -In TClass.h: --Remove the include of TROOT.h --add the following static member static IdMap_t *fgIdMap; //Map from typeid to TClass pointer --add the following functions: static void AddClass(TClass *cl); static void RemoveClass(TClass *cl); --Replace the inline definitions of GetClass functions by template <typename T> TClass* GetClass( T** /* dummy */) { return GetClass((T*)0); } template <typename T> TClass* GetClass(const T** /* dummy */) { return GetClass((T*)0); } -In TClass.cxx: --Instead of forwarding the calls to gROOT->GetClass, move the code originally in TROOT in the TClass::GetClass functions --Move class TMapTypeToTClass from TROOT to TClass. git-svn-id: http://root.cern.ch/svn/root/trunk@17561 27541ba8-7e3a-0410-8455-c3a389f83636
-
Ilka Antcheva authored
Fixed a bug in recently introduced ReinitWorkspace() method - the Style tab was not cleared if the selected object does not have inherited or implemented editor. git-svn-id: http://root.cern.ch/svn/root/trunk@17560 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17558 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17557 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17556 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17555 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
of classes to be recompiled when chamging TClass.h in the future. git-svn-id: http://root.cern.ch/svn/root/trunk@17554 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
from TQObject.h. git-svn-id: http://root.cern.ch/svn/root/trunk@17553 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
a small fix to enable manipulation with specular light component. git-svn-id: http://root.cern.ch/svn/root/trunk@17552 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17551 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 28, 2007
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17550 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17549 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17548 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17547 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
TBuffer::kCannotHandleMemberWiseStreaming. git-svn-id: http://root.cern.ch/svn/root/trunk@17546 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
functions in TBuffer. git-svn-id: http://root.cern.ch/svn/root/trunk@17545 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17544 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
in TBuffer. git-svn-id: http://root.cern.ch/svn/root/trunk@17543 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
------- git-svn-id: http://root.cern.ch/svn/root/trunk@17542 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17541 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
virtual TProcessID *ReadProcessID(UShort_t pidf); virtual UShort_t WriteProcessID(TProcessID *pid); git-svn-id: http://root.cern.ch/svn/root/trunk@17540 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17539 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
-Implement the following new functions: Some of these functions were implemented (temporarily) in the now obsolete class TVirtualIO/TFileIO. virtual TObject *CloneObject(const TObject *obj); virtual TObject *FindObjectAnyFile(const char * /*name*/) const {return 0;} virtual TFile *OpenFile(const char * /*name*/, Option_t * /*option*/ = "", const char * /*ftitle*/ = "", Int_t /*compress*/ = 1, Int_t /*netopt*/ = 0) {return 0;} virtual Int_t SaveObjectAs(const TObject * /*obj*/, const char * /*filename*/="", Option_t * /*option*/=""); virtual void SetTRefAction(TObject * /*ref*/, TObject * /*parent*/) {} git-svn-id: http://root.cern.ch/svn/root/trunk@17538 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
-Add the following new functions that are required to complete the separation of base and cont from the I/O sub-system. Some of these functions were implemented (temporarily) in the now obsolete class TVirtualIO/TFileIO. // Special basic ROOT objects and collections virtual TProcessID *GetLastProcessID(TRefTable *reftable) const = 0; virtual UInt_t GetTRefExecId() = 0; virtual TProcessID *ReadProcessID(UShort_t pidf) = 0; virtual UShort_t WriteProcessID(TProcessID *pid) = 0; // Utilities for TClonesArray virtual void ForceWriteInfo(TClonesArray *a) = 0; virtual Int_t ReadClones (TClonesArray *a, Int_t nobjects) = 0; virtual Int_t WriteClones(TClonesArray *a, Int_t nobjects) = 0; git-svn-id: http://root.cern.ch/svn/root/trunk@17537 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
This enum is used by TClonesArray (cannot reference TBufferFile). git-svn-id: http://root.cern.ch/svn/root/trunk@17536 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 26, 2007
-
-
Philippe Canal authored
really on the Shadow classes to replace this technique). - If the destructor of a class is not public, we can not create array of object (because in the case where one of the constructor would throw an exception, the compiler needs to delete the objects in the array it has already created). [This lead to compilation error now that the dictionary are respecting the class privacy]. - ACLiC will now respect/inforce the access rule (private/protected) git-svn-id: http://root.cern.ch/svn/root/trunk@17535 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17534 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@17533 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
new functions TDirectory::ReadTObject and TDirectory::WriteTObject. git-svn-id: http://root.cern.ch/svn/root/trunk@17532 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
new functions TDirectory::ReadTObject and TDirectory::WriteTObject. git-svn-id: http://root.cern.ch/svn/root/trunk@17531 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
They are now implemented in TDirectoryFile. git-svn-id: http://root.cern.ch/svn/root/trunk@17530 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
They are now implemented in TDirectory. git-svn-id: http://root.cern.ch/svn/root/trunk@17529 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
virtual Int_t ReadTObject(TObject *obj, const char *keyname); virtual Int_t WriteTObject(const TObject *obj, const char *name=0, Option_t *option=""); Add an optional argument bufsize in the following functions virtual Int_t Write(const char *name=0, Int_t opt=0, Int_t bufsize=0); virtual Int_t Write(const char *name=0, Int_t opt=0, Int_t bufsize=0) const ; virtual Int_t WriteObjectAny(const void *obj, const char *classname, const char *name, Option_t *option="", Int_t bufsize=0); virtual Int_t WriteObjectAny(const void *obj, const TClass *cl, const char *name, Option_t *option="", Int_t bufsize=0); git-svn-id: http://root.cern.ch/svn/root/trunk@17528 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
virtual Int_t ReadTObject(TObject *obj, const char *keyname); virtual Int_t WriteTObject(const TObject *obj, const char *name=0, Option_t *option=""); Add an optional argument bufsize in the following functions virtual Int_t Write(const char *name=0, Int_t opt=0, Int_t bufsize=0); virtual Int_t Write(const char *name=0, Int_t opt=0, Int_t bufsize=0) const ; virtual Int_t WriteObjectAny(const void *obj, const char *classname, const char *name, Option_t *option="", Int_t bufsize=0); virtual Int_t WriteObjectAny(const void *obj, const TClass *cl, const char *name, Option_t *option="", Int_t bufsize=0); Add the following static member static Bool_t fgAddDirectory; //!flag to add histograms, graphs,etc to the directory and the functions static void AddDirectory(Bool_t add=kTRUE); // Sets the flag controlling the automatic add objects like histograms, TGraph2D, etc // in memory // // By default (fAddDirectory = kTRUE), these objects are automatically added // to the list of objects in memory. // Note that in the classes like TH1, TGraph2D supporting this facility, // one object can be removed from its support directory // by calling object->SetDirectory(0) or object->SetDirectory(dir) to add it // to the list of objects in the directory dir. // // NOTE that this is a static function. To call it, use; // TDirectory::AddDirectory static Bool_t AddDirectoryStatus(); // static function: see TDirectory::AddDirectory for more comments These two functions are good alternatives to the same functions in TH1. The functions in TH1 are still kept for back compatibility. git-svn-id: http://root.cern.ch/svn/root/trunk@17527 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
glparametric.C - new tutorials, shows how to build and draw 4 different parametric surfaces. git-svn-id: http://root.cern.ch/svn/root/trunk@17526 27541ba8-7e3a-0410-8455-c3a389f83636
-
Olivier Couet authored
1. TGLParametricEquation. New class to define parametric surface. It can be defined by a) three equation in a "string form" (mathematical expression, the same as TF2) and as a pointer to function. 2. TGLParametricPlot. Painter to draw parametric surface. It has most of features other gl-painters have - box cut, zooming etc. + 21 color "schemes": you can change the color of surface (which is under cursor) by pressing 's' or 'S' - the same as TGLTF3Painter + wireframe mode ('w' or 'W' key - temporary solution). git-svn-id: http://root.cern.ch/svn/root/trunk@17525 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
New tutorial illustrating how to use Qt with ROOT and Qt git-svn-id: http://root.cern.ch/svn/root/trunk@17524 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
TQtSymbolCodec.h: ================ - remove the compilation warning TGQt.cxx, TGQt.h ================ - Two new methods: SetFileName GetNewFileName to generate the file names for the simple animations - Add QTDIR to include path and lib path to build the Qt-based applications via ACliC - Fix to take in account the pixmap file name may be followed by the sumbol "+NN" TQtWidget.cxx: ============= - Remove the CPP flags that introduced the redundant ROOT version dependency. - Fix to take in account the pixmap file name may be followed by the symbol "+NN" LinkDef.h: =========== Add two ROOT C++ function (to be ROOT Slots): QConnectCint QConnectTerminate and the new class TQtRootSlot to the ROOT dictionary TQtMarker: ========= - Copy ctor and operator=() have been introduced QtWidget.h, TQtTimer.h, TQtClientWidget.h TQtClientFilter.h, TQMimeTypes.h ===================================================================== - Clean up. Remove the redundant CPP flags TQtApplication.h ================ Clean up. The dummy copy ctor and operator=() have been introduced New TQtRootSlot class: ====================== (see: TQtRootSlot.h, TQtRootSlot.cxx) The new class TQtRootSlot to connect the Qt signals with the arbitrary ROOT slots. git-svn-id: http://root.cern.ch/svn/root/trunk@17523 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 25, 2007
-
-
Philippe Canal authored
to reset the address of the branches of the clone ... however we need to reset the address only for the cloned branches. In particular this means that calling ResetBranchAddresses on the clone tree is over-zealous (it reset branches that may have been added by the user after the cloning). Also in the reseting of the branch depends (because of TNtuple and TNtupleD) not only of the type of the branch object but also on the type of the TTree. (See TNtuple::ResetBranchAddress(TBranch*) for the explanation why). git-svn-id: http://root.cern.ch/svn/root/trunk@17522 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
Added support for MSVC 8.0 (embedding manifest files) in test/Makefile.arch, test/Makefile and test/RootShower/Makefile Will avoid the kind of problem as reported at: <http://savannah.cern.ch/bugs/?23279> And will also remove all .manifest files in test and RootShower directory git-svn-id: http://root.cern.ch/svn/root/trunk@17521 27541ba8-7e3a-0410-8455-c3a389f83636
-