FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::Generators::SingleValueGenerator< T > Class Template Referencefinal
Inheritance diagram for Catch::Generators::SingleValueGenerator< T >:
Catch::Generators::IGenerator< T > Catch::Generators::GeneratorUntypedBase

Public Member Functions

 SingleValueGenerator (T const &value)
 
 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

m_value
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Field Documentation

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