Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions

bdlb::GuidState_Imp Class Reference

#include <bdlb_guidutil.h>

List of all members.

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)

Detailed Description

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

See Component bdlb_guidutil


Member Enumeration Documentation

anonymous enum
Enumerator:
k_GENERATOR_COUNT 

Member Function Documentation

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.


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