Public Member Functions | Private Attributes | List of all members
Catch::Generators::ChunkGenerator< T > Class Template Referencefinal

#include <catch.hpp>

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

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 = false
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 3866 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 3872 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 3884 of file catch.hpp.

◆ next()

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 3887 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 3867 of file catch.hpp.

◆ m_chunk_size

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

Definition at line 3868 of file catch.hpp.

◆ m_generator

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

Definition at line 3869 of file catch.hpp.

◆ m_used_up

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

Definition at line 3870 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03