Public Member Functions | Private Attributes | List of all members
Catch::Generators::RandomIntegerGenerator< Integer > Class Template Referencefinal

#include <catch.hpp>

Inheritance diagram for Catch::Generators::RandomIntegerGenerator< Integer >:
Inheritance graph
[legend]

Public Member Functions

Integer const & get () const override
 
bool next () override
 
 RandomIntegerGenerator (Integer a, Integer b)
 
- Public Member Functions inherited from Catch::Generators::IGenerator< Integer >
virtual ~IGenerator ()=default
 
- Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase
 GeneratorUntypedBase ()=default
 
virtual ~GeneratorUntypedBase ()
 

Private Attributes

Integer m_current_number
 
std::uniform_int_distribution< Integer > m_dist
 
Catch::SimplePcg32m_rng
 

Additional Inherited Members

- Public Types inherited from Catch::Generators::IGenerator< Integer >
using type = Integer
 

Detailed Description

template<typename Integer>
class Catch::Generators::RandomIntegerGenerator< Integer >

Definition at line 4612 of file catch.hpp.

Constructor & Destructor Documentation

template<typename Integer >
Catch::Generators::RandomIntegerGenerator< Integer >::RandomIntegerGenerator ( Integer  a,
Integer  b 
)
inline

Definition at line 4618 of file catch.hpp.

Member Function Documentation

template<typename Integer >
Integer const& Catch::Generators::RandomIntegerGenerator< Integer >::get ( ) const
inlineoverridevirtual

Implements Catch::Generators::IGenerator< Integer >.

Definition at line 4624 of file catch.hpp.

template<typename Integer >
bool Catch::Generators::RandomIntegerGenerator< Integer >::next ( )
inlineoverridevirtual

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4627 of file catch.hpp.

Member Data Documentation

template<typename Integer >
Integer Catch::Generators::RandomIntegerGenerator< Integer >::m_current_number
private

Definition at line 4615 of file catch.hpp.

template<typename Integer >
std::uniform_int_distribution<Integer> Catch::Generators::RandomIntegerGenerator< Integer >::m_dist
private

Definition at line 4614 of file catch.hpp.

template<typename Integer >
Catch::SimplePcg32& Catch::Generators::RandomIntegerGenerator< Integer >::m_rng
private

Definition at line 4613 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:36