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

Public Member Functions

 RangeGenerator (T const &start, T const &end, T const &step)
 
 RangeGenerator (T const &start, T const &end)
 
T const & get () const override
 
bool next () override
 
- 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

m_current
 
m_end
 
m_step
 
bool m_positive
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename T >
Catch::Generators::RangeGenerator< T >::RangeGenerator ( T const &  start,
T const &  end,
T const &  step 
)
inline
template<typename T >
Catch::Generators::RangeGenerator< T >::RangeGenerator ( T const &  start,
T const &  end 
)
inline

Member Function Documentation

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

Field Documentation

template<typename T >
T Catch::Generators::RangeGenerator< T >::m_current
private
template<typename T >
T Catch::Generators::RangeGenerator< T >::m_end
private
template<typename T >
bool Catch::Generators::RangeGenerator< T >::m_positive
private
template<typename T >
T Catch::Generators::RangeGenerator< T >::m_step
private