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

#include <catch.hpp>

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

Public Types

using type = T
 

Public Member Functions

 Generators ()
 
auto operator[] (size_t index) const -> T
 
void populate (T &&val)
 
template<typename U >
void populate (U &&val)
 
void populate (Generator< T > &&generator)
 
template<typename U , typename... Gs>
void populate (U &&valueOrGenerator, Gs...moreGenerators)
 
- Public Member Functions inherited from Catch::Generators::GeneratorBase
 GeneratorBase (size_t size)
 
auto size () const -> size_t
 
virtual ~GeneratorBase ()
 

Public Attributes

std::vector< Generator< T > > m_generators
 

Additional Inherited Members

- Protected Attributes inherited from Catch::Generators::GeneratorBase
size_t m_size = 0
 

Detailed Description

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

Definition at line 3192 of file catch.hpp.

Member Typedef Documentation

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

Definition at line 3195 of file catch.hpp.

Constructor & Destructor Documentation

template<typename T >
Catch::Generators::Generators< T >::Generators ( )
inline

Definition at line 3197 of file catch.hpp.

Member Function Documentation

template<typename T >
auto Catch::Generators::Generators< T >::operator[] ( size_t  index) const -> T
inline

Definition at line 3218 of file catch.hpp.

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

Definition at line 3199 of file catch.hpp.

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

Definition at line 3204 of file catch.hpp.

template<typename T >
void Catch::Generators::Generators< T >::populate ( Generator< T > &&  generator)
inline

Definition at line 3207 of file catch.hpp.

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

Definition at line 3213 of file catch.hpp.

Member Data Documentation

template<typename T >
std::vector<Generator<T> > Catch::Generators::Generators< T >::m_generators

Definition at line 3193 of file catch.hpp.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Sat Jun 8 2019 17:59:58