MeteoIODoc 2.11.0
mio::RngXor Class Reference

#include <RandomNumberGenerator.h>

Public Member Functions

 RngXor ()
 
uint64_t int64 ()
 
uint32_t int32 ()
 
void getState (std::vector< uint64_t > &ovec_seed) const
 
void setState (const std::vector< uint64_t > &ivec_seed)
 
- Public Member Functions inherited from mio::RngCore
 RngCore ()
 
virtual ~RngCore ()
 
virtual uint64_t int64 ()=0
 
virtual uint32_t int32 ()=0
 
virtual void getState (std::vector< uint64_t > &ovec_seed) const =0
 
virtual void setState (const std::vector< uint64_t > &ivec_seed)=0
 
bool getUniqueSeed (uint64_t &store) const
 

Additional Inherited Members

- Public Attributes inherited from mio::RngCore
bool hardware_seed_success
 
- Protected Member Functions inherited from mio::RngCore
uint64_t combine32to64 (const uint32_t &low, const uint32_t &high) const
 
double doubFromInt (const uint64_t &rn) const
 
double trueDoub ()
 

Constructor & Destructor Documentation

◆ RngXor()

mio::RngXor::RngXor ( )

Member Function Documentation

◆ getState()

void mio::RngXor::getState ( std::vector< uint64_t > &  ovec_seed) const
virtual

Implements mio::RngCore.

◆ int32()

uint32_t mio::RngXor::int32 ( )
virtual

Implements mio::RngCore.

◆ int64()

uint64_t mio::RngXor::int64 ( )
virtual

Implements mio::RngCore.

◆ setState()

void mio::RngXor::setState ( const std::vector< uint64_t > &  ivec_seed)
virtual

Implements mio::RngCore.


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