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

#include <catch.hpp>

Inheritance diagram for Catch::Generators::Generators< T >:
Inheritance graph
[legend]

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

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

Additional Inherited Members

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

Detailed Description

template<typename T>
class Catch::Generators::Generators< T >

Definition at line 3598 of file catch.hpp.

Constructor & Destructor Documentation

◆ Generators()

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

Definition at line 3620 of file catch.hpp.

Member Function Documentation

◆ get()

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

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

Definition at line 3625 of file catch.hpp.

◆ next()

template<typename T >
bool Catch::Generators::Generators< T >::next ( )
inlineoverridevirtual

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 3629 of file catch.hpp.

◆ populate() [1/4]

template<typename T >
void Catch::Generators::Generators< T >::populate ( GeneratorWrapper< T > &&  generator)
inlineprivate

Definition at line 3602 of file catch.hpp.

◆ populate() [2/4]

template<typename T >
void Catch::Generators::Generators< T >::populate ( T &&  val)
inlineprivate

Definition at line 3605 of file catch.hpp.

◆ populate() [3/4]

template<typename T >
template<typename U >
void Catch::Generators::Generators< T >::populate ( U &&  val)
inlineprivate

Definition at line 3609 of file catch.hpp.

◆ populate() [4/4]

template<typename T >
template<typename U , typename... Gs>
void Catch::Generators::Generators< T >::populate ( U &&  valueOrGenerator,
Gs...  moreGenerators 
)
inlineprivate

Definition at line 3613 of file catch.hpp.

Member Data Documentation

◆ m_current

template<typename T >
size_t Catch::Generators::Generators< T >::m_current = 0
private

Definition at line 3600 of file catch.hpp.

◆ m_generators

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

Definition at line 3599 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03