Quick Links: |
#include <bdlb_guidutil.h>
Public Types | |
enum | { k_GENERATOR_COUNT = 4 } |
Public Member Functions | |
void | generateRandomBits (bsl::uint32_t(*out)[GuidState_Imp::k_GENERATOR_COUNT]) |
void | seed (const bsl::array< bsl::uint64_t, k_GENERATOR_COUNT > &state) |
This component-private class
describes holds the PCG generators and generation functions for use by GuidUtil
.
void bdlb::GuidState_Imp::generateRandomBits | ( | bsl::uint32_t(*) | out[GuidState_Imp::k_GENERATOR_COUNT] | ) |
Populate the specified out
with the results of calling generate
on the internal random generators.
void bdlb::GuidState_Imp::seed | ( | const bsl::array< bsl::uint64_t, k_GENERATOR_COUNT > & | state | ) |
Seed the internal generators based on the specified state
values.