[#BloombergLP-bdlb-Guid-2constructor-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Guid.adoc[Guid]::Guid
:relfileprefix: ../../../
:mrdocs:

Construct a guid object from RFC 4122 field values&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;guid&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Guid(
    unsigned long timeLow,
    unsigned short timeMid,
    unsigned short timeHiAndVersion,
    unsigned char clockSeqHiRes,
    unsigned char clockSeqLow,
    xref:BloombergLP/bsls/Types/Uint64.adoc[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&period; Note that only the least significant 48 bits of `node` are used in constructing the guid&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *timeLow*
| RFC 4122 `time&lowbar;low` field
| *timeMid*
| RFC 4122 `time&lowbar;mid` field
| *timeHiAndVersion*
| RFC 4122 `time&lowbar;hi&lowbar;and&lowbar;version` field
| *clockSeqHiRes*
| RFC 4122 `clk&lowbar;seq&lowbar;hi&lowbar;res` field
| *clockSeqLow*
| RFC 4122 `clk&lowbar;seq&lowbar;low` field
| *node*
| RFC 4122 `node` field&semi; only the least significant 48 bits are used
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
