Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::PairMatcherImpl< PairType > Class Template Reference

#include <gmock.h>

Inheritance diagram for testing::internal::PairMatcherImpl< PairType >:
Inheritance graph
[legend]

Public Types

typedef RawPairType::first_type FirstType
 
typedef RawPairType::second_type SecondType
 

Public Member Functions

virtual void DescribeNegationTo (::std::ostream *os) const
 
virtual void DescribeTo (::std::ostream *os) const
 
typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (PairType) RawPairType
 
virtual bool MatchAndExplain (PairType a_pair, MatchResultListener *listener) const
 
template<typename FirstMatcher , typename SecondMatcher >
 PairMatcherImpl (FirstMatcher first_matcher, SecondMatcher second_matcher)
 
- Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()
 

Private Member Functions

void ExplainSuccess (const internal::string &first_explanation, const internal::string &second_explanation, MatchResultListener *listener) const
 
 GTEST_DISALLOW_ASSIGN_ (PairMatcherImpl)
 

Private Attributes

const Matcher< const FirstType & > first_matcher_
 
const Matcher< const SecondType & > second_matcher_
 

Detailed Description

template<typename PairType>
class testing::internal::PairMatcherImpl< PairType >

Definition at line 7820 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Typedef Documentation

◆ FirstType

template<typename PairType >
typedef RawPairType::first_type testing::internal::PairMatcherImpl< PairType >::FirstType

Definition at line 7823 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ SecondType

template<typename PairType >
typedef RawPairType::second_type testing::internal::PairMatcherImpl< PairType >::SecondType

Definition at line 7824 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Constructor & Destructor Documentation

◆ PairMatcherImpl()

template<typename PairType >
template<typename FirstMatcher , typename SecondMatcher >
testing::internal::PairMatcherImpl< PairType >::PairMatcherImpl ( FirstMatcher  first_matcher,
SecondMatcher  second_matcher 
)
inline

Definition at line 7827 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Function Documentation

◆ DescribeNegationTo()

template<typename PairType >
virtual void testing::internal::PairMatcherImpl< PairType >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

◆ DescribeTo()

template<typename PairType >
virtual void testing::internal::PairMatcherImpl< PairType >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

◆ ExplainSuccess()

template<typename PairType >
void testing::internal::PairMatcherImpl< PairType >::ExplainSuccess ( const internal::string first_explanation,
const internal::string second_explanation,
MatchResultListener listener 
) const
inlineprivate

Definition at line 7880 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ GTEST_DISALLOW_ASSIGN_()

template<typename PairType >
testing::internal::PairMatcherImpl< PairType >::GTEST_DISALLOW_ASSIGN_ ( PairMatcherImpl< PairType >  )
private

◆ GTEST_REMOVE_REFERENCE_AND_CONST_()

template<typename PairType >
typedef testing::internal::PairMatcherImpl< PairType >::GTEST_REMOVE_REFERENCE_AND_CONST_ ( PairType  )

◆ MatchAndExplain()

template<typename PairType >
virtual bool testing::internal::PairMatcherImpl< PairType >::MatchAndExplain ( PairType  a_pair,
MatchResultListener listener 
) const
inlinevirtual

Member Data Documentation

◆ first_matcher_

template<typename PairType >
const Matcher<const FirstType&> testing::internal::PairMatcherImpl< PairType >::first_matcher_
private

Definition at line 7898 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ second_matcher_

template<typename PairType >
const Matcher<const SecondType&> testing::internal::PairMatcherImpl< PairType >::second_matcher_
private

Definition at line 7899 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:50