Public Member Functions | Private Attributes | List of all members
Catch::Generators::MapGenerator< T, U, Func > Class Template Reference

#include <catch.hpp>

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

Public Member Functions

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

m_cache
 
Func m_function
 
GeneratorWrapper< U > m_generator
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 3826 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 3834 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 3840 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 3843 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 3831 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 3829 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 3828 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10