proxygen
testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs > Class Template Reference
Inheritance diagram for testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >:
testing::MatcherInterface< Lhs > testing::MatcherInterface< Lhs > testing::MatcherInterface< Lhs > testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface

Public Member Functions

 Impl (const Rhs &rhs)
 
virtual bool MatchAndExplain (Lhs lhs, MatchResultListener *) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
 Impl (const Rhs &rhs)
 
virtual bool MatchAndExplain (Lhs lhs, MatchResultListener *) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
 Impl (const Rhs &rhs)
 
virtual bool MatchAndExplain (Lhs lhs, MatchResultListener *) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
- Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()
 
virtual ~MatcherDescriberInterface ()
 
virtual ~MatcherDescriberInterface ()
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (Impl)
 
 GTEST_DISALLOW_ASSIGN_ (Impl)
 
 GTEST_DISALLOW_ASSIGN_ (Impl)
 

Private Attributes

Rhs rhs_
 

Detailed Description

template<typename D, typename Rhs, typename Op>
template<typename Lhs>
class testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >

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

Constructor & Destructor Documentation

template<typename D, typename Rhs, typename Op>
template<typename Lhs >
testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::Impl ( const Rhs &  rhs)
inlineexplicit

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

905 : rhs_(rhs) {}
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::Impl ( const Rhs &  rhs)
inlineexplicit

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

905 : rhs_(rhs) {}
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::Impl ( const Rhs &  rhs)
inlineexplicit

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

905 : rhs_(rhs) {}
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649

Member Function Documentation

template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual void testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References testing::internal::UniversalPrint().

914  {
915  *os << D::NegatedDesc() << " ";
916  UniversalPrint(rhs_, os);
917  }
void UniversalPrint(const T &value,::std::ostream *os)
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual void testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References GTEST_DISALLOW_ASSIGN_, and testing::internal::UniversalPrint().

914  {
915  *os << D::NegatedDesc() << " ";
916  UniversalPrint(rhs_, os);
917  }
void UniversalPrint(const T &value,::std::ostream *os)
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual void testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References GTEST_DISALLOW_ASSIGN_, and testing::internal::UniversalPrint().

914  {
915  *os << D::NegatedDesc() << " ";
916  UniversalPrint(rhs_, os);
917  }
void UniversalPrint(const T &value,::std::ostream *os)
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual void testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

References testing::internal::UniversalPrint().

910  {
911  *os << D::Desc() << " ";
912  UniversalPrint(rhs_, os);
913  }
void UniversalPrint(const T &value,::std::ostream *os)
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual void testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

References testing::internal::UniversalPrint().

910  {
911  *os << D::Desc() << " ";
912  UniversalPrint(rhs_, os);
913  }
void UniversalPrint(const T &value,::std::ostream *os)
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual void testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

References testing::internal::UniversalPrint().

910  {
911  *os << D::Desc() << " ";
912  UniversalPrint(rhs_, os);
913  }
void UniversalPrint(const T &value,::std::ostream *os)
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::GTEST_DISALLOW_ASSIGN_ ( Impl< Lhs >  )
private
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::GTEST_DISALLOW_ASSIGN_ ( Impl< Lhs >  )
private
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::GTEST_DISALLOW_ASSIGN_ ( Impl< Lhs >  )
private
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual bool testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::MatchAndExplain ( Lhs  lhs,
MatchResultListener  
) const
inlinevirtual

Implements testing::MatcherInterface< Lhs >.

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

907  {
908  return Op()(lhs, rhs_);
909  }
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual bool testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::MatchAndExplain ( Lhs  lhs,
MatchResultListener  
) const
inlinevirtual

Implements testing::MatcherInterface< Lhs >.

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

907  {
908  return Op()(lhs, rhs_);
909  }
template<typename D, typename Rhs, typename Op>
template<typename Lhs >
virtual bool testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::MatchAndExplain ( Lhs  lhs,
MatchResultListener  
) const
inlinevirtual

Implements testing::MatcherInterface< Lhs >.

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

907  {
908  return Op()(lhs, rhs_);
909  }

Member Data Documentation

template<typename D, typename Rhs, typename Op>
template<typename Lhs >
Rhs testing::internal::ComparisonBase< D, Rhs, Op >::Impl< Lhs >::rhs_
private

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


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