#include <catch.hpp>
Public Member Functions | |
T const & | get () const override |
bool | next () override |
RepeatGenerator (size_t repeats, GeneratorWrapper< T > &&generator) | |
Public Member Functions inherited from Catch::Generators::IGenerator< T > | |
virtual | ~IGenerator ()=default |
Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase | |
GeneratorUntypedBase ()=default | |
virtual | ~GeneratorUntypedBase () |
Private Attributes | |
size_t | m_current_repeat = 0 |
GeneratorWrapper< T > | m_generator |
size_t | m_repeat_index = 0 |
std::vector< T > | m_returned |
size_t | m_target_repeats |
Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
using | type = T |
|
inline |
|
inlineoverridevirtual |
Implements Catch::Generators::IGenerator< T >.
|
inlineoverridevirtual |
Implements Catch::Generators::GeneratorUntypedBase.
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |