proxygen
testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl Class Reference
Inheritance diagram for testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl:
testing::MatcherInterface< T > testing::MatcherInterface< T > testing::MatcherInterface< T > testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface

Public Member Functions

 Impl (const Matcher< U > &source_matcher)
 
virtual bool MatchAndExplain (T x, MatchResultListener *listener) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
 Impl (const Matcher< U > &source_matcher)
 
virtual bool MatchAndExplain (T x, MatchResultListener *listener) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
 Impl (const Matcher< U > &source_matcher)
 
virtual bool MatchAndExplain (T x, MatchResultListener *listener) 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

const Matcher< U > source_matcher_
 

Detailed Description

template<typename T, typename U>
class testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl

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

Constructor & Destructor Documentation

template<typename T , typename U >
testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::Impl ( const Matcher< U > &  source_matcher)
inlineexplicit

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

573  : source_matcher_(source_matcher) {}
template<typename T , typename U >
testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::Impl ( const Matcher< U > &  source_matcher)
inlineexplicit

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

573  : source_matcher_(source_matcher) {}
template<typename T , typename U >
testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::Impl ( const Matcher< U > &  source_matcher)
inlineexplicit

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

573  : source_matcher_(source_matcher) {}

Member Function Documentation

template<typename T , typename U >
virtual void testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

584  {
586  }
void DescribeNegationTo(::std::ostream *os) const
template<typename T , typename U >
virtual void testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References GTEST_DISALLOW_ASSIGN_.

584  {
586  }
void DescribeNegationTo(::std::ostream *os) const
template<typename T , typename U >
virtual void testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References GTEST_DISALLOW_ASSIGN_.

584  {
586  }
void DescribeNegationTo(::std::ostream *os) const
template<typename T , typename U >
virtual void testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

580  {
582  }
void DescribeTo(::std::ostream *os) const
template<typename T , typename U >
virtual void testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

580  {
582  }
void DescribeTo(::std::ostream *os) const
template<typename T , typename U >
virtual void testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

580  {
582  }
void DescribeTo(::std::ostream *os) const
template<typename T , typename U >
testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::GTEST_DISALLOW_ASSIGN_ ( Impl  )
private
template<typename T , typename U >
testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::GTEST_DISALLOW_ASSIGN_ ( Impl  )
private
template<typename T , typename U >
testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::GTEST_DISALLOW_ASSIGN_ ( Impl  )
private
template<typename T , typename U >
virtual bool testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::MatchAndExplain ( T  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

576  {
577  return source_matcher_.MatchAndExplain(static_cast<U>(x), listener);
578  }
Definition: InvokeTest.cpp:58
bool MatchAndExplain(T x, MatchResultListener *listener) const
template<typename T , typename U >
virtual bool testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::MatchAndExplain ( T  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

576  {
577  return source_matcher_.MatchAndExplain(static_cast<U>(x), listener);
578  }
Definition: InvokeTest.cpp:58
bool MatchAndExplain(T x, MatchResultListener *listener) const
template<typename T , typename U >
virtual bool testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::MatchAndExplain ( T  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

576  {
577  return source_matcher_.MatchAndExplain(static_cast<U>(x), listener);
578  }
Definition: InvokeTest.cpp:58
bool MatchAndExplain(T x, MatchResultListener *listener) const

Member Data Documentation

template<typename T , typename U >
const Matcher< U > testing::internal::MatcherCastImpl< T, Matcher< U > >::Impl::source_matcher_
private

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


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