Proyecto Final - Turinmachin
Recreación del minijuego de matemáticas de Brain-Age usando redes neuronales
Loading...
Searching...
No Matches
Catch::Generators::RepeatGenerator< T > Class Template Referencefinal

#include <catch_amalgamated.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::GeneratorUntypedBase
 GeneratorUntypedBase ()=default
 GeneratorUntypedBase (GeneratorUntypedBase const &)=default
GeneratorUntypedBaseoperator= (GeneratorUntypedBase const &)=default
virtual ~GeneratorUntypedBase ()
bool countedNext ()
std::size_t currentElementIndex () const
StringRef currentElementAsString () const

Additional Inherited Members

Public Types inherited from Catch::Generators::IGenerator< T >
using type = T

Constructor & Destructor Documentation

◆ RepeatGenerator()

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

Member Function Documentation

◆ get()

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

◆ next()

template<typename T>
bool Catch::Generators::RepeatGenerator< T >::next ( )
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.


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