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

Public Member Functions

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

Private Attributes

std::unique_ptr< IGenerator< T > > m_generator
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Field Documentation

template<typename T>
std::unique_ptr<IGenerator<T> > Catch::Generators::GeneratorWrapper< T >::m_generator
private