[root] / trunk / core / base / src / TFolder.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TFolder.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 16628 byte(s)
Diff to previous 38699
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 38699 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 31 16:03:38 2011 UTC (3 years, 9 months ago) by pcanal
File length: 16608 byte(s)
Diff to previous 38685
Have TFolder::FindFullPathName return a relative path (and hence a usable path) when called from a lower level node (see http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=12477&start=15#p53966)

Revision 38685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 31 03:40:48 2011 UTC (3 years, 9 months ago) by pcanal
File length: 16553 byte(s)
Diff to previous 38683
Properly detect that an object inherits from TClass (and thus avoid mis-using it) (see http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=12477&start=15#p53957)

Revision 38683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 30 21:57:08 2011 UTC (3 years, 9 months ago) by pcanal
File length: 16288 byte(s)
Diff to previous 38682
FindFullPathName now 'works' also if called from a node other than the top node (gROOT->GetRootFolder()) but returns a relative path name

Revision 38682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 30 21:40:55 2011 UTC (3 years, 9 months ago) by pcanal
File length: 16314 byte(s)
Diff to previous 38681
Do not add 'root' twice in the folder full path name

Revision 38681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 30 21:17:39 2011 UTC (3 years, 9 months ago) by pcanal
File length: 16207 byte(s)
Diff to previous 38679
Fix documentation. Do not add / twice when not meaning it

Revision 38679 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 30 20:28:43 2011 UTC (3 years, 9 months ago) by pcanal
File length: 16191 byte(s)
Diff to previous 37531
Update FindFullPathName to insert the //root part at the beginning as expected by FindObject

Revision 37531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 20:38:06 2010 UTC (4 years, 1 month ago) by pcanal
File length: 16188 byte(s)
Diff to previous 35850
Fix several memory leaks (TSchemaRuleSet, TClass, TFolder, stress, TStreamerInfo, TFile, TFree)

Introduce a new preprocessor symbol (R__COMPLETE_MEM_TERMINATION) that allows for
better tracking of memory leak.   When ROOT is compiled with this symbols is defined,
globally held objects will be deleted at the time of the process termination.

With this symbol defined, some tests (root.exe -b -l -q ; test/stress ;) run under
'valgrind --leak-check=yes' with no memory leak reports (but still a few still
reacheable blocks).   However, this does not yet support (i.e. segfault at termination) 
the case where TFunctions are created on the 'CINT' stack (and thus fails roottest) and
some uses of CINT functions for fitting ...  and probably also fails on Windows.

Revision 35850 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 28 16:02:10 2010 UTC (4 years, 3 months ago) by rdm
File length: 15540 byte(s)
Diff to previous 35605
fix coverity 14293.

Revision 35605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 15:28:12 2010 UTC (4 years, 4 months ago) by rdm
File length: 15316 byte(s)
Diff to previous 34940
fix coverity 10824.

Revision 34940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 10:54:19 2010 UTC (4 years, 5 months ago) by brun
File length: 15225 byte(s)
Diff to previous 34885
Protect TFolder::FindObject in case the argument length is greater than 1024

Revision 34885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 20 13:33:08 2010 UTC (4 years, 5 months ago) by pcanal
File length: 15069 byte(s)
Diff to previous 34199
Fix uninitialized var

Revision 34199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 30 09:03:42 2010 UTC (4 years, 6 months ago) by brun
File length: 15040 byte(s)
Diff to previous 27436
Fix format in Error statement

Revision 27436 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 12 14:54:52 2009 UTC (5 years, 11 months ago) by rdm
File length: 15036 byte(s)
Diff to previous 22961
fix problem with wildcard handling in TFolder::ls() causing errors like:
Error in <TRegexp::Index>: Bad Regular Expression

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 14881 byte(s)
Diff to previous 20877
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 14881 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 14881 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 14931 byte(s)
Diff to previous 19763
remove :$ from tag line

Revision 19763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 6 18:47:28 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 14941 byte(s)
Diff to previous 17548
put punctuation in method comments.

Revision 17548 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 28 18:37:23 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14733 byte(s)
Diff to previous 17501
-Replace the calls to TVirtualIO by new calls in TBuffer or TDirectory

Revision 17501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 11:47:53 2007 UTC (8 years ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14750 byte(s)
Diff to previous 17456
Replace the call via CINT to TFile::SaveObjectAs by a direct call
to TVirtualIO::SaveObjectAs.

Revision 17456 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 09:45:08 2007 UTC (8 years ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14770 byte(s)
Diff to previous 16589
emove dependency from TFile (thanks to new function TBuffer::GetVersionOwner)

Revision 16589 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 20 21:07:40 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14841 byte(s)
Diff to previous 16555
Add an optional argument Option_t *option="" to all SaveAs functions.

Revision 16555 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 19 10:58:25 2006 UTC (8 years, 3 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14831 byte(s)
Diff to previous 13258
Make all SaveAs functions const.

Revision 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/base/src/TFolder.cxx
File length: 14823 byte(s)
Diff to previous 12606
White spaces and comments update

Revision 12606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 3 09:56:13 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14798 byte(s)
Diff to previous 6076
Fix coding conventions violations.

Revision 6076 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 9 18:35:17 2003 UTC (11 years, 11 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14668 byte(s)
Diff to previous 5717
Add a new constructor to class TFolder.
   TFolder(const char* name, const char* title)
This constructor creates a default collection of type TList.

Revision 5717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 14366 byte(s)
Diff to previous 5105
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.

Revision 5105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 9 21:22:18 2002 UTC (12 years, 5 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14369 byte(s)
Diff to previous 4565
In TFolder destructor, call fFolders->Clear instead of fFolders->Delete.
Clear will automatically delete the objects in the folder if the folder
has the ownership.

Revision 4565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 18 08:43:30 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14369 byte(s)
Diff to previous 3748
Add explicit calls to the base classes copy constructors in the copy constructors.
This is required by gcc on MacOS X

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 14352 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 14352 byte(s)
Diff to previous 3655
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3655 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 12 20:58:48 2002 UTC (13 years ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14369 byte(s)
Diff to previous 3581
Fix a bug in TFolder::IsOwner. Test should be
   if (!fFolders) return kFALSE;
and not
   if (fFolders) return kFALSE;

Revision 3581 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 4 10:20:05 2002 UTC (13 years ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 14368 byte(s)
Diff to previous 2557
Implememt logic for TFolder ownership.
A folder ownership can be set in two ways:
 - by calling TFolder::SetOwner
 - by calling TCollection::SetOwner on the collection specified in TFolder::AddFolder

Revision 2557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 10 16:17:35 2001 UTC (13 years, 6 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 13325 byte(s)
Diff to previous 2535
Add some protections in case a folder has been created via the default constructor.
Add a comment in the default constructor to indicate the normal procedure to create a folder
using TFolder::AddFolder.

Revision 2535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 6 13:22:42 2001 UTC (13 years, 6 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 13080 byte(s)
Diff to previous 1895
Add new function TFolder::saveAs(cont char* filename)
// Save all objects in this folder in filename
// Each object in this folder will have a key in the file where the name of
// the key will be the name of teh object.

Revision 1895 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 4 13:59:37 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 12617 byte(s)
Diff to previous 1873
In TFolder::Add, set the bit kMustCleanup. When the object will be deleted,
its reference from folders will also be removed.

Revision 1873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 29 11:25:48 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 12587 byte(s)
Diff to previous 1866
Add a missing return statement in function Occurence.

Revision 1866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 29 10:53:42 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 12573 byte(s)
Diff to previous 1205
Add a protection in function FindObjectAny.
Add a new function TFolder::Occurence returning the occurence number of an object
in a folder in case multiple objects have the same name.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 11826 byte(s)
Diff to previous 812
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 812 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 22 19:24:44 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/base/src/TFolder.cxx
File length: 11809 byte(s)
Diff to previous 664
changed the comparisons obj->IsA() == TClass::Class() to
obj->InheritsFrom(TClass::Class()) since now we can also have TQClass
classes. Several global variables still need cleaning up.

Revision 664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 14 19:53:45 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 11820 byte(s)
Diff to previous 618
Modify comments in the description of the TFolder class.

Revision 618 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 11 06:19:57 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 11979 byte(s)
Diff to previous 607
Implement the functions FindObject, FindObjectAny and new functions
FindFullPathname.

Revision 607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 8 07:38:33 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 11053 byte(s)
Diff to previous 583
Several changes and new functions added. The folder service now added
to TROOT and several other Root classes.

Revision 583 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 6 09:29:20 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 9224 byte(s)
Diff to previous 577
minor changes for CVS headers

Revision 577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 11:21:06 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 9143 byte(s)
Diff to previous 565
Implement TFolder::FindObject(Tobject *obj) const to make SGI/CC compiler happy

Revision 565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 09:14:08 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 8920 byte(s)
Diff to previous 556
Several changes in the new class TFolder.
The constructor has an additional parameter to specify an existing
collection.
A new function TFolder::AddFolder has been added.

Revision 556 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Sep 4 10:44:42 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/base/src/TFolder.cxx
File length: 6067 byte(s)
Add new class TFolder

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9