template <typename Container>

class QuantifierMatcherImpl

Defined at line 2764 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

Holds the logic common to ContainsMatcherImpl and EachMatcherImpl.

Protected Members

const Matcher<const Element &> inner_matcher_

Public Methods

template <typename InnerMatcher>
void QuantifierMatcherImpl<Container> (InnerMatcher inner_matcher)

Defined at line 2773 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

bool MatchAndExplainImpl (bool all_elements_should_match, Container container, MatchResultListener * listener)

Checks whether:

* All elements in the container match, if all_elements_should_match.

* Any element in the container matches, if !all_elements_should_match.

Defined at line 2780 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

bool MatchAndExplainImpl (const Matcher<size_t> & count_matcher, Container container, MatchResultListener * listener)

Defined at line 2799 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h