proxygen
testing::internal::RefMatcher< T & >::Impl< Super > Class Template Reference
Inheritance diagram for testing::internal::RefMatcher< T & >::Impl< Super >:
testing::MatcherInterface< Super & > testing::MatcherInterface< Super & > testing::MatcherInterface< Super & > testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface

Public Member Functions

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

Detailed Description

template<typename T>
template<typename Super>
class testing::internal::RefMatcher< T & >::Impl< Super >

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

Constructor & Destructor Documentation

template<typename T >
template<typename Super >
testing::internal::RefMatcher< T & >::Impl< Super >::Impl ( Super &  x)
inlineexplicit

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

1058 : object_(x) {} // NOLINT
Definition: InvokeTest.cpp:58
template<typename T >
template<typename Super >
testing::internal::RefMatcher< T & >::Impl< Super >::Impl ( Super &  x)
inlineexplicit

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

1058 : object_(x) {} // NOLINT
Definition: InvokeTest.cpp:58
template<typename T >
template<typename Super >
testing::internal::RefMatcher< T & >::Impl< Super >::Impl ( Super &  x)
inlineexplicit

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

1058 : object_(x) {} // NOLINT
Definition: InvokeTest.cpp:58

Member Function Documentation

template<typename T >
template<typename Super >
virtual void testing::internal::RefMatcher< T & >::Impl< Super >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References testing::gtest_printers_test::Print().

1073  {
1074  *os << "does not reference the variable ";
1076  }
static void Print(const T &value,::std::ostream *os)
template<typename T >
template<typename Super >
virtual void testing::internal::RefMatcher< T & >::Impl< Super >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual
template<typename T >
template<typename Super >
virtual void testing::internal::RefMatcher< T & >::Impl< Super >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual
template<typename T >
template<typename Super >
virtual void testing::internal::RefMatcher< T & >::Impl< Super >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

References testing::gtest_printers_test::Print().

1068  {
1069  *os << "references the variable ";
1071  }
static void Print(const T &value,::std::ostream *os)
template<typename T >
template<typename Super >
virtual void testing::internal::RefMatcher< T & >::Impl< Super >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

References testing::gtest_printers_test::Print().

1068  {
1069  *os << "references the variable ";
1071  }
static void Print(const T &value,::std::ostream *os)
template<typename T >
template<typename Super >
virtual void testing::internal::RefMatcher< T & >::Impl< Super >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

References testing::gtest_printers_test::Print().

1068  {
1069  *os << "references the variable ";
1071  }
static void Print(const T &value,::std::ostream *os)
template<typename T >
template<typename Super >
testing::internal::RefMatcher< T & >::Impl< Super >::GTEST_DISALLOW_ASSIGN_ ( Impl  )
private
template<typename T >
template<typename Super >
testing::internal::RefMatcher< T & >::Impl< Super >::GTEST_DISALLOW_ASSIGN_ ( Impl  )
private
template<typename T >
template<typename Super >
testing::internal::RefMatcher< T & >::Impl< Super >::GTEST_DISALLOW_ASSIGN_ ( Impl  )
private
template<typename T >
template<typename Super >
virtual bool testing::internal::RefMatcher< T & >::Impl< Super >::MatchAndExplain ( Super &  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< Super & >.

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

References x.

1063  {
1064  *listener << "which is located @" << static_cast<const void*>(&x);
1065  return &x == &object_;
1066  }
Definition: InvokeTest.cpp:58
const int x
template<typename T >
template<typename Super >
virtual bool testing::internal::RefMatcher< T & >::Impl< Super >::MatchAndExplain ( Super &  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< Super & >.

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

References x.

1063  {
1064  *listener << "which is located @" << static_cast<const void*>(&x);
1065  return &x == &object_;
1066  }
Definition: InvokeTest.cpp:58
const int x
template<typename T >
template<typename Super >
virtual bool testing::internal::RefMatcher< T & >::Impl< Super >::MatchAndExplain ( Super &  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< Super & >.

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

References x.

1063  {
1064  *listener << "which is located @" << static_cast<const void*>(&x);
1065  return &x == &object_;
1066  }
Definition: InvokeTest.cpp:58
const int x

Member Data Documentation

template<typename T >
template<typename Super >
const Super & testing::internal::RefMatcher< T & >::Impl< Super >::object_
private

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


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