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  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 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 T , typename U , typename Func >
GeneratorWrapper< T > map (Func &&function, GeneratorWrapper< U > &&generator)
 
template<typename T , typename Func >
GeneratorWrapper< T > map (Func &&function, GeneratorWrapper< T > &&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

◆ GeneratorBasePtr

Definition at line 3457 of file catch.hpp.

Function Documentation

◆ acquireGeneratorTracker()

auto Catch::Generators::acquireGeneratorTracker ( SourceLineInfo const &  lineInfo) -> IGeneratorTracker &

◆ chunk()

template<typename T >
GeneratorWrapper<std::vector<T> > Catch::Generators::chunk ( size_t  size,
GeneratorWrapper< T > &&  generator 
)

Definition at line 3900 of file catch.hpp.

◆ filter()

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

Definition at line 3768 of file catch.hpp.

◆ generate()

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

Definition at line 3673 of file catch.hpp.

◆ makeGenerators() [1/4]

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

Definition at line 3651 of file catch.hpp.

◆ makeGenerators() [2/4]

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

Definition at line 3655 of file catch.hpp.

◆ makeGenerators() [3/4]

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

Definition at line 3659 of file catch.hpp.

◆ makeGenerators() [4/4]

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

Definition at line 3663 of file catch.hpp.

◆ map() [1/2]

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

Definition at line 3853 of file catch.hpp.

◆ map() [2/2]

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

Definition at line 3859 of file catch.hpp.

◆ random() [1/2]

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 4092 of file catch.hpp.

◆ random() [2/2]

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

Definition at line 4101 of file catch.hpp.

◆ range() [1/2]

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

Definition at line 4141 of file catch.hpp.

◆ range() [2/2]

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

Definition at line 4147 of file catch.hpp.

◆ repeat()

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

Definition at line 3821 of file catch.hpp.

◆ table()

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

Definition at line 3642 of file catch.hpp.

◆ take()

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

Definition at line 3729 of file catch.hpp.

◆ value()

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

Definition at line 3589 of file catch.hpp.

◆ values()

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

Definition at line 3593 of file catch.hpp.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10