Electroneum
Loading...
Searching...
No Matches
testing::internal::EachMatcherImpl< Container > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::EachMatcherImpl< Container >:
Collaboration diagram for testing::internal::EachMatcherImpl< Container >:

Public Member Functions

template<typename InnerMatcher>
 EachMatcherImpl (InnerMatcher inner_matcher)
virtual void DescribeTo (::std::ostream *os) const
virtual void DescribeNegationTo (::std::ostream *os) const
virtual bool MatchAndExplain (Container container, MatchResultListener *listener) const
Public Member Functions inherited from testing::internal::QuantifierMatcherImpl< Container >
typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (Container) RawContainer
template<typename InnerMatcher>
 QuantifierMatcherImpl (InnerMatcher inner_matcher)
bool MatchAndExplainImpl (bool all_elements_should_match, Container container, MatchResultListener *listener) const
Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()

Additional Inherited Members

Public Types inherited from testing::internal::QuantifierMatcherImpl< Container >
typedef StlContainerView< RawContainer > View
typedef View::type StlContainer
typedef View::const_reference StlContainerReference
typedef StlContainer::value_type Element
Protected Member Functions inherited from testing::internal::QuantifierMatcherImpl< Container >
 GTEST_DISALLOW_ASSIGN_ (QuantifierMatcherImpl)
Protected Attributes inherited from testing::internal::QuantifierMatcherImpl< Container >
const Matcher< const Element & > inner_matcher_

Detailed Description

template<typename Container>
class testing::internal::EachMatcherImpl< Container >

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

Constructor & Destructor Documentation

◆ EachMatcherImpl()

template<typename Container>
template<typename InnerMatcher>
testing::internal::EachMatcherImpl< Container >::EachMatcherImpl ( InnerMatcher inner_matcher)
inlineexplicit

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

Here is the call graph for this function:

Member Function Documentation

◆ DescribeNegationTo()

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

Reimplemented from testing::MatcherDescriberInterface.

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

2886 {
2887 *os << "contains some element that ";
2888 this->inner_matcher_.DescribeNegationTo(os);
2889 }
const Matcher< const Element & > inner_matcher_

◆ DescribeTo()

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

Implements testing::MatcherDescriberInterface.

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

2881 {
2882 *os << "only contains elements that ";
2883 this->inner_matcher_.DescribeTo(os);
2884 }

◆ MatchAndExplain()

template<typename Container>
virtual bool testing::internal::EachMatcherImpl< Container >::MatchAndExplain ( Container container,
MatchResultListener * listener ) const
inlinevirtual

Implements testing::MatcherInterface< Container >.

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

2892 {
2893 return this->MatchAndExplainImpl(true, container, listener);
2894 }
bool MatchAndExplainImpl(bool all_elements_should_match, Container container, MatchResultListener *listener) const
Here is the call 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