Electroneum
Loading...
Searching...
No Matches
testing::internal::MatcherBase< T > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::MatcherBase< T >:

Public Member Functions

bool MatchAndExplain (T x, MatchResultListener *listener) const
bool Matches (T x) const
void DescribeTo (::std::ostream *os) const
void DescribeNegationTo (::std::ostream *os) const
void ExplainMatchResultTo (T x, ::std::ostream *os) const
const MatcherDescriberInterfaceGetDescriber () const

Protected Member Functions

 MatcherBase ()
 MatcherBase (const MatcherInterface< T > *impl)
virtual ~MatcherBase ()

Detailed Description

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

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

Constructor & Destructor Documentation

◆ MatcherBase() [1/2]

template<typename T>
testing::internal::MatcherBase< T >::MatcherBase ( )
inlineprotected

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

288{}
Here is the caller graph for this function:

◆ MatcherBase() [2/2]

template<typename T>
testing::internal::MatcherBase< T >::MatcherBase ( const MatcherInterface< T > * impl)
inlineexplicitprotected

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

◆ ~MatcherBase()

template<typename T>
virtual testing::internal::MatcherBase< T >::~MatcherBase ( )
inlineprotectedvirtual

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

294{}

Member Function Documentation

◆ DescribeNegationTo()

template<typename T>
void testing::internal::MatcherBase< T >::DescribeNegationTo ( ::std::ostream * os) const
inline

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

270 {
271 impl_->DescribeNegationTo(os);
272 }

◆ DescribeTo()

template<typename T>
void testing::internal::MatcherBase< T >::DescribeTo ( ::std::ostream * os) const
inline

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

267{ impl_->DescribeTo(os); }
Here is the caller graph for this function:

◆ ExplainMatchResultTo()

template<typename T>
void testing::internal::MatcherBase< T >::ExplainMatchResultTo ( T x,
::std::ostream * os ) const
inline

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

275 {
278 }
bool MatchAndExplain(T x, MatchResultListener *listener) const
Here is the call graph for this function:

◆ GetDescriber()

template<typename T>
const MatcherDescriberInterface * testing::internal::MatcherBase< T >::GetDescriber ( ) const
inline

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

283 {
284 return impl_.get();
285 }

◆ MatchAndExplain()

template<typename T>
bool testing::internal::MatcherBase< T >::MatchAndExplain ( T x,
MatchResultListener * listener ) const
inline

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

256 {
257 return impl_->MatchAndExplain(x, listener);
258 }
Here is the caller graph for this function:

◆ Matches()

template<typename T>
bool testing::internal::MatcherBase< T >::Matches ( T x) const
inline

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

261 {
263 return MatchAndExplain(x, &dummy);
264 }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h