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

#include <gmock-matchers.h>

Inheritance diagram for testing::Matcher< T >:
Collaboration diagram for testing::Matcher< T >:

Public Member Functions

 Matcher ()
 
 Matcher (const MatcherInterface< GTEST_REFERENCE_TO_CONST_(T)> *impl)
 
template<typename U >
 Matcher (const MatcherInterface< U > *impl, typename internal::EnableIf<!internal::IsSame< U, GTEST_REFERENCE_TO_CONST_(U)>::value >::type *=NULL)
 
 Matcher (T value)
 
- Public Member Functions inherited from testing::internal::MatcherBase< T >
bool MatchAndExplain (GTEST_REFERENCE_TO_CONST_(T) x, MatchResultListener *listener) const
 
bool Matches (GTEST_REFERENCE_TO_CONST_(T) x) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
void ExplainMatchResultTo (GTEST_REFERENCE_TO_CONST_(T) x, ::std::ostream *os) const
 
const MatcherDescriberInterfaceGetDescriber () const
 

Additional Inherited Members

- Protected Member Functions inherited from testing::internal::MatcherBase< T >
 MatcherBase ()
 
 MatcherBase (const MatcherInterface< GTEST_REFERENCE_TO_CONST_(T)> *impl)
 
template<typename U >
 MatcherBase (const MatcherInterface< U > *impl, typename internal::EnableIf< !internal::IsSame< U, GTEST_REFERENCE_TO_CONST_(U)>::value >::type *=NULL)
 
virtual ~MatcherBase ()
 

Detailed Description

template<typename T>
class testing::Matcher< T >

Definition at line 49 of file gmock-generated-internal-utils.h.

Constructor & Destructor Documentation

◆ Matcher() [1/4]

template<typename T >
testing::Matcher< T >::Matcher ( )
inlineexplicit

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

365{} // NOLINT

◆ Matcher() [2/4]

template<typename T >
testing::Matcher< T >::Matcher ( const MatcherInterface< GTEST_REFERENCE_TO_CONST_(T)> * impl)
inlineexplicit

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

369 : internal::MatcherBase<T>(impl) {}

◆ Matcher() [3/4]

template<typename T >
template<typename U >
testing::Matcher< T >::Matcher ( const MatcherInterface< U > * impl,
typename internal::EnableIf<!internal::IsSame< U, GTEST_REFERENCE_TO_CONST_(U)>::value >::type * = NULL )
inlineexplicit

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

375 : internal::MatcherBase<T>(impl) {}

◆ Matcher() [4/4]

template<typename T >
testing::Matcher< T >::Matcher ( T value)

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

4304{ *this = Eq(value); }
internal::Eq2Matcher Eq()
#define value
Definition pkcs11.h:157
Here is the call graph for this function:

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