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 4009 of file catch.hpp.

Constructor & Destructor Documentation

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

Definition at line 4031 of file catch.hpp.

Member Function Documentation

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

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

Definition at line 4036 of file catch.hpp.

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4040 of file catch.hpp.

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

Definition at line 4013 of file catch.hpp.

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

Definition at line 4016 of file catch.hpp.

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

Definition at line 4020 of file catch.hpp.

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

Definition at line 4024 of file catch.hpp.

Member Data Documentation

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

Definition at line 4011 of file catch.hpp.

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

Definition at line 4010 of file catch.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36