Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Catch::Generators::RandomIntegerGenerator< Integer > Class Template Referencefinal

#include <catch.hpp>

Inheritance diagram for Catch::Generators::RandomIntegerGenerator< Integer >:
Collaboration diagram for Catch::Generators::RandomIntegerGenerator< Integer >:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 4625 of file catch.hpp.

Constructor & Destructor Documentation

◆ RandomIntegerGenerator()

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

Definition at line 4631 of file catch.hpp.

References next(), and Catch::rng().

Here is the call graph for this function:

Member Function Documentation

◆ get()

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

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

Definition at line 4637 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4640 of file catch.hpp.

Referenced by RandomIntegerGenerator().

Here is the caller graph for this function:

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