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::RandomFloatingGenerator< Float > Class Template Referencefinal

#include <catch.hpp>

Inheritance diagram for Catch::Generators::RandomFloatingGenerator< Float >:
Collaboration diagram for Catch::Generators::RandomFloatingGenerator< Float >:

Public Member Functions

 RandomFloatingGenerator (Float a, Float b)
Float const & get () const override
bool next () override
Public Member Functions inherited from Catch::Generators::IGenerator< Float >
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< Float >
using type

Detailed Description

template<typename Float>
class Catch::Generators::RandomFloatingGenerator< Float >

Definition at line 4603 of file catch.hpp.

Constructor & Destructor Documentation

◆ RandomFloatingGenerator()

template<typename Float>
Catch::Generators::RandomFloatingGenerator< Float >::RandomFloatingGenerator ( Float a,
Float b )
inline

Definition at line 4609 of file catch.hpp.

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

Here is the call graph for this function:

Member Function Documentation

◆ get()

template<typename Float>
Float const & Catch::Generators::RandomFloatingGenerator< Float >::get ( ) const
inlineoverridevirtual

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

Definition at line 4615 of file catch.hpp.

◆ next()

template<typename Float>
bool Catch::Generators::RandomFloatingGenerator< Float >::next ( )
inlineoverridevirtual

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4618 of file catch.hpp.

Referenced by RandomFloatingGenerator().

Here is the caller graph for this function:

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