BloombergLP::bdlb::Guid::Guid

Constructors

Synopses

Declared in <bdlb_guid.h>

Construct a zero-initialized guid object. Note that a zero- initialized guid object is not a GUID according to RFC 4122.

Guid();
» more...

Construct a guid object from the specified buffer.

explicit
Guid(unsigned char const(& buffer)[]);
» more...

Construct a guid object from RFC 4122 field values.

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

Parameters

NameDescription
bufferbyte array; first byte is most significant
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