BloombergLP::bdlb::Guid::Guid

Construct a guid object from RFC 4122 field values.

Synopsis

Declared in <bdlb_guid.h>

Guid(
    unsigned long timeLow,
    unsigned short timeMid,
    unsigned short timeHiAndVersion,
    unsigned char clockSeqHiRes,
    unsigned char clockSeqLow,
    bsls::Types::Uint64 node);

Description

Construct a guid object with an internal buffer composed from the specified timeLow, timeMid, timeHiAndVersion, clockSeqHiRes, clockSeqLow, and node as specified by RFC 4122. Note that only the least significant 48 bits of node are used in constructing the guid.

Parameters

NameDescription
timeLowRFC 4122 time_low field
timeMidRFC 4122 time_mid field
timeHiAndVersionRFC 4122 time_hi_and_version field
clockSeqHiResRFC 4122 clk_seq_hi_res field
clockSeqLowRFC 4122 clk_seq_low field
nodeRFC 4122 node field; only the least significant 48 bits are used