FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::Generators::MapGenerator< T, U, Func > Class Template Reference
Inheritance diagram for Catch::Generators::MapGenerator< T, U, Func >:
Catch::Generators::IGenerator< T > Catch::Generators::GeneratorUntypedBase

Public Member Functions

template<typename F2 = Func>
 MapGenerator (F2 &&function, GeneratorWrapper< U > &&generator)
 
T const & get () const override
 
bool next () override
 
- 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

GeneratorWrapper< U > m_generator
 
Func m_function
 
m_cache
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename T , typename U , typename Func >
template<typename F2 = Func>
Catch::Generators::MapGenerator< T, U, Func >::MapGenerator ( F2 &&  function,
GeneratorWrapper< U > &&  generator 
)
inline

Member Function Documentation

template<typename T , typename U , typename Func >
T const& Catch::Generators::MapGenerator< T, U, Func >::get ( ) const
inlineoverridevirtual
template<typename T , typename U , typename Func >
bool Catch::Generators::MapGenerator< T, U, Func >::next ( )
inlineoverridevirtual

Field Documentation

template<typename T , typename U , typename Func >
T Catch::Generators::MapGenerator< T, U, Func >::m_cache
private
template<typename T , typename U , typename Func >
Func Catch::Generators::MapGenerator< T, U, Func >::m_function
private
template<typename T , typename U , typename Func >
GeneratorWrapper<U> Catch::Generators::MapGenerator< T, U, Func >::m_generator
private