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

#include <catch.hpp>

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

Public Member Functions

T const & get () const override
 
bool next () override
 
 TakeGenerator (size_t target, 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

GeneratorWrapper< T > m_generator
 
size_t m_returned = 0
 
size_t m_target
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 4113 of file catch.hpp.

Constructor & Destructor Documentation

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

Definition at line 4118 of file catch.hpp.

Member Function Documentation

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

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

Definition at line 4124 of file catch.hpp.

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

Implements Catch::Generators::GeneratorUntypedBase.

Definition at line 4127 of file catch.hpp.

Member Data Documentation

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

Definition at line 4114 of file catch.hpp.

template<typename T >
size_t Catch::Generators::TakeGenerator< T >::m_returned = 0
private

Definition at line 4115 of file catch.hpp.

template<typename T >
size_t Catch::Generators::TakeGenerator< T >::m_target
private

Definition at line 4116 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