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

#include <catch.hpp>

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

Public Member Functions

 GeneratorRandomiser (Generator< T > &&baseGenerator, size_t numberOfItems)
 
auto get (size_t index) const -> T override
 
- Public Member Functions inherited from Catch::Generators::IGenerator< T >
virtual ~IGenerator ()
 

Private Attributes

Generator< T > m_baseGenerator
 
std::vector< size_t > m_indices
 

Detailed Description

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

Definition at line 3131 of file catch.hpp.

Constructor & Destructor Documentation

template<typename T >
Catch::Generators::GeneratorRandomiser< T >::GeneratorRandomiser ( Generator< T > &&  baseGenerator,
size_t  numberOfItems 
)
inline

Definition at line 3136 of file catch.hpp.

Member Function Documentation

template<typename T >
auto Catch::Generators::GeneratorRandomiser< T >::get ( size_t  index) const -> T
inlineoverridevirtual

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

Definition at line 3141 of file catch.hpp.

Member Data Documentation

template<typename T >
Generator<T> Catch::Generators::GeneratorRandomiser< T >::m_baseGenerator
private

Definition at line 3132 of file catch.hpp.

template<typename T >
std::vector<size_t> Catch::Generators::GeneratorRandomiser< T >::m_indices
private

Definition at line 3134 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