|
Horizon
|
Public Member Functions | |
| TakeGenerator (size_t target, GeneratorWrapper< T > &&generator) | |
| T const & | get () const override |
| bool | next () override |
| Attempts to move the generator to the next element. More... | |
Public Member Functions inherited from Catch::Generators::IGenerator< T > | |
| IGenerator (IGenerator const &)=default | |
| IGenerator & | operator= (IGenerator const &)=default |
| virtual T const & | get () const =0 |
Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase | |
| GeneratorUntypedBase (GeneratorUntypedBase const &)=default | |
| GeneratorUntypedBase & | operator= (GeneratorUntypedBase const &)=default |
| bool | countedNext () |
| Attempts to move the generator to the next element. More... | |
| std::size_t | currentElementIndex () const |
| StringRef | currentElementAsString () const |
| Returns generator's current element as user-friendly string. More... | |
Additional Inherited Members | |
Public Types inherited from Catch::Generators::IGenerator< T > | |
| using | type = T |
|
inlineoverridevirtual |
Implements Catch::Generators::IGenerator< T >.
|
inlineoverridevirtual |
Attempts to move the generator to the next element.
Returns true iff the move succeeded (and a valid element can be retrieved).
Implements Catch::Generators::GeneratorUntypedBase.