Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::NotMatcherImpl< T > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::NotMatcherImpl< T >:
Collaboration diagram for testing::internal::NotMatcherImpl< T >:

Public Member Functions

 NotMatcherImpl (const Matcher< T > &matcher)
 
virtual bool MatchAndExplain (GTEST_REFERENCE_TO_CONST_(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::MatcherInterface< GTEST_REFERENCE_TO_CONST_(T)>
virtual bool MatchAndExplain (T x, MatchResultListener *listener) const=0
 
- Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ NotMatcherImpl()

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

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

1675 : matcher_(matcher) {}

Member Function Documentation

◆ DescribeNegationTo()

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

Reimplemented from testing::MatcherDescriberInterface.

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

1686 {
1687 matcher_.DescribeTo(os);
1688 }
os_t os

◆ DescribeTo()

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

Implements testing::MatcherDescriberInterface.

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

1682 {
1683 matcher_.DescribeNegationTo(os);
1684 }

◆ MatchAndExplain()

template<typename T >
virtual bool testing::internal::NotMatcherImpl< T >::MatchAndExplain ( GTEST_REFERENCE_TO_CONST_(T) x,
MatchResultListener * listener ) const
inlinevirtual

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

1678 {
1679 return !matcher_.MatchAndExplain(x, listener);
1680 }

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