70 TUUID(
const char *uuid_str);
80 void SetUUID(
const char *uuid_str);
94 { uuid.Streamer(buf);
return buf; }
103 {
return !(u1 == u2); }
TDatime GetTime() const
Get time from UUID.
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.
UInt_t GetUUIDNumber() const
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...
#define ClassDef(name, id)
UShort_t fTimeHiAndVersion
void Print() const
Print UUID.
UShort_t Hash() const
Compute 16-bit hash value of the UUID.
const char * AsString() const
Return UUID as string. Copy string immediately since it will be reused.
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 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)
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
Int_t Compare(const TUUID &u) const
Compare two UUIDs "lexically" and return.
void GetRandomInfo(UChar_t seed[16])
Get random info based on some machine parameters.
void GetNodeIdentifier()
Get node identifier.
Bool_t operator!=(const TUUID &u1, const TUUID &u2)
void SetUUIDNumber(UInt_t index)
void FillBuffer(char *&buffer)
Stream UUID into output buffer.
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 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...