spdlog
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
Catch::Generators::FixedValuesGenerator< T > Class Template Referencefinal

Detailed Description

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

Definition at line 3766 of file catch.hpp.

#include <catch.hpp>

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

Public Types

using type = T
 

Public Member Functions

 FixedValuesGenerator (std::initializer_list< T > values)
 
T const & get () const override
 
bool next () override
 

Private Attributes

std::vector< Tm_values
 
size_t m_idx = 0
 

Member Typedef Documentation

◆ type

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

Definition at line 3747 of file catch.hpp.

Constructor & Destructor Documentation

◆ FixedValuesGenerator()

template<typename T >
Catch::Generators::FixedValuesGenerator< T >::FixedValuesGenerator ( std::initializer_list< T values)
inline

Definition at line 3770 of file catch.hpp.

Member Function Documentation

◆ get()

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

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

Definition at line 3772 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 3775 of file catch.hpp.

Member Data Documentation

◆ m_idx

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

Definition at line 3768 of file catch.hpp.

◆ m_values

template<typename T >
std::vector<T> Catch::Generators::FixedValuesGenerator< T >::m_values
private

Definition at line 3767 of file catch.hpp.


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