Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::Generators::SingleValueGenerator< T > Class Template Referencefinal

#include <catch_generators.hpp>

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 3541 of file catch.hpp.

Constructor & Destructor Documentation

◆ SingleValueGenerator() [1/4]

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

Definition at line 60 of file catch_generators.hpp.

60: m_value( value ) {}
#define value
Definition pkcs11.h:157

◆ SingleValueGenerator() [2/4]

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

Definition at line 61 of file catch_generators.hpp.

61: m_value(std::move(value)) {}

◆ SingleValueGenerator() [3/4]

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

Definition at line 3544 of file catch.hpp.

3544: m_value( value ) {}

◆ SingleValueGenerator() [4/4]

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

Definition at line 3545 of file catch.hpp.

3545: m_value(std::move(value)) {}

Member Function Documentation

◆ get() [1/2]

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

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

Definition at line 63 of file catch_generators.hpp.

63 {
64 return m_value;
65 }

◆ get() [2/2]

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

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

Definition at line 3547 of file catch.hpp.

3547 {
3548 return m_value;
3549 }

◆ next() [1/2]

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 66 of file catch_generators.hpp.

66 {
67 return false;
68 }

◆ next() [2/2]

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 3550 of file catch.hpp.

3550 {
3551 return false;
3552 }

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