kokkos-utils 0.0.5
Loading...
Searching...
No Matches
Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher > Class Template Reference

#include <Helpers.hpp>

Public Member Functions

 ElementAtMatcher (const size_t index, ElementMatcher matcher)
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 Attributes

size_t m_index
ElementMatcher m_matcher

Detailed Description

template<typename ElementType, typename ElementMatcher>
class Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher >

Definition at line 142 of file Helpers.hpp.

Constructor & Destructor Documentation

◆ ElementAtMatcher()

template<typename ElementType, typename ElementMatcher>
Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher >::ElementAtMatcher ( const size_t index,
ElementMatcher matcher )
inlineexplicit

Definition at line 145 of file Helpers.hpp.

Member Function Documentation

◆ DescribeNegationTo()

template<typename ElementType, typename ElementMatcher>
void Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher >::DescribeNegationTo ( std::ostream * out) const
inline

Definition at line 166 of file Helpers.hpp.

◆ DescribeTo()

template<typename ElementType, typename ElementMatcher>
void Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher >::DescribeTo ( std::ostream * out) const
inline

Definition at line 160 of file Helpers.hpp.

◆ MatchAndExplain()

template<typename ElementType, typename ElementMatcher>
template<typename IterableType>
bool Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher >::MatchAndExplain ( const IterableType & arg,
::testing::MatchResultListener *const listener ) const
inline

Definition at line 149 of file Helpers.hpp.

Member Data Documentation

◆ m_index

template<typename ElementType, typename ElementMatcher>
size_t Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher >::m_index
private

Definition at line 173 of file Helpers.hpp.

◆ m_matcher

template<typename ElementType, typename ElementMatcher>
ElementMatcher Kokkos::utils::callbacks::impl::ElementAtMatcher< ElementType, ElementMatcher >::m_matcher
private

Definition at line 174 of file Helpers.hpp.


The documentation for this class was generated from the following file:
  • /__w/kokkos-utils/kokkos-utils/include/kokkos-utils/callbacks/Helpers.hpp