BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdlb::GuidState_Imp Class Reference

#include <bdlb_guidutil.h>

Detailed Description

This component-private class describes holds the PCG generators and generation functions for use by GuidUtil.

See bdlb_guidutil

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)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
k_GENERATOR_COUNT 

Member Function Documentation

◆ generateRandomBits()

void bdlb::GuidState_Imp::generateRandomBits ( bsl::uint32_t(*)  out[GuidState_Imp::k_GENERATOR_COUNT])
inline

Populate the specified out with the results of calling generate on the internal random generators.

◆ seed()

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.


The documentation for this class was generated from the following file: