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

Public Member Functions

 ChunkGenerator (size_t size, GeneratorWrapper< T > generator)
 
std::vector< T > const & get () const override
 
bool next () override
 
- Public Member Functions inherited from Catch::Generators::IGenerator< std::vector< T > >
virtual ~IGenerator ()=default
 
- Public Member Functions inherited from Catch::Generators::GeneratorUntypedBase
 GeneratorUntypedBase ()=default
 
virtual ~GeneratorUntypedBase ()
 

Private Attributes

std::vector< T > m_chunk
 
size_t m_chunk_size
 
GeneratorWrapper< T > m_generator
 
bool m_used_up
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename T >
Catch::Generators::ChunkGenerator< T >::ChunkGenerator ( size_t  size,
GeneratorWrapper< T >  generator 
)
inline

Member Function Documentation

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

Field Documentation

template<typename T >
std::vector<T> Catch::Generators::ChunkGenerator< T >::m_chunk
private
template<typename T >
size_t Catch::Generators::ChunkGenerator< T >::m_chunk_size
private
template<typename T >
GeneratorWrapper<T> Catch::Generators::ChunkGenerator< T >::m_generator
private
template<typename T >
bool Catch::Generators::ChunkGenerator< T >::m_used_up
private