68 TUUID(
const char *uuid_str);
78 void SetUUID(
const char *uuid_str);
92{ uuid.Streamer(buf);
return buf; }
101{
return !(u1 == u2); }
#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
TBuffer & operator>>(TBuffer &buf, TUUID &uuid)
Bool_t operator==(const TUUID &u1, const TUUID &u2)
Bool_t operator!=(const TUUID &u1, const TUUID &u2)
Buffer base class used for serializing objects.
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...
Describe directory structure in memory.
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.
This class defines a UUID (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDent...
void SetUUIDNumber(UInt_t index)
UChar_t fClockSeqHiAndReserved
UInt_t GetUUIDNumber() const
void GetCurrentTime(uuid_time_t *timestamp)
Get current time as 60 bit 100ns ticks since whenever.
Int_t CmpTime(uuid_time_t *t1, uuid_time_t *t2)
Compare two time values.
void GetSystemTime(uuid_time_t *timestamp)
Get system time with 100ns precision. Time is since Oct 15, 1582.
virtual ~TUUID()
delete this TUUID
void ReadBuffer(char *&buffer)
Stream UUID from input buffer.
void SetFromString(const char *uuid_str)
Set this UUID to the value specified in uuid ((which must be in TUUID::AsString() format).
void Format(UShort_t clockseq, uuid_time_t ts)
Make a UUID from timestamp, clockseq and node id.
TDatime GetTime() const
Get time from UUID.
UInt_t fTimeLow
index in the list of UUIDs in TProcessUUID
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 SetUUID(const char *uuid_str)
Set this UUID to the value specified in uuid ((which must be in TUUID::AsString() format).
UShort_t Hash() const
Compute 16-bit hash value of the UUID.
UShort_t fTimeHiAndVersion
void GetRandomInfo(UChar_t seed[16])
Get random info based on some machine parameters.
void Print() const
Print UUID.
Int_t Compare(const TUUID &u) const
Compare two UUIDs "lexically" and return.
void FillBuffer(char *&buffer)
Stream UUID into output buffer.
void GetNodeIdentifier()
Get node identifier.
void StreamerV1(TBuffer &b)
Stream UUID from input buffer.