Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::PairMatcherImpl< PairType > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/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
 

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 3001 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 3001 of file gmock-matchers.h

Member Typedef Documentation

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

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

View newest version in sPHENIX GitHub at line 3004 of file gmock-matchers.h

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

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

View newest version in sPHENIX GitHub at line 3005 of file gmock-matchers.h

Constructor & Destructor Documentation

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

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

View newest version in sPHENIX GitHub at line 3008 of file gmock-matchers.h

Member Function Documentation

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

Reimplemented from testing::MatcherDescriberInterface.

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

View newest version in sPHENIX GitHub at line 3024 of file gmock-matchers.h

References testing::internal::MatcherBase< T >::DescribeNegationTo(), testing::internal::PairMatcherImpl< PairType >::first_matcher_, and testing::internal::PairMatcherImpl< PairType >::second_matcher_.

+ Here is the call graph for this function:

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

Implements testing::MatcherDescriberInterface.

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

View newest version in sPHENIX GitHub at line 3016 of file gmock-matchers.h

References testing::internal::MatcherBase< T >::DescribeTo(), testing::internal::PairMatcherImpl< PairType >::first_matcher_, and testing::internal::PairMatcherImpl< PairType >::second_matcher_.

+ Here is the call graph for this function:

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 3061 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 3061 of file gmock-matchers.h

Referenced by testing::internal::PairMatcherImpl< PairType >::MatchAndExplain().

+ Here is the caller graph for this function:

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

Member Data Documentation

template<typename PairType >
const Matcher<const FirstType&> testing::internal::PairMatcherImpl< PairType >::first_matcher_
private
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: