Namespaces | Classes | Typedefs | Functions
Catch::Generators Namespace Reference

Namespaces

 pf
 

Classes

struct  as
 
class  ChunkGenerator
 
class  FilterGenerator
 
class  FixedValuesGenerator
 
class  Generators
 
class  GeneratorUntypedBase
 
class  GeneratorWrapper
 
struct  IGenerator
 
class  IteratorGenerator
 
class  MapGenerator
 
class  RandomFloatingGenerator
 
class  RandomIntegerGenerator
 
class  RangeGenerator
 
class  RepeatGenerator
 
class  SingleValueGenerator
 
class  TakeGenerator
 

Typedefs

using GeneratorBasePtr = std::unique_ptr< GeneratorUntypedBase >
 

Functions

auto acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker &
 
template<typename T >
GeneratorWrapper< std::vector< T > > chunk (size_t size, GeneratorWrapper< T > &&generator)
 
template<typename T , typename Predicate >
GeneratorWrapper< T > filter (Predicate &&pred, GeneratorWrapper< T > &&generator)
 
template<typename InputIterator , typename InputSentinel , typename ResultType = typename std::iterator_traits<InputIterator>::value_type>
GeneratorWrapper< ResultType > from_range (InputIterator from, InputSentinel to)
 
template<typename Container , typename ResultType = typename Container::value_type>
GeneratorWrapper< ResultType > from_range (Container const &cnt)
 
template<typename L >
auto generate (SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>().get())
 
template<typename T , typename... Gs>
auto makeGenerators (GeneratorWrapper< T > &&generator, Gs &&...moreGenerators) -> Generators< T >
 
template<typename T >
auto makeGenerators (GeneratorWrapper< T > &&generator) -> Generators< T >
 
template<typename T , typename... Gs>
auto makeGenerators (T &&val, Gs &&...moreGenerators) -> Generators< T >
 
template<typename T , typename U , typename... Gs>
auto makeGenerators (as< T >, U &&val, Gs &&...moreGenerators) -> Generators< T >
 
template<typename Func , typename U , typename T = FunctionReturnType<Func, U>>
GeneratorWrapper< T > map (Func &&function, GeneratorWrapper< U > &&generator)
 
template<typename T >
std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, GeneratorWrapper< T > >::type random (T a, T b)
 
template<typename T >
std::enable_if< std::is_floating_point< T >::value, GeneratorWrapper< T > >::type random (T a, T b)
 
template<typename T >
GeneratorWrapper< T > range (T const &start, T const &end, T const &step)
 
template<typename T >
GeneratorWrapper< T > range (T const &start, T const &end)
 
template<typename T >
GeneratorWrapper< T > repeat (size_t repeats, GeneratorWrapper< T > &&generator)
 
template<typename... Ts>
GeneratorWrapper< std::tuple< Ts... > > table (std::initializer_list< std::tuple< typename std::decay< Ts >::type... >> tuples)
 
template<typename T >
GeneratorWrapper< T > take (size_t target, GeneratorWrapper< T > &&generator)
 
template<typename T >
GeneratorWrapper< T > value (T &&value)
 
template<typename T >
GeneratorWrapper< T > values (std::initializer_list< T > values)
 

Typedef Documentation

Definition at line 3854 of file catch.hpp.

Function Documentation

auto Catch::Generators::acquireGeneratorTracker ( SourceLineInfo const &  lineInfo) -> IGeneratorTracker &
template<typename T >
GeneratorWrapper<std::vector<T> > Catch::Generators::chunk ( size_t  size,
GeneratorWrapper< T > &&  generator 
)

Definition at line 4321 of file catch.hpp.

template<typename T , typename Predicate >
GeneratorWrapper<T> Catch::Generators::filter ( Predicate &&  pred,
GeneratorWrapper< T > &&  generator 
)

Definition at line 4183 of file catch.hpp.

template<typename InputIterator , typename InputSentinel , typename ResultType = typename std::iterator_traits<InputIterator>::value_type>
GeneratorWrapper<ResultType> Catch::Generators::from_range ( InputIterator  from,
InputSentinel  to 
)

Definition at line 4727 of file catch.hpp.

template<typename Container , typename ResultType = typename Container::value_type>
GeneratorWrapper<ResultType> Catch::Generators::from_range ( Container const &  cnt)

Definition at line 4733 of file catch.hpp.

template<typename L >
auto Catch::Generators::generate ( SourceLineInfo const &  lineInfo,
L const &  generatorExpression 
) -> decltype(std::declval<decltype(generatorExpression())>().get())

Definition at line 4084 of file catch.hpp.

template<typename T , typename... Gs>
auto Catch::Generators::makeGenerators ( GeneratorWrapper< T > &&  generator,
Gs &&...  moreGenerators 
) -> Generators<T>

Definition at line 4062 of file catch.hpp.

template<typename T >
auto Catch::Generators::makeGenerators ( GeneratorWrapper< T > &&  generator) -> Generators<T>

Definition at line 4066 of file catch.hpp.

template<typename T , typename... Gs>
auto Catch::Generators::makeGenerators ( T &&  val,
Gs &&...  moreGenerators 
) -> Generators<T>

Definition at line 4070 of file catch.hpp.

template<typename T , typename U , typename... Gs>
auto Catch::Generators::makeGenerators ( as< T >  ,
U &&  val,
Gs &&...  moreGenerators 
) -> Generators<T>

Definition at line 4074 of file catch.hpp.

template<typename Func , typename U , typename T = FunctionReturnType<Func, U>>
GeneratorWrapper< T > Catch::Generators::map ( Func &&  function,
GeneratorWrapper< U > &&  generator 
)

Definition at line 4271 of file catch.hpp.

template<typename T >
std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value,GeneratorWrapper<T> >::type Catch::Generators::random ( a,
b 
)

Definition at line 4638 of file catch.hpp.

template<typename T >
std::enable_if<std::is_floating_point<T>::value,GeneratorWrapper<T> >::type Catch::Generators::random ( a,
b 
)

Definition at line 4647 of file catch.hpp.

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

Definition at line 4687 of file catch.hpp.

template<typename T >
GeneratorWrapper<T> Catch::Generators::range ( T const &  start,
T const &  end 
)

Definition at line 4693 of file catch.hpp.

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

Definition at line 4239 of file catch.hpp.

template<typename... Ts>
GeneratorWrapper<std::tuple<Ts...> > Catch::Generators::table ( std::initializer_list< std::tuple< typename std::decay< Ts >::type... >>  tuples)

Definition at line 4053 of file catch.hpp.

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

Definition at line 4144 of file catch.hpp.

template<typename T >
GeneratorWrapper<T> Catch::Generators::value ( T &&  value)

Definition at line 4000 of file catch.hpp.

template<typename T >
GeneratorWrapper<T> Catch::Generators::values ( std::initializer_list< T >  values)

Definition at line 4004 of file catch.hpp.



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