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

#include <catch.hpp>

Public Member Functions

 Generator (size_t size, std::unique_ptr< IGenerator< T >> generator)
 
auto operator[] (size_t index) const -> T
 
auto size () const -> size_t
 

Private Attributes

std::unique_ptr< IGenerator< T > > m_generator
 
size_t m_size
 

Detailed Description

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

Definition at line 3111 of file catch.hpp.

Constructor & Destructor Documentation

template<typename T>
Catch::Generators::Generator< T >::Generator ( size_t  size,
std::unique_ptr< IGenerator< T >>  generator 
)
inline

Definition at line 3116 of file catch.hpp.

Member Function Documentation

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

Definition at line 3122 of file catch.hpp.

template<typename T>
auto Catch::Generators::Generator< T >::size ( ) const -> size_t
inline

Definition at line 3121 of file catch.hpp.

Member Data Documentation

template<typename T>
std::unique_ptr<IGenerator<T> > Catch::Generators::Generator< T >::m_generator
private

Definition at line 3112 of file catch.hpp.

template<typename T>
size_t Catch::Generators::Generator< T >::m_size
private

Definition at line 3113 of file catch.hpp.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Thu Jan 14 2021 03:32:26