Namespaces | |
pf | |
Classes | |
class | GeneratorUntypedBase |
struct | IGenerator |
class | SingleValueGenerator |
class | FixedValuesGenerator |
class | GeneratorWrapper |
class | Generators |
struct | as |
class | TakeGenerator |
class | FilterGenerator |
class | RepeatGenerator |
class | MapGenerator |
class | ChunkGenerator |
class | RandomFloatingGenerator |
class | RandomIntegerGenerator |
class | RangeGenerator |
class | IteratorGenerator |
Typedefs | |
using | GeneratorBasePtr = std::unique_ptr< GeneratorUntypedBase > |
Functions | |
template<typename T > | |
GeneratorWrapper< T > | value (T &&value) |
template<typename T > | |
GeneratorWrapper< T > | values (std::initializer_list< T > values) |
template<typename... Ts> | |
GeneratorWrapper< std::tuple< Ts... > > | table (std::initializer_list< std::tuple< typename std::decay< Ts >::type... >> tuples) |
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 > |
auto | acquireGeneratorTracker (StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker & |
template<typename L > | |
auto | generate (StringRef generatorName, SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>().get()) |
template<typename T > | |
GeneratorWrapper< T > | take (size_t target, GeneratorWrapper< T > &&generator) |
template<typename T , typename Predicate > | |
GeneratorWrapper< T > | filter (Predicate &&pred, GeneratorWrapper< T > &&generator) |
template<typename T > | |
GeneratorWrapper< T > | repeat (size_t repeats, GeneratorWrapper< T > &&generator) |
template<typename Func , typename U , typename T = FunctionReturnType<Func, U>> | |
GeneratorWrapper< T > | map (Func &&function, GeneratorWrapper< U > &&generator) |
template<typename T > | |
GeneratorWrapper< std::vector< T > > | chunk (size_t size, 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 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) |
struct Catch::Generators::as |
using Catch::Generators::GeneratorBasePtr = typedef std::unique_ptr<GeneratorUntypedBase> |
auto Catch::Generators::acquireGeneratorTracker | ( | StringRef | generatorName, |
SourceLineInfo const & | lineInfo | ||
) | -> IGeneratorTracker & |
Referenced by generate().
GeneratorWrapper<std::vector<T> > Catch::Generators::chunk | ( | size_t | size, |
GeneratorWrapper< T > && | generator | ||
) |
Definition at line 4333 of file catch.hpp.
Referenced by ocam2_descramble_2_track(), ocam2_descramble_4_track(), ocam2_descramble_binning1x3(), ocam2_descramble_binning1x4(), ocam2_descramble_binning2x2(), ocam2_descramble_binning3x3(), ocam2_descramble_binning4x4(), ocam2_descramble_cropping240x120(), and ocam2_descramble_cropping240x128().
GeneratorWrapper<T> Catch::Generators::filter | ( | Predicate && | pred, |
GeneratorWrapper< T > && | generator | ||
) |
GeneratorWrapper<ResultType> Catch::Generators::from_range | ( | Container const & | cnt | ) |
GeneratorWrapper<ResultType> Catch::Generators::from_range | ( | InputIterator | from, |
InputSentinel | to | ||
) |
auto Catch::Generators::generate | ( | StringRef | generatorName, |
SourceLineInfo const & | lineInfo, | ||
L const & | generatorExpression | ||
) | -> decltype(std::declval<decltype(generatorExpression())>().get()) |
auto Catch::Generators::makeGenerators | ( | as< T > | , |
U && | val, | ||
Gs &&... | moreGenerators | ||
) | -> Generators<T> |
Definition at line 4075 of file catch.hpp.
Referenced by makeGenerators().
auto Catch::Generators::makeGenerators | ( | GeneratorWrapper< T > && | generator | ) | -> Generators<T> |
auto Catch::Generators::makeGenerators | ( | GeneratorWrapper< T > && | generator, |
Gs &&... | moreGenerators | ||
) | -> Generators<T> |
auto Catch::Generators::makeGenerators | ( | T && | val, |
Gs &&... | moreGenerators | ||
) | -> Generators<T> |
GeneratorWrapper< T > Catch::Generators::map | ( | Func && | function, |
GeneratorWrapper< U > && | generator | ||
) |
std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value,GeneratorWrapper<T> >::type Catch::Generators::random | ( | T | a, |
T | b | ||
) |
std::enable_if<std::is_floating_point<T>::value,GeneratorWrapper<T> >::type Catch::Generators::random | ( | T | a, |
T | b | ||
) |
GeneratorWrapper<T> Catch::Generators::range | ( | T const & | start, |
T const & | end | ||
) |
Definition at line 4706 of file catch.hpp.
Referenced by Catch::StringMaker< R, typename std::enable_if< is_range< R >::value &&!::Catch::Detail::IsStreamInsertable< R >::value >::type >::convert(), and Catch::rangeToString().
GeneratorWrapper<T> Catch::Generators::range | ( | T const & | start, |
T const & | end, | ||
T const & | step | ||
) |
GeneratorWrapper<T> Catch::Generators::repeat | ( | size_t | repeats, |
GeneratorWrapper< T > && | generator | ||
) |
GeneratorWrapper<std::tuple<Ts...> > Catch::Generators::table | ( | std::initializer_list< std::tuple< typename std::decay< Ts >::type... >> | tuples | ) |
GeneratorWrapper<T> Catch::Generators::take | ( | size_t | target, |
GeneratorWrapper< T > && | generator | ||
) |
GeneratorWrapper<T> Catch::Generators::value | ( | T && | value | ) |
Definition at line 4001 of file catch.hpp.
Referenced by MagAOX::logger::config_log::messageT::messageT(), Catch::Capturer::captureValues(), MagAOX::app::MagAOXApp< _useINDI >::configLog(), MagAOX::app::pvcamCtrl::configureAcquisition(), Catch::StringMaker< T, typename >::convert(), Catch::Detail::convertUnstreamable(), MagAOX::app::pvcamCtrl::dumpEnum(), MagAOX::app::pvcamCtrl::fillSpeedTable(), MagAOX::app::picamCtrl::getPicamParameter(), makeGenerators(), modbus::modbus_write(), modbus::modbus_write_coil(), modbus::modbus_write_coils(), modbus::modbus_write_register(), modbus::modbus_write_registers(), Catch::Detail::Approx::operator()(), Catch::operator+(), Catch::MessageStream::operator<<(), Catch::MessageBuilder::operator<<(), Catch::ReusableStringStream::operator<<(), Catch::Decomposer::operator<=(), PicamEnum2String(), Catch::Generators::Generators< T >::populate(), range(), MagAOX::app::picamCtrl::setPicamParameter(), MagAOX::app::picamCtrl::setPicamParameterOnline(), za_set_verbose(), and zb_set_verbose().
GeneratorWrapper<T> Catch::Generators::values | ( | std::initializer_list< T > | values | ) |
Definition at line 4005 of file catch.hpp.
Referenced by Catch::Capturer::captureValues(), Catch::IMutableEnumValuesRegistry::registerEnum(), and table().