Wire Sysio Wire Sysion 1.0.0
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::MatcherInterface< Container >
- 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 3182 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 3185 of file gmock-matchers.h.

3186 : QuantifierMatcherImpl<Container>(inner_matcher) {}
QuantifierMatcherImpl(InnerMatcher inner_matcher)

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 3194 of file gmock-matchers.h.

3194 {
3195 *os << "contains some element that ";
3197 }
void DescribeNegationTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
os_t os
Here is the call graph for this function:

◆ DescribeTo()

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

Implements testing::MatcherDescriberInterface.

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

3189 {
3190 *os << "only contains elements that ";
3192 }
void DescribeTo(::std::ostream *os) const
Here is the call graph for this function:

◆ MatchAndExplain()

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

Implements testing::MatcherInterface< Container >.

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

3200 {
3201 return this->MatchAndExplainImpl(true, container, listener);
3202 }
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: