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 with the internal buffer set equal to the specified buffer with the first byte representing the most significant byte. Note that this method does guarantee that the created guid object is a GUID.

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

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.

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

Created with MrDocs