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::RepeatGenerator< T > Class Template Reference

#include <catch.hpp>

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

Public Member Functions

 RepeatGenerator (size_t repeats, GeneratorWrapper< T > &&generator)
 
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::RepeatGenerator< T >

Definition at line 4200 of file catch.hpp.

Constructor & Destructor Documentation

◆ RepeatGenerator()

template<typename T >
Catch::Generators::RepeatGenerator< T >::RepeatGenerator ( size_t repeats,
GeneratorWrapper< T > && generator )
inline

Definition at line 4210 of file catch.hpp.

References Catch::Generators::RepeatGenerator< T >::RepeatGenerator().

Referenced by Catch::Generators::RepeatGenerator< T >::RepeatGenerator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ get()

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

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

Definition at line 4217 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4225 of file catch.hpp.


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