Horizon
|
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 |
Attempts to move the generator to the next element. | |
![]() | |
IGenerator (IGenerator const &)=default | |
IGenerator & | operator= (IGenerator const &)=default |
![]() | |
GeneratorUntypedBase (GeneratorUntypedBase const &)=default | |
GeneratorUntypedBase & | operator= (GeneratorUntypedBase const &)=default |
bool | countedNext () |
Attempts to move the generator to the next element. | |
std::size_t | currentElementIndex () const |
StringRef | currentElementAsString () const |
Returns generator's current element as user-friendly string. | |
Additional Inherited Members | |
![]() | |
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.