spdlog
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
Catch::Generators::MapGenerator< T, U, Func > Class Template Reference

Detailed Description

template<typename T, typename U, typename Func>
class Catch::Generators::MapGenerator< T, U, Func >

Definition at line 4038 of file catch.hpp.

#include <catch.hpp>

Inheritance diagram for Catch::Generators::MapGenerator< T, U, Func >:
[legend]

Public Types

using type = T
 

Public Member Functions

template<typename F2 = Func>
 MapGenerator (F2 &&function, GeneratorWrapper< U > &&generator)
 
T const & get () const override
 
bool next () override
 

Private Attributes

GeneratorWrapper< U > m_generator
 
Func m_function
 
T m_cache
 

Member Typedef Documentation

◆ type

template<typename T >
using Catch::Generators::IGenerator< T >::type = T
inherited

Definition at line 3747 of file catch.hpp.

Constructor & Destructor Documentation

◆ MapGenerator()

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

Definition at line 4046 of file catch.hpp.

Member Function Documentation

◆ get()

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

Implements Catch::Generators::IGenerator< T >.

Definition at line 4052 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4055 of file catch.hpp.

Member Data Documentation

◆ m_cache

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

Definition at line 4043 of file catch.hpp.

◆ m_function

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

Definition at line 4041 of file catch.hpp.

◆ m_generator

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

Definition at line 4040 of file catch.hpp.


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