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

Detailed Description

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

Definition at line 3751 of file catch.hpp.

#include <catch.hpp>

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

Public Types

using type = T
 

Public Member Functions

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

Private Attributes

T m_value
 

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

◆ SingleValueGenerator() [1/2]

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

Definition at line 3754 of file catch.hpp.

◆ SingleValueGenerator() [2/2]

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

Definition at line 3755 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 3757 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 3760 of file catch.hpp.

Member Data Documentation

◆ m_value

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

Definition at line 3752 of file catch.hpp.


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