kokkos-utils 0.0.4
 
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 140 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 143 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 162 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 156 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 147 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 169 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 170 of file Helpers.hpp.


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