[root] / trunk / core / base / inc / TUUID.h Repository:
ViewVC logotype

Log of /trunk/core/base/inc/TUUID.h

Parent Directory Parent Directory


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

Revision 27658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 28 05:34:57 2009 UTC (5 years, 10 months ago) by pcanal
File length: 3936 byte(s)
Diff to previous 22961
Remove the 'cast from type ... casts away constness' warning from most header 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: 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 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/inc/TUUID.h
File length: 3913 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/inc/TUUID.h
File length: 3913 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/inc/TUUID.h
File length: 3959 byte(s)
Diff to previous 17419
remove :$ from tag line

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 9567 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 22 06:28:09 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/base/inc/TUUID.h
File length: 3986 byte(s)
Diff to previous 8592
Use forward declarations for TInetAddress and TDatime.
This will avoid recompilation of the complete system when one of these
two classes will be modified.

Revision 8592 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 22:33:53 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/base/inc/TUUID.h
File length: 4060 byte(s)
Diff to previous 8588
add macro undefining GetCurrentTime on Win32.

Revision 8588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 10:13:41 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/base/inc/TUUID.h
File length: 4017 byte(s)
Diff to previous 5056
fix several white space issues. Everybody, please use editors that strip spaces and
tabs at end of lines.

Revision 5056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 5 12:07:19 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/base/inc/TUUID.h
File length: 4038 byte(s)
Diff to previous 5052
due to Philippe's change the Sizeof() of TUUID is now 18 (add Version_t).

Revision 5052 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 4 22:01:50 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/base/inc/TUUID.h
File length: 4038 byte(s)
Diff to previous 5045
add TFile as friend and make FillBuffer/ReadBuffer/Sizeof private.

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 4887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 21:46:22 2002 UTC (12 years, 6 months ago) by rdm
Original Path: trunk/base/inc/TUUID.h
File length: 3928 byte(s)
Diff to previous 4860
added functions:
TBuffer &operator>>(TBuffer &buf, TUUID &uuid);
TBuffer &operator<<(TBuffer &buf, const TUUID &uuid);

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 2957 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 3 14:27:14 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/base/inc/TUUID.h
File length: 3241 byte(s)
Diff to previous 2956
added SetUUID(const char *uuid_str).

Revision 2956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 3 13:18:04 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/base/inc/TUUID.h
File length: 3144 byte(s)
Diff to previous 2916
add ctor that takes a valid uuid string and initializes to that uuid.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9