Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | Static Private Attributes | Friends | List of all members
Catch::SimplePcg32 Class Reference

#include <catch.hpp>

Public Types

using result_type = std::uint32_t
 

Public Member Functions

void discard (uint64_t skip)
 
result_type operator() ()
 
void seed (result_type seed_)
 
 SimplePcg32 ()
 
 SimplePcg32 (result_type seed_)
 

Static Public Member Functions

static constexpr result_type() max ()
 
static constexpr result_type() min ()
 

Private Types

using state_type = std::uint64_t
 

Private Attributes

std::uint64_t m_state
 

Static Private Attributes

static const std::uint64_t s_inc = (0x13ed0cc53f939476ULL << 1ULL) | 1ULL
 

Friends

bool operator!= (SimplePcg32 const &lhs, SimplePcg32 const &rhs)
 
bool operator== (SimplePcg32 const &lhs, SimplePcg32 const &rhs)
 

Detailed Description

Definition at line 4545 of file catch.hpp.

Member Typedef Documentation

Definition at line 4548 of file catch.hpp.

Definition at line 4546 of file catch.hpp.

Constructor & Destructor Documentation

Catch::SimplePcg32::SimplePcg32 ( )
inline

Definition at line 4557 of file catch.hpp.

Catch::SimplePcg32::SimplePcg32 ( result_type  seed_)
explicit

Member Function Documentation

void Catch::SimplePcg32::discard ( uint64_t  skip)
static constexpr result_type() Catch::SimplePcg32::max ( )
inlinestatic

Definition at line 4552 of file catch.hpp.

static constexpr result_type() Catch::SimplePcg32::min ( )
inlinestatic

Definition at line 4549 of file catch.hpp.

result_type Catch::SimplePcg32::operator() ( )
void Catch::SimplePcg32::seed ( result_type  seed_)

Friends And Related Function Documentation

bool operator!= ( SimplePcg32 const &  lhs,
SimplePcg32 const &  rhs 
)
friend
bool operator== ( SimplePcg32 const &  lhs,
SimplePcg32 const &  rhs 
)
friend

Member Data Documentation

std::uint64_t Catch::SimplePcg32::m_state
private

Definition at line 4573 of file catch.hpp.

const std::uint64_t Catch::SimplePcg32::s_inc = (0x13ed0cc53f939476ULL << 1ULL) | 1ULL
staticprivate

Definition at line 4578 of file catch.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:35