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

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

Parent Directory Parent Directory


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

Revision 48058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 14:47:41 2012 UTC (2 years, 1 month ago) by rdm
File length: 19689 byte(s)
Diff to previous 42868
From Dario:
preparation for the introduction of the new TDataSetManagerAliEn. Also fixes
TUrl issues 99374.

Revision 42868 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 21:45:52 2012 UTC (2 years, 11 months ago) by pcanal
File length: 19125 byte(s)
Diff to previous 42775
   - In TFileCollection::Add(TFileCollection *): fix bug affecting the setting of the index .
   - In the TFileInfo copy constructor: set fIndex to the source fIndex and not to -1 .

Revision 42775 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 23 16:43:54 2012 UTC (3 years ago) by rdm
File length: 19118 byte(s)
Diff to previous 38215
From Sangsu Ryu and Gerri:
- In TFileInfo, add possibility to store an index to be used in Compare() for
  sorting operations.
- Add an argument to TFileCollection::Sort() to control how to sort the
  content (index or using TUrl::Compare). Default behavior is unchanged.

Revision 38215 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 25 09:12:10 2011 UTC (3 years, 10 months ago) by rdm
File length: 18314 byte(s)
Diff to previous 38109
From Gerri:
In TFileInfo::Print(), make sure that fMD5 is defined before using it.
Fixes Savannah #78717.

Revision 38109 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 17 11:21:38 2011 UTC (3 years, 11 months ago) by rdm
File length: 18163 byte(s)
Diff to previous 33518
From Gerri:
TFileInfo initializes a default, empty, MD5, not finalized which generates
a lot of fake error messages when working with TFileCollections.
The MD5 object should only be created when there is a MD5.

Revision 33518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 17 12:31:22 2010 UTC (4 years, 8 months ago) by rdm
File length: 18209 byte(s)
Diff to previous 33488
From Gerri:
add missing protection.

Revision 33488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 12 14:08:29 2010 UTC (4 years, 8 months ago) by rdm
File length: 18193 byte(s)
Diff to previous 33389
From Gerri:
- In TFileInfo::Print(), by default print a compact, one line, output.
  The previous long, multi-line output is still available specifying "L" in
  the options.
- In TFileCollection::Print(), pass the option to TList::Print() so that
  it can be parsed in TFileInfo::Print() add also "T:<default_tree_name>"
  to the option field passed to TFileInfo::Print() so that the default
  tree info can be printed when the compact form is chosen.

Revision 33389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 5 14:18:07 2010 UTC (4 years, 8 months ago) by rdm
File length: 16971 byte(s)
Diff to previous 32930
From Gerri:
In TFileInfo, use method ParseInput() to extract information for the first
argument of the main constructor. This argument can have the format

  <url1>,<url2>,... sz:<size> md5:<md5_ascii> uuid:<uuid> \
                    tree:<name>,<entries>,<first>,<last> \
                    obj:<name>,<class>,<entries>

This allows to automatically load this information when initializing a
TFileCollection from a text file.

Revision 32930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 9 16:18:32 2010 UTC (4 years, 9 months ago) by pcanal
File length: 12783 byte(s)
Diff to previous 30797
Prefer the use of InheritsFrom(TClass*) over InheritsFrom(const char*) as long as 
it does not increase the library dependencies.

Revision 30797 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 19 08:06:27 2009 UTC (5 years, 3 months ago) by brun
File length: 12776 byte(s)
Diff to previous 30689
Fix coding convention

Revision 30689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 12 17:58:45 2009 UTC (5 years, 3 months ago) by rdm
File length: 12775 byte(s)
Diff to previous 28573
From Gerri:
Use Printf(...) instead of cout.

Revision 28573 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 12 14:29:22 2009 UTC (5 years, 8 months ago) by rdm
File length: 12890 byte(s)
Diff to previous 23025
From Gerri:
- Improve the dataset parsing functionality by adding the possibility
  to extract the information on "per-server" base; new methods
  - TFileCollection *GetFilesOnServer(const char *server);
    returning the subset of files on 'server'
  - TMap            *GetFilesPerServer(const char *exclude = 0);
    returning a map of subsets of files on the different servers
  - Add the possibility to store additional meta information in the
    TFileCollection object in the form of TFileInfoMeta objects
  - Add check for duplications; this is base don the UUID of the
    TFileInfo object and make sense only when the UUID is the effective
    UUID of the represented file

