Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::ContainsMatcherImpl< Container > Class Template Reference

#include <gmock-matchers.h>

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

Public Member Functions

template<typename InnerMatcher >
 ContainsMatcherImpl (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::ContainsMatcherImpl< Container >

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

Constructor & Destructor Documentation

◆ ContainsMatcherImpl()

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

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

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

Member Function Documentation

◆ DescribeNegationTo()

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

Reimplemented from testing::MatcherDescriberInterface.

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

3165 {
3166 *os << "doesn't contain any element that ";
3168 }
void DescribeTo(::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::ContainsMatcherImpl< Container >::DescribeTo ( ::std::ostream * os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

3160 {
3161 *os << "contains at least one element that ";
3163 }
Here is the call graph for this function:

◆ MatchAndExplain()

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

Implements testing::MatcherInterface< Container >.

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

3171 {
3172 return this->MatchAndExplainImpl(false, container, listener);
3173 }
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: