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

Name

Description

timeLow

RFC 4122 time_low field

timeMid

RFC 4122 time_mid field

timeHiAndVersion

RFC 4122 time_hi_and_version field

clockSeqHiRes

RFC 4122 clk_seq_hi_res field

clockSeqLow

RFC 4122 clk_seq_low field

node

RFC 4122 node field; only the least significant 48 bits are used

Created with MrDocs