Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer > Class Template Reference

#include <gmock-matchers.h>

Classes

class  Impl
 

Public Types

typedef internal::StlContainerView< RhsContainer > RhsView
 
typedef RhsView::type RhsStlContainer
 
typedef RhsStlContainer::value_type RhsValue
 

Public Member Functions

 PointwiseMatcher (const TupleMatcher &tuple_matcher, const RhsContainer &rhs)
 
template<typename LhsContainer >
 operator Matcher< LhsContainer > () const
 

Detailed Description

template<typename TupleMatcher, typename RhsContainer>
class testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >

Definition at line 2988 of file gmock-matchers.h.

Member Typedef Documentation

◆ RhsStlContainer

template<typename TupleMatcher , typename RhsContainer >
RhsView::type testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::RhsStlContainer

Definition at line 2995 of file gmock-matchers.h.

◆ RhsValue

template<typename TupleMatcher , typename RhsContainer >
RhsStlContainer::value_type testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::RhsValue

Definition at line 2996 of file gmock-matchers.h.

◆ RhsView

template<typename TupleMatcher , typename RhsContainer >
internal::StlContainerView<RhsContainer> testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::RhsView

Definition at line 2994 of file gmock-matchers.h.

Constructor & Destructor Documentation

◆ PointwiseMatcher()

template<typename TupleMatcher , typename RhsContainer >
testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::PointwiseMatcher ( const TupleMatcher & tuple_matcher,
const RhsContainer & rhs )
inline

Definition at line 3000 of file gmock-matchers.h.

3001 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {
3002 // Makes sure the user doesn't instantiate this class template
3003 // with a const or reference type.
3004 (void)testing::StaticAssertTypeEq<RhsContainer,
3005 GTEST_REMOVE_REFERENCE_AND_CONST_(RhsContainer)>();
3006 }
static type Copy(const RawContainer &container)
#define GTEST_REMOVE_REFERENCE_AND_CONST_(T)
bool StaticAssertTypeEq()
Definition gtest.h:2238
Here is the call graph for this function:

Member Function Documentation

◆ operator Matcher< LhsContainer >()

template<typename TupleMatcher , typename RhsContainer >
template<typename LhsContainer >
testing::internal::PointwiseMatcher< TupleMatcher, RhsContainer >::operator Matcher< LhsContainer > ( ) const
inline

Definition at line 3009 of file gmock-matchers.h.

3009 {
3011 !IsHashTable<GTEST_REMOVE_REFERENCE_AND_CONST_(LhsContainer)>::value,
3012 use_UnorderedPointwise_with_hash_tables);
3013
3014 return MakeMatcher(new Impl<LhsContainer>(tuple_matcher_, rhs_));
3015 }
#define GTEST_COMPILE_ASSERT_(expr, msg)
Matcher< T > MakeMatcher(const MatcherInterface< T > *impl)
#define value
Definition pkcs11.h:157
Here is the call graph for this function:

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