Monero
Loading...
Searching...
No Matches
testing::internal::PairMatcherImpl< PairType > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::PairMatcherImpl< PairType >:
Collaboration diagram for testing::internal::PairMatcherImpl< PairType >:

Public Types

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

Public Member Functions

typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (PairType) RawPairType
template<typename FirstMatcher, typename SecondMatcher>
 PairMatcherImpl (FirstMatcher first_matcher, SecondMatcher second_matcher)
virtual void DescribeTo (::std::ostream *os) const
virtual void DescribeNegationTo (::std::ostream *os) const
virtual bool MatchAndExplain (PairType a_pair, MatchResultListener *listener) const
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_

Member Typedef Documentation

◆ FirstType

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

◆ SecondType

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

Constructor & Destructor Documentation

◆ PairMatcherImpl()

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

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

◆ 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

◆ second_matcher_

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

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