Skip to content
Snippets Groups Projects
  1. Jan 29, 2007
  2. Jan 28, 2007
  3. Jan 26, 2007
    • Philippe Canal's avatar
      - Remove the #define private public since it is no longer used (we · 19b6e228
      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
      19b6e228
    • Philippe Canal's avatar
      Insure that CINT knows about the privacy of the destructor · d11b8907
      Philippe Canal authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@17534 27541ba8-7e3a-0410-8455-c3a389f83636
      d11b8907
    • Rene Brun's avatar
      Fix a typo · 19f5f3b7
      Rene Brun authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@17533 27541ba8-7e3a-0410-8455-c3a389f83636
      19f5f3b7
    • Rene Brun's avatar
      The functions TRandom::ReadRandom and TRandom::WriteRandom invoke now the · 3499c0e6
      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
      3499c0e6
    • Rene Brun's avatar
      The functions TObject::Read and TObject::Write invoke now the · 0a58284d
      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
      0a58284d
    • Rene Brun's avatar
      Delete the functions TFileIO::ReadObject and TFileIO::WriteObject. · b1e69576
      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
      b1e69576
    • Rene Brun's avatar
      Delete the functions TVirtualIO::ReadObject and TVirtualIO::WriteObject. · f1af4ab1
      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
      f1af4ab1
    • Rene Brun's avatar
      Add the following new functions: · 882d3993
      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
      882d3993
    • Rene Brun's avatar
      Add the following new functions: · 12399502
      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
      12399502
    • Olivier Couet's avatar
      - From Timur: · c3523a03
      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
      c3523a03
    • Olivier Couet's avatar
      - From Timur: · da4c284e
      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
      da4c284e
    • Rene Brun's avatar
      From Valeri Fine: · 5f75f207
      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
      5f75f207
    • Rene Brun's avatar
      From Valeri Fine: · ddbef477
      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
      ddbef477
  4. Jan 25, 2007
    • Philippe Canal's avatar
      When the master tree of a tree 'clone' relationship is deleted, we need · 8a3ab3d3
      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
      8a3ab3d3
    • Rene Brun's avatar
      From Bertrand: · 05b4b887
      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
      05b4b887
Loading