Agora  1.2.0
Agora project
Catch::Generators::SingleValueGenerator< T > Class Template Referencefinal

#include <catch.hpp>

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

Public Member Functions

 SingleValueGenerator (T &&value)
 
T const & get () const override
 
bool next () override
 
- Public Member Functions inherited from Catch::Generators::IGenerator< T >
virtual ~IGenerator ()=default
 
- Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase
 GeneratorUntypedBase ()=default
 
virtual ~GeneratorUntypedBase ()
 

Private Attributes

T m_value
 

Additional Inherited Members

- Public Types inherited from Catch::Generators::IGenerator< T >
using type = T
 

Constructor & Destructor Documentation

◆ SingleValueGenerator()

template<typename T >
Catch::Generators::SingleValueGenerator< T >::SingleValueGenerator ( T &&  value)
inline
Here is the call graph for this function:

Member Function Documentation

◆ get()

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

◆ next()

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

Member Data Documentation

◆ m_value

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

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