proxygen
testing::internal::EachMatcherImpl< Container > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::EachMatcherImpl< Container >:
testing::internal::QuantifierMatcherImpl< Container > testing::internal::QuantifierMatcherImpl< Container > testing::internal::QuantifierMatcherImpl< Container > testing::MatcherInterface< Container > testing::MatcherInterface< Container > testing::MatcherInterface< Container > testing::MatcherInterface< Container > testing::MatcherInterface< Container > testing::MatcherInterface< Container > testing::MatcherInterface< Container > testing::MatcherInterface< Container > testing::MatcherInterface< 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
 
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
 
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
 
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
 
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 ()
 
virtual ~MatcherDescriberInterface ()
 
virtual ~MatcherDescriberInterface ()
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (EachMatcherImpl)
 
 GTEST_DISALLOW_ASSIGN_ (EachMatcherImpl)
 
 GTEST_DISALLOW_ASSIGN_ (EachMatcherImpl)
 

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
 
typedef StlContainerView< RawContainer > View
 
typedef View::type StlContainer
 
typedef View::const_reference StlContainerReference
 
typedef StlContainer::value_type Element
 
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)
 
 GTEST_DISALLOW_ASSIGN_ (QuantifierMatcherImpl)
 
 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

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

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

2878  : QuantifierMatcherImpl<Container>(inner_matcher) {}
template<typename Container >
template<typename InnerMatcher >
testing::internal::EachMatcherImpl< Container >::EachMatcherImpl ( InnerMatcher  inner_matcher)
inlineexplicit

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

2878  : QuantifierMatcherImpl<Container>(inner_matcher) {}
template<typename Container >
template<typename InnerMatcher >
testing::internal::EachMatcherImpl< Container >::EachMatcherImpl ( InnerMatcher  inner_matcher)
inlineexplicit

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

2878  : QuantifierMatcherImpl<Container>(inner_matcher) {}

Member Function Documentation

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 ";
2889  }
const Matcher< const Element & > inner_matcher_
void DescribeNegationTo(::std::ostream *os) const
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 ";
2889  }
const Matcher< const Element & > inner_matcher_
void DescribeNegationTo(::std::ostream *os) const
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 ";
2889  }
const Matcher< const Element & > inner_matcher_
void DescribeNegationTo(::std::ostream *os) const
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  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
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  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
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  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
template<typename Container >
testing::internal::EachMatcherImpl< Container >::GTEST_DISALLOW_ASSIGN_ ( EachMatcherImpl< Container >  )
private
template<typename Container >
testing::internal::EachMatcherImpl< Container >::GTEST_DISALLOW_ASSIGN_ ( EachMatcherImpl< Container >  )
private
template<typename Container >
testing::internal::EachMatcherImpl< Container >::GTEST_DISALLOW_ASSIGN_ ( EachMatcherImpl< Container >  )
private
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.

References GTEST_DISALLOW_ASSIGN_.

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

References GTEST_DISALLOW_ASSIGN_.

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

References GTEST_DISALLOW_ASSIGN_.

2892  {
2893  return this->MatchAndExplainImpl(true, container, listener);
2894  }
bool MatchAndExplainImpl(bool all_elements_should_match, Container container, MatchResultListener *listener) const

The documentation for this class was generated from the following file: