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

#include <catch_generators.hpp>

Public Member Functions

 GeneratorWrapper (std::unique_ptr< IGenerator< T > > generator)
 
T const & get () const
 
bool next ()
 
 GeneratorWrapper (std::unique_ptr< IGenerator< T > > generator)
 
T const & get () const
 
bool next ()
 

Detailed Description

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

Definition at line 3572 of file catch.hpp.

Constructor & Destructor Documentation

◆ GeneratorWrapper() [1/2]

template<typename T >
Catch::Generators::GeneratorWrapper< T >::GeneratorWrapper ( std::unique_ptr< IGenerator< T > > generator)
inline

Definition at line 91 of file catch_generators.hpp.

91 :
92 m_generator(std::move(generator))
93 {}

◆ GeneratorWrapper() [2/2]

template<typename T >
Catch::Generators::GeneratorWrapper< T >::GeneratorWrapper ( std::unique_ptr< IGenerator< T > > generator)
inline

Definition at line 3575 of file catch.hpp.

3575 :
3576 m_generator(std::move(generator))
3577 {}

Member Function Documentation

◆ get() [1/2]

template<typename T >
T const & Catch::Generators::GeneratorWrapper< T >::get ( ) const
inline

Definition at line 94 of file catch_generators.hpp.

94 {
95 return m_generator->get();
96 }
Here is the caller graph for this function:

◆ get() [2/2]

template<typename T >
T const & Catch::Generators::GeneratorWrapper< T >::get ( ) const
inline

Definition at line 3578 of file catch.hpp.

3578 {
3579 return m_generator->get();
3580 }

◆ next() [1/2]

template<typename T >
bool Catch::Generators::GeneratorWrapper< T >::next ( )
inline

Definition at line 97 of file catch_generators.hpp.

97 {
98 return m_generator->next();
99 }
Here is the caller graph for this function:

◆ next() [2/2]

template<typename T >
bool Catch::Generators::GeneratorWrapper< T >::next ( )
inline

Definition at line 3581 of file catch.hpp.

3581 {
3582 return m_generator->next();
3583 }

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