kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers > Class Template Reference

#include <Helpers.hpp>

Public Member Functions

template<typename... Matchers_>
requires std::conjunction_v<std::is_same<std::remove_cvref_t<Matchers_>, Matchers>...>
 ContainsInOrderMatcher (Matchers_ &&... matchers_)
 
template<typename IterableType>
bool MatchAndExplain (const IterableType &arg, ::testing::MatchResultListener *const listener) const
 
void DescribeTo (std::ostream *out) const
 
void DescribeNegationTo (std::ostream *out) const
 

Private Member Functions

template<size_t Idx, typename IteratorType>
bool MatchAndExplainImpl (const IteratorType it_first, const IteratorType it_last, ::testing::MatchResultListener *const listener) const
 
void DescribeInnerMatchersImpl (std::ostream *out) const
 

Private Attributes

std::tuple< Matchers... > matchers
 

Detailed Description

template<typename T, typename... Matchers>
class Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >

Definition at line 65 of file Helpers.hpp.

Constructor & Destructor Documentation

◆ ContainsInOrderMatcher()

template<typename T, typename... Matchers>
template<typename... Matchers_>
requires std::conjunction_v<std::is_same<std::remove_cvref_t<Matchers_>, Matchers>...>
Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >::ContainsInOrderMatcher ( Matchers_ &&... matchers_)
inlineexplicit

Definition at line 69 of file Helpers.hpp.

Member Function Documentation

◆ DescribeInnerMatchersImpl()

template<typename T, typename... Matchers>
void Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >::DescribeInnerMatchersImpl ( std::ostream * out) const
inlineprivate

Definition at line 115 of file Helpers.hpp.

◆ DescribeNegationTo()

template<typename T, typename... Matchers>
void Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >::DescribeNegationTo ( std::ostream * out) const
inline

Definition at line 88 of file Helpers.hpp.

◆ DescribeTo()

template<typename T, typename... Matchers>
void Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >::DescribeTo ( std::ostream * out) const
inline

Definition at line 82 of file Helpers.hpp.

◆ MatchAndExplain()

template<typename T, typename... Matchers>
template<typename IterableType>
bool Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >::MatchAndExplain ( const IterableType & arg,
::testing::MatchResultListener *const listener ) const
inline

Definition at line 73 of file Helpers.hpp.

◆ MatchAndExplainImpl()

template<typename T, typename... Matchers>
template<size_t Idx, typename IteratorType>
bool Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >::MatchAndExplainImpl ( const IteratorType it_first,
const IteratorType it_last,
::testing::MatchResultListener *const listener ) const
inlineprivate

Definition at line 96 of file Helpers.hpp.

Member Data Documentation

◆ matchers

template<typename T, typename... Matchers>
std::tuple<Matchers...> Kokkos::utils::callbacks::impl::ContainsInOrderMatcher< T, Matchers >::matchers
private

Definition at line 130 of file Helpers.hpp.


The documentation for this class was generated from the following file: