71 TUUID(
const char *uuid_str);
83 void SetUUID(
const char *uuid_str);
106{
return !(u1 == u2); }
unsigned short UShort_t
Unsigned Short integer 2 bytes (unsigned short).
int Int_t
Signed integer 4 bytes (int).
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
#define ClassDef(name, id)
TBuffer & operator>>(TBuffer &buf, TUUID &uuid)
Bool_t operator==(const TUUID &u1, const TUUID &u2)
Bool_t operator!=(const TUUID &u1, const TUUID &u2)
TBuffer & operator<<(TBuffer &buf, const TUUID &uuid)
Input operator. Delegate to Streamer.
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 file, usually with extension .root, that stores data and code in the form of serialized objects in ...
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
virtual void Streamer(TBuffer &)
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.
static TUUID UUIDv4()
Create a UUID version 4 (variant 1) UUID according to RFC 4122.
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.
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
UInt_t fUUIDIndex
!index in the list of UUIDs in TProcessUUID
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.
TUUID(TV4Marker)
Create a version 4 UUID.
void FillBuffer(char *&buffer)
Stream UUID into output buffer.
void GetNodeIdentifier()
Get node identifier.
void StreamerV1(TBuffer &b)
Stream UUID from input buffer.