Log of /trunk/core/base/inc/TUUID.h
Parent Directory
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: 3913 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
17419 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 22 05:58:29 2007 UTC (8 years ago) by
brun
Original Path:
trunk/base/inc/TUUID.h
File length: 3969 byte(s)
Diff to
previous 9567
WARNING!!! This is an important change.
This is the continuation of the effort to structure libCore into
independent sub-packages.
A new class TDirectoryFile is introduced. It derives from TDirectory
and takes from TDirectory all the I/O functions.
All the classes (except TROOT) deriving from TDirectory are now derived
from TDirectoryFile. TDirectory keeps the previous API for back compatibility
with several functions made virtual.
This change should be back compatible, except if the user codes creates
a file sub-directory by direct invokation of the TDirectory constructor
instead of calling TDirectory::mkdir.
Note that TMapFile is not yet fully adapted to the new scheme.
Revision
5045 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 2 18:54:37 2002 UTC (12 years, 5 months ago) by
rdm
Original Path:
trunk/base/inc/TUUID.h
File length: 4005 byte(s)
Diff to
previous 4887
In root v3.03/07 the following simple commands fail:
root [] TFile f("f.root","recreate","",0); f.mkdir("d"); f.Write();
root [] TFile f("f.root","","",0); f.cd("d");
Error in <TObjArray::At>: index -22985 out of bounds (size: 13, this: 0x0877cbc0)
Error in <TObjArray::AddAt>: out of bounds at -22985 in 877cbc0
Error in <TBuffer::CheckByteCount>: object of class TUUID read too few bytes: 18 instead of 934433390
Warning in <TBuffer::CheckByteCount>: TUUID::Streamer() not in sync with data on file, fix Streamer()
It basically means that most files with a sub-directories are not readable
(with the current version of root, but will be readable with this fix).
This is due to the fact that while writing ROOT uses TUUID::FillBuffer(),
which does NOT save the TUUID::Class_Version and while reading ROOT
uses TUUID::Streamer() which tries to read a version number!
The fix is to add the writing of the version number to TUUID::FillBuffer(),
to increase the version number of TDirectory, to use TDirectory's old
version number (i.e. 2) to provoke reading TUUID without version number,
and for higher version number TDirectory read the full TUUID.
Fix by Philippe, modified slightly by me.
Revision
4860 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 9 21:10:26 2002 UTC (12 years, 6 months ago) by
brun
Original Path:
trunk/base/inc/TUUID.h
File length: 3702 byte(s)
Diff to
previous 2993
iAdd a new transient member UInt_t fUUIDNumber;
fUUIDNumber is the entry number in the list of UUIDs in TProcessUUID.
Add new functions:
void FillBuffer(char *&buffer);
UInt_t GetUUIDNumber() const {return fUUIDNumber;}
void ReadBuffer(char *&buffer);
void SetUUIDNumber(UInt_t number) {fUUIDNumber = number;}
Revision
2993 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 6 13:12:15 2001 UTC (13 years, 3 months ago) by
rdm
Original Path:
trunk/base/inc/TUUID.h
File length: 3323 byte(s)
Diff to
previous 2957
new method GetTime(), returns a TDatime that contains the time the UUID
was created. Also correction in time calculation (long long cast was missing
so an long got truncated before being stored in a long long).
Revision
2916 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Mon Oct 1 14:39:14 2001 UTC (13 years, 3 months ago) by
rdm
Original Path:
trunk/base/inc/TUUID.h
File length: 3071 byte(s)
This class defines a UUID (Universally Unique IDentifier), also
known as GUIDs (Globally Unique IDentifier). A UUID is 128 bits
long, and if generated according to this algorithm, is either
guaranteed to be different from all other UUIDs/GUIDs generated
until 3400 A.D. or extremely likely to be different. UUIDs were
originally used in the Network Computing System (NCS) and
later in the Open Software Foundation's (OSF) Distributed Computing
Environment (DCE).
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.