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

Public Member Functions

template<typename... Gs>
 Generators (Gs...moreGenerators)
 
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 Member Functions

void populate (GeneratorWrapper< T > &&generator)
 
void populate (T &&val)
 
template<typename U >
void populate (U &&val)
 
template<typename U , typename... Gs>
void populate (U &&valueOrGenerator, Gs...moreGenerators)
 

Private Attributes

std::vector< GeneratorWrapper
< T > > 
m_generators
 
size_t m_current
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename T >
template<typename... Gs>
Catch::Generators::Generators< T >::Generators ( Gs...  moreGenerators)
inline

Member Function Documentation

template<typename T >
T const& Catch::Generators::Generators< T >::get ( ) const
inlineoverridevirtual
template<typename T >
bool Catch::Generators::Generators< T >::next ( )
inlineoverridevirtual
template<typename T >
void Catch::Generators::Generators< T >::populate ( GeneratorWrapper< T > &&  generator)
inlineprivate
template<typename T >
void Catch::Generators::Generators< T >::populate ( T &&  val)
inlineprivate
template<typename T >
template<typename U >
void Catch::Generators::Generators< T >::populate ( U &&  val)
inlineprivate
template<typename T >
template<typename U , typename... Gs>
void Catch::Generators::Generators< T >::populate ( U &&  valueOrGenerator,
Gs...  moreGenerators 
)
inlineprivate

Field Documentation

template<typename T >
size_t Catch::Generators::Generators< T >::m_current
private
template<typename T >
std::vector<GeneratorWrapper<T> > Catch::Generators::Generators< T >::m_generators
private