Revision 23025 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 7 16:48:00 2008 UTC (6 years, 9 months ago) by rdm
File length: 9703 byte(s)
Diff to previous 22961
From Gerri:
Add several methods to handle sizes and percentage of available files.

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: 9201 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/TFileInfo.cxx
File length: 9201 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/TFileInfo.cxx
File length: 9201 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/TFileInfo.cxx
File length: 9252 byte(s)
Diff to previous 19559
remove :$ from tag line

Revision 19559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 7 00:39:05 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 9262 byte(s)
Diff to previous 19533
Move static methods CreateListFromFile() and CreateListMatching()
to TFileCollection where they make more sense.

Revision 19533 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 2 15:59:28 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 12222 byte(s)
Diff to previous 19507
implement some suggestions from Jan-Fiete concerning combining the path
and object name in the fName so they become unique and the search for them
will be unambiguoes.

Revision 19507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 1 14:23:32 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 11126 byte(s)
Diff to previous 19422
cleanup of TFileInfo and introduction of a new small TFileInfoMeta class.
TFileInfo contains now pure file only info. Optionly TFileInfoMeta objects
(or any user objects) can be added to the fMetaDataList of the TFileInfo.
TFileInfoMeta describes the typical analysis objects meta data, like tree
name, number of entries, etc.

Revision 19422 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 20 15:44:57 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 8448 byte(s)
Diff to previous 19290
fix several bugs reported in savannah issue 28074.

Revision 19290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 9 16:02:30 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 8332 byte(s)
Diff to previous 19287
sanitize the usage of //-> for the different data members.

Revision 19287 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 9 15:26:24 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 8352 byte(s)
Diff to previous 18713
From Jan-Fiete:
add a constant for the staged bit to TFileInfo and a setter for the size.

Revision 18713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 9 12:51:21 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 8353 byte(s)
Diff to previous 18641
From Jan:
- making the behavior similar to standard unix file selection rules.
  If the argument is a directory, we return 0 - nothing selected (until
  now it depended on whether '/' had been at the end).
- An instance of TList was not deleted if the directory could not be opened.

Revision 18641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 3 11:53:23 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 8253 byte(s)
Diff to previous 18621
forgot a Printf() (use Info()).

Revision 18621 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 30 10:44:33 2007 UTC (7 years, 8 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 8251 byte(s)
Diff to previous 15742
From Jan and Gerri:
Added two static methods to create a list of TFileInfo's:

   TList *TFileInfo::CreateList(const char *file)

where 'file' is a text file with each line defining a file URL

   TList *TFileInfo::CreateListMatching(const char *files)

where 'files' is
   i)   directory path; all regular files in the directory are added
   ii)  a file path; a list with a single element is created
   iii) a file-path containing wildcards '*' in the file name; a list with
        all the files consistent with the path are added.

Revision 15742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 9 05:27:55 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/base/src/TFileInfo.cxx
File length: 6152 byte(s)
Diff to previous 15176
From Eddy:
Fix many typos in comments

Revision 15176 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 09:27:12 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/base/src/TFileInfo.cxx
File length: 6147 byte(s)
Diff to previous 15134
Fix coding conventions violations

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/base/src/TFileInfo.cxx
File length: 6085 byte(s)
Diff to previous 14352
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 14352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 21 14:53:11 2006 UTC (8 years, 10 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 5293 byte(s)
Diff to previous 13906
From Jan:
Making TFileInfo sortable by first url treated as string.
Adding GetFirstUrl for convenience.

Revision 13906 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 24 14:39:59 2006 UTC (9 years ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 4954 byte(s)
Diff to previous 13258
fix problem with TMD5 in default ctor of TFileInfo.

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/TFileInfo.cxx
File length: 4908 byte(s)
Diff to previous 12965
White spaces and comments update

Revision 12965 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 16 20:27:01 2005 UTC (9 years, 3 months ago) by pcanal
Original Path: trunk/base/src/TFileInfo.cxx
File length: 4732 byte(s)
Diff to previous 12963
hide unused argument

Revision 12963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 16 04:10:37 2005 UTC (9 years, 3 months ago) by pcanal
Original Path: trunk/base/src/TFileInfo.cxx
File length: 4722 byte(s)
Diff to previous 12824
initialized all pointers data members in default constructor

Revision 12824 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Sep 23 12:53:49 2005 UTC (9 years, 4 months ago) by rdm
Original Path: trunk/base/src/TFileInfo.cxx
File length: 4833 byte(s)
From Andreas:
New class describing a generic file including meta information.

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