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

#include <gmock-matchers.h>

Public Member Functions

 PolymorphicMatcher (const Impl &an_impl)
 
Impl & mutable_impl ()
 
const Impl & impl () const
 
template<typename T >
 operator Matcher< T > () const
 

Detailed Description

template<class Impl>
class testing::PolymorphicMatcher< Impl >

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

Constructor & Destructor Documentation

◆ PolymorphicMatcher()

template<class Impl >
testing::PolymorphicMatcher< Impl >::PolymorphicMatcher ( const Impl & an_impl)
inlineexplicit

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

563: impl_(an_impl) {}

Member Function Documentation

◆ impl()

template<class Impl >
const Impl & testing::PolymorphicMatcher< Impl >::impl ( ) const
inline

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

571{ return impl_; }
Here is the caller graph for this function:

◆ mutable_impl()

template<class Impl >
Impl & testing::PolymorphicMatcher< Impl >::mutable_impl ( )
inline

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

567{ return impl_; }
Here is the caller graph for this function:

◆ operator Matcher< T >()

template<class Impl >
template<typename T >
testing::PolymorphicMatcher< Impl >::operator Matcher< T > ( ) const
inline

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

574 {
575 return Matcher<T>(new MonomorphicImpl<GTEST_REFERENCE_TO_CONST_(T)>(impl_));
576 }
#define GTEST_REFERENCE_TO_CONST_(T)
#define T(meth, val, expected)

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