#include <catch_amalgamated.hpp>
Public Member Functions | |
ChunkGenerator (size_t size, GeneratorWrapper< T > generator) | |
std::vector< T > const & | get () const override |
bool | next () override |
![]() | |
GeneratorUntypedBase ()=default | |
GeneratorUntypedBase (GeneratorUntypedBase const &)=default | |
GeneratorUntypedBase & | operator= (GeneratorUntypedBase const &)=default |
virtual | ~GeneratorUntypedBase () |
bool | countedNext () |
std::size_t | currentElementIndex () const |
StringRef | currentElementAsString () const |
Private Attributes | |
std::vector< T > | m_chunk |
size_t | m_chunk_size |
GeneratorWrapper< T > | m_generator |
bool | m_used_up = false |
Additional Inherited Members | |
![]() | |
using | type |
|
inline |
|
inlineoverridevirtual |
|
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.
|
private |
|
private |
|
private |
|
private |