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
 
std::minstd_rand m_rand
 

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 4066 of file catch.hpp.

Constructor & Destructor Documentation

◆ RandomIntegerGenerator()

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

Definition at line 4072 of file catch.hpp.

Member Function Documentation

◆ get()

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

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

Definition at line 4078 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4081 of file catch.hpp.

Member Data Documentation

◆ m_current_number

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

Definition at line 4069 of file catch.hpp.

◆ m_dist

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

Definition at line 4068 of file catch.hpp.

◆ m_rand

template<typename Integer >
std::minstd_rand Catch::Generators::RandomIntegerGenerator< Integer >::m_rand
private

Definition at line 4067 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10