spdlog
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
Catch::Generators::ChunkGenerator< T > Class Template Referencefinal

Detailed Description

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

Definition at line 4090 of file catch.hpp.

#include <catch.hpp>

Inheritance diagram for Catch::Generators::ChunkGenerator< T >:
[legend]

Public Types

using type = std::vector< T >
 

Public Member Functions

 ChunkGenerator (size_t size, GeneratorWrapper< T > generator)
 
std::vector< T > const & get () const override
 
bool next () override
 

Private Attributes

std::vector< Tm_chunk
 
size_t m_chunk_size
 
GeneratorWrapper< Tm_generator
 
bool m_used_up = false
 

Member Typedef Documentation

◆ type

Definition at line 3747 of file catch.hpp.

Constructor & Destructor Documentation

◆ ChunkGenerator()

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

Definition at line 4096 of file catch.hpp.

Member Function Documentation

◆ get()

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

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

Definition at line 4108 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4111 of file catch.hpp.

Member Data Documentation

◆ m_chunk

template<typename T >
std::vector<T> Catch::Generators::ChunkGenerator< T >::m_chunk
private

Definition at line 4091 of file catch.hpp.

◆ m_chunk_size

template<typename T >
size_t Catch::Generators::ChunkGenerator< T >::m_chunk_size
private

Definition at line 4092 of file catch.hpp.

◆ m_generator

template<typename T >
GeneratorWrapper<T> Catch::Generators::ChunkGenerator< T >::m_generator
private

Definition at line 4093 of file catch.hpp.

◆ m_used_up

template<typename T >
bool Catch::Generators::ChunkGenerator< T >::m_used_up = false
private

Definition at line 4094 of file catch.hpp.


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