proxygen
testing::internal::NotMatcherImpl< T > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::NotMatcherImpl< T >:
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

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

Private Attributes

const Matcher< Tmatcher_
 

Detailed Description

template<typename T>
class testing::internal::NotMatcherImpl< T >

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

Constructor & Destructor Documentation

template<typename T >
testing::internal::NotMatcherImpl< T >::NotMatcherImpl ( const Matcher< T > &  matcher)
inlineexplicit

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

1447  : matcher_(matcher) {}
template<typename T >
testing::internal::NotMatcherImpl< T >::NotMatcherImpl ( const Matcher< T > &  matcher)
inlineexplicit

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

1447  : matcher_(matcher) {}
template<typename T >
testing::internal::NotMatcherImpl< T >::NotMatcherImpl ( const Matcher< T > &  matcher)
inlineexplicit

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

1447  : matcher_(matcher) {}

Member Function Documentation

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

Reimplemented from testing::MatcherDescriberInterface.

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

1457  {
1458  matcher_.DescribeTo(os);
1459  }
template<typename T >
virtual void testing::internal::NotMatcherImpl< T >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References GTEST_DISALLOW_ASSIGN_.

1457  {
1458  matcher_.DescribeTo(os);
1459  }
template<typename T >
virtual void testing::internal::NotMatcherImpl< T >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

References GTEST_DISALLOW_ASSIGN_.

1457  {
1458  matcher_.DescribeTo(os);
1459  }
template<typename T >
virtual void testing::internal::NotMatcherImpl< T >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

1453  {
1454  matcher_.DescribeNegationTo(os);
1455  }
template<typename T >
virtual void testing::internal::NotMatcherImpl< T >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

1453  {
1454  matcher_.DescribeNegationTo(os);
1455  }
template<typename T >
virtual void testing::internal::NotMatcherImpl< T >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

1453  {
1454  matcher_.DescribeNegationTo(os);
1455  }
template<typename T >
testing::internal::NotMatcherImpl< T >::GTEST_DISALLOW_ASSIGN_ ( NotMatcherImpl< T )
private
template<typename T >
testing::internal::NotMatcherImpl< T >::GTEST_DISALLOW_ASSIGN_ ( NotMatcherImpl< T )
private
template<typename T >
testing::internal::NotMatcherImpl< T >::GTEST_DISALLOW_ASSIGN_ ( NotMatcherImpl< T )
private
template<typename T >
virtual bool testing::internal::NotMatcherImpl< T >::MatchAndExplain ( T  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

1449  {
1450  return !matcher_.MatchAndExplain(x, listener);
1451  }
Definition: InvokeTest.cpp:58
template<typename T >
virtual bool testing::internal::NotMatcherImpl< T >::MatchAndExplain ( T  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

1449  {
1450  return !matcher_.MatchAndExplain(x, listener);
1451  }
Definition: InvokeTest.cpp:58
template<typename T >
virtual bool testing::internal::NotMatcherImpl< T >::MatchAndExplain ( T  x,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

1449  {
1450  return !matcher_.MatchAndExplain(x, listener);
1451  }
Definition: InvokeTest.cpp:58

Member Data Documentation

template<typename T >
const Matcher< T > testing::internal::NotMatcherImpl< T >::matcher_
private

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


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