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::RangeGenerator< T > Class Template Referencefinal

#include <catch.hpp>

+ Inheritance diagram for Catch::Generators::RangeGenerator< T >:
+ Collaboration diagram for Catch::Generators::RangeGenerator< T >:

Public Member Functions

 RangeGenerator (T const &start, T const &end, T const &step)
 
 RangeGenerator (T const &start, T const &end)
 
T const & get () const override
 
bool next () override
 
- Public Member Functions inherited from Catch::Generators::IGenerator< T >
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< T >
using type = T
 

Detailed Description

template<typename T>
class Catch::Generators::RangeGenerator< T >

Definition at line 4667 of file catch.hpp.

Constructor & Destructor Documentation

◆ RangeGenerator() [1/2]

template<typename T >
Catch::Generators::RangeGenerator< T >::RangeGenerator ( T const & start,
T const & end,
T const & step )
inline

Definition at line 4674 of file catch.hpp.

◆ RangeGenerator() [2/2]

template<typename T >
Catch::Generators::RangeGenerator< T >::RangeGenerator ( T const & start,
T const & end )
inline

Definition at line 4685 of file catch.hpp.

Member Function Documentation

◆ get()

template<typename T >
T const & Catch::Generators::RangeGenerator< T >::get ( ) const
inlineoverridevirtual

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

Definition at line 4689 of file catch.hpp.

◆ next()

template<typename T >
bool Catch::Generators::RangeGenerator< T >::next ( )
inlineoverridevirtual

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4693 of file catch.hpp.


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