48 UShort_t fTimeHiAndVersion;
49 UChar_t fClockSeqHiAndReserved;
58 Int_t CmpTime(uuid_time_t *t1, uuid_time_t *t2);
59 void Format(UShort_t clockseq, uuid_time_t ts);
60 void GetNodeIdentifier();
61 void GetCurrentTime(uuid_time_t *timestamp);
62 void GetSystemTime(uuid_time_t *timestamp);
63 void GetRandomInfo(UChar_t seed[16]);
64 void SetFromString(
const char *uuid_str);
68 TUUID(
const char *uuid_str);
71 const char *AsString()
const;
72 Int_t Compare(
const TUUID &u)
const;
73 UShort_t Hash()
const;
75 TInetAddress GetHostAddress()
const;
76 TDatime GetTime()
const;
77 void GetUUID(UChar_t uuid[16])
const;
78 void SetUUID(
const char *uuid_str);
79 UInt_t GetUUIDNumber()
const {
return fUUIDIndex; }
80 void SetUUIDNumber(UInt_t index) { fUUIDIndex = index; }
82 void StreamerV1(TBuffer &b);
83 void FillBuffer(
char *&buffer);
84 void ReadBuffer(
char *&buffer);
85 Int_t Sizeof()
const {
return 18; }
91 inline TBuffer &operator>>(TBuffer &buf, TUUID &uuid)
92 { uuid.Streamer(buf);
return buf; }
95 TBuffer &operator<<(TBuffer &buf,
const TUUID &uuid);
97 inline Bool_t operator==(
const TUUID &u1,
const TUUID &u2)
98 {
return (!u1.Compare(u2)) ? kTRUE : kFALSE; }
100 inline Bool_t operator!=(
const TUUID &u1,
const TUUID &u2)
101 {
return !(u1 == u2); }