70 TUUID(
const char *uuid_str);
80 void SetUUID(
const char *uuid_str);
94 { uuid.Streamer(buf);
return buf; }
103 {
return !(u1 == u2); }
virtual ~TUUID()
delete this TUUID
Bool_t operator==(const TUUID &u1, const TUUID &u2)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
This class represents an Internet Protocol (IP) address.
void ReadBuffer(char *&buffer)
Stream UUID from input buffer.
UInt_t fTimeLow
index in the list of UUIDs in TProcessUUID
Buffer base class used for serializing objects.
TBuffer & operator<<(TBuffer &buf, const TUUID &uuid)
Input operator. Delegate to Streamer.
Int_t CmpTime(uuid_time_t *t1, uuid_time_t *t2)
Compare two time values.
This class defines a UUID (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDent...
TDatime GetTime() const
Get time from UUID.
#define ClassDef(name, id)
UShort_t fTimeHiAndVersion
UInt_t GetUUIDNumber() const
void Format(UShort_t clockseq, uuid_time_t ts)
Make a UUID from timestamp, clockseq and node id.
Describe directory structure in memory.
void StreamerV1(TBuffer &b)
Stream UUID from input buffer.
TBuffer & operator>>(TBuffer &buf, TUUID &uuid)
const char * AsString() const
Return UUID as string. Copy string immediately since it will be reused.
void SetUUID(const char *uuid_str)
Set this UUID to the value specified in uuid ((which must be in TUUID::AsString() format)...
UChar_t fClockSeqHiAndReserved
void GetRandomInfo(UChar_t seed[16])
Get random info based on some machine parameters.
void GetNodeIdentifier()
Get node identifier.
UShort_t Hash() const
Compute 16-bit hash value of the UUID.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Bool_t operator!=(const TUUID &u1, const TUUID &u2)
void SetUUIDNumber(UInt_t index)
void FillBuffer(char *&buffer)
Stream UUID into output buffer.
Int_t Compare(const TUUID &u) const
Compare two UUIDs "lexically" and return.
void Print() const
Print UUID.
void GetSystemTime(uuid_time_t *timestamp)
Get system time with 100ns precision. Time is since Oct 15, 1582.
void SetFromString(const char *uuid_str)
Set this UUID to the value specified in uuid ((which must be in TUUID::AsString() format)...
void GetUUID(UChar_t uuid[16]) const
Return uuid in specified buffer (16 byte = 128 bits).
TInetAddress GetHostAddress() const
Get address of host encoded in UUID.
void GetCurrentTime(uuid_time_t *timestamp)
Get current time as 60 bit 100ns ticks since whenever.
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...