API
Catch::Generators::SingleValueGenerator< T > Class Template Referencefinal

#include <catch.hpp>

Inheritance diagram for Catch::Generators::SingleValueGenerator< T >:
Inheritance graph
Collaboration diagram for Catch::Generators::SingleValueGenerator< T >:
Collaboration graph

Public Types

using type = T
 

Public Member Functions

 SingleValueGenerator (T &&value)
 
T const & get () const override
 
bool next () override
 

Private Attributes

m_value
 

Detailed Description

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

Definition at line 3953 of file catch.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 3949 of file catch.hpp.

Constructor & Destructor Documentation

◆ SingleValueGenerator()

template<typename T >
Catch::Generators::SingleValueGenerator< T >::SingleValueGenerator ( T &&  value)
inline

Definition at line 3956 of file catch.hpp.

Member Function Documentation

◆ get()

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

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

Definition at line 3958 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 3961 of file catch.hpp.

Member Data Documentation

◆ m_value

template<typename T >
T Catch::Generators::SingleValueGenerator< T >::m_value
private

Definition at line 3954 of file catch.hpp.


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