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

#include <gmock-matchers.h>

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

virtual bool MatchAndExplain (T, MatchResultListener *) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
virtual bool MatchAndExplain (T, MatchResultListener *) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
virtual bool MatchAndExplain (T, 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 ()
 

Detailed Description

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

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

Member Function Documentation

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

Reimplemented from testing::MatcherDescriberInterface.

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

864  {
865  // This is mostly for completeness' safe, as it's not very useful
866  // to write Not(A<bool>()). However we cannot completely rule out
867  // such a possibility, and it doesn't hurt to be prepared.
868  *os << "never matches";
869  }
template<typename T >
virtual void testing::internal::AnyMatcherImpl< T >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

864  {
865  // This is mostly for completeness' safe, as it's not very useful
866  // to write Not(A<bool>()). However we cannot completely rule out
867  // such a possibility, and it doesn't hurt to be prepared.
868  *os << "never matches";
869  }
template<typename T >
virtual void testing::internal::AnyMatcherImpl< T >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

864  {
865  // This is mostly for completeness' safe, as it's not very useful
866  // to write Not(A<bool>()). However we cannot completely rule out
867  // such a possibility, and it doesn't hurt to be prepared.
868  *os << "never matches";
869  }
template<typename T >
virtual void testing::internal::AnyMatcherImpl< T >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

863 { *os << "is anything"; }
template<typename T >
virtual void testing::internal::AnyMatcherImpl< T >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

863 { *os << "is anything"; }
template<typename T >
virtual void testing::internal::AnyMatcherImpl< T >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

863 { *os << "is anything"; }
template<typename T >
virtual bool testing::internal::AnyMatcherImpl< T >::MatchAndExplain ( T  ,
MatchResultListener  
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

862  { return true; }
template<typename T >
virtual bool testing::internal::AnyMatcherImpl< T >::MatchAndExplain ( T  ,
MatchResultListener  
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

862  { return true; }
template<typename T >
virtual bool testing::internal::AnyMatcherImpl< T >::MatchAndExplain ( T  ,
MatchResultListener  
) const
inlinevirtual

Implements testing::MatcherInterface< T >.

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

862  { return true; }

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