Log of /trunk/core/base/src/TFileInfo.cxx
Parent Directory
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
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
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
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
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
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
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
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
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."
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.