[root] / trunk / core / cont / inc / TSeqCollection.h Repository:
ViewVC logotype

Log of /trunk/core/cont/inc/TSeqCollection.h

Parent Directory Parent Directory


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

Revision 38082 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 00:52:04 2011 UTC (3 years, 11 months ago) by rdm
File length: 3232 byte(s)
Diff to previous 33807
New method GetLast(), which returns index of last item in collection
(like GetLast() in TObjArray). Issue #77263.

Revision 33807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 07:23:32 2010 UTC (4 years, 7 months ago) by brun
File length: 3194 byte(s)
Diff to previous 22961
From Jason Detwiler:

I put together several functions useful for me in the context of event building.
I have an event structure containing several TClonesArrays, and during event 
building I have the need to merge events and sort their data. So I developed the
following two functions to deal with the events' TClonesArrays during those 
procedures:

void TClonesArray::AbsorbObjects(TClonesArray* tc) 
//Directly move the object pointers from tc to "this" without cloning (copying).
// "this" takes over ownership of all of tc's object pointers. tc is left empty 
//upon return. I preferred this to copying / cloning from one TClonesArray to 
//the other in order to save the copying time.

void TClonesArray::MultiSort(Int_t nTCs, TClonesArray** tcs, Int_t upto = kMaxInt)
// Sort multiple TClonesArrays simultaneously with "this".

These new functions make use of a new function in TSeqCollection:

void TClonesArray::QSort(TObject *a, Int_t nBs, TObject **b, Int_t first, Int_t last)
//Utility function for MultiSort

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: 3066 byte(s)
Diff to previous 20986
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20986 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 22 14:42:15 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3066 byte(s)
Diff to previous 20882
From Andrei:
implements Merge() method.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3019 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/cont/inc/TSeqCollection.h
File length: 3019 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/cont/inc/TSeqCollection.h
File length: 3072 byte(s)
Diff to previous 10520
remove :$ from tag line

Revision 10520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 12 21:51:18 2004 UTC (10 years, 2 months ago) by brun
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3082 byte(s)
Diff to previous 7196
Implement a sugestion from Eddy Offermann: add constness to
the following functions of the collection classes
AddAfter, AddBefore, After, Before

Revision 7196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 1 12:19:20 2003 UTC (11 years, 4 months ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3058 byte(s)
Diff to previous 1336
initialize fSorted in default ctor.

Revision 1336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 9 18:33:59 2001 UTC (14 years ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3040 byte(s)
Diff to previous 670
IndexOf() now takes a const TObject* as argument.

Revision 670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 27 10:05:23 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3034 byte(s)
Diff to previous 612
set corectly fSorted also for TList. Make sure that TSortedList always
returns IsSorted() true.

Revision 612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 8 16:11:03 2000 UTC (14 years, 4 months ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3034 byte(s)
Diff to previous 408
introduced the concept of ownership for all collections. By calling
TCollection::SetOwner() a collection becomes the owner of its elements.
In those cases the dtor and Clear() method will delete the items and not
just free the container space. Also all collections now make their
TObject part persistent (so the TObject bits are saved). Version numbers
were properly increased.

Revision 408 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 29 10:56:17 2000 UTC (14 years, 5 months ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 3099 byte(s)
Diff to previous 3
added method UnSort() to reset the fSorted flag.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/cont/inc/TSeqCollection.h
File length: 2967 byte(s)
Copied from: branches/rdm/cont/inc/TSeqCollection.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/cont/inc/TSeqCollection.h
File length: 2967 byte(s)
Initial import of ROOT into CVS

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