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

#include <catch.hpp>

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

Public Member Functions

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

Private Attributes

size_t m_current_repeat = 0
 
GeneratorWrapper< T > m_generator
 
size_t m_repeat_index = 0
 
std::vector< T > m_returned
 
size_t m_target_repeats
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 4188 of file catch.hpp.

Constructor & Destructor Documentation

template<typename T >
Catch::Generators::RepeatGenerator< T >::RepeatGenerator ( size_t  repeats,
GeneratorWrapper< T > &&  generator 
)
inline

Definition at line 4198 of file catch.hpp.

Member Function Documentation

template<typename T >
T const& Catch::Generators::RepeatGenerator< T >::get ( ) const
inlineoverridevirtual

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

Definition at line 4205 of file catch.hpp.

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4213 of file catch.hpp.

Member Data Documentation

template<typename T >
size_t Catch::Generators::RepeatGenerator< T >::m_current_repeat = 0
private

Definition at line 4195 of file catch.hpp.

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

Definition at line 4191 of file catch.hpp.

template<typename T >
size_t Catch::Generators::RepeatGenerator< T >::m_repeat_index = 0
private

Definition at line 4196 of file catch.hpp.

template<typename T >
std::vector<T> Catch::Generators::RepeatGenerator< T >::m_returned
mutableprivate

Definition at line 4193 of file catch.hpp.

template<typename T >
size_t Catch::Generators::RepeatGenerator< T >::m_target_repeats
private

Definition at line 4194 of file catch.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36