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();

Construct a guid object from the specified buffer.

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

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);

Parameters

Name

Description

buffer

byte array; first byte is most significant

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