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

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::ContainsMatcherImpl< 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 >
 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
 
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
 
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
 
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_ (ContainsMatcherImpl)
 
 GTEST_DISALLOW_ASSIGN_ (ContainsMatcherImpl)
 
 GTEST_DISALLOW_ASSIGN_ (ContainsMatcherImpl)
 

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::ContainsMatcherImpl< Container >

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

Constructor & Destructor Documentation

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

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

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

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

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

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

2849  : QuantifierMatcherImpl<Container>(inner_matcher) {}

Member Function Documentation

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

Reimplemented from testing::MatcherDescriberInterface.

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

2857  {
2858  *os << "doesn't contain any element that ";
2859  this->inner_matcher_.DescribeTo(os);
2860  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
template<typename Container >
virtual void testing::internal::ContainsMatcherImpl< Container >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

2857  {
2858  *os << "doesn't contain any element that ";
2859  this->inner_matcher_.DescribeTo(os);
2860  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
template<typename Container >
virtual void testing::internal::ContainsMatcherImpl< Container >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

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

2857  {
2858  *os << "doesn't contain any element that ";
2859  this->inner_matcher_.DescribeTo(os);
2860  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
template<typename Container >
virtual void testing::internal::ContainsMatcherImpl< Container >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

2852  {
2853  *os << "contains at least one element that ";
2854  this->inner_matcher_.DescribeTo(os);
2855  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
template<typename Container >
virtual void testing::internal::ContainsMatcherImpl< Container >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

2852  {
2853  *os << "contains at least one element that ";
2854  this->inner_matcher_.DescribeTo(os);
2855  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
template<typename Container >
virtual void testing::internal::ContainsMatcherImpl< Container >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

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

2852  {
2853  *os << "contains at least one element that ";
2854  this->inner_matcher_.DescribeTo(os);
2855  }
void DescribeTo(::std::ostream *os) const
const Matcher< const Element & > inner_matcher_
template<typename Container >
testing::internal::ContainsMatcherImpl< Container >::GTEST_DISALLOW_ASSIGN_ ( ContainsMatcherImpl< Container >  )
private
template<typename Container >
testing::internal::ContainsMatcherImpl< Container >::GTEST_DISALLOW_ASSIGN_ ( ContainsMatcherImpl< Container >  )
private
template<typename Container >
testing::internal::ContainsMatcherImpl< Container >::GTEST_DISALLOW_ASSIGN_ ( ContainsMatcherImpl< Container >  )
private
template<typename Container >
virtual bool testing::internal::ContainsMatcherImpl< Container >::MatchAndExplain ( Container  container,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< Container >.

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

References GTEST_DISALLOW_ASSIGN_.

2863  {
2864  return this->MatchAndExplainImpl(false, container, listener);
2865  }
bool MatchAndExplainImpl(bool all_elements_should_match, Container container, MatchResultListener *listener) const
template<typename Container >
virtual bool testing::internal::ContainsMatcherImpl< Container >::MatchAndExplain ( Container  container,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< Container >.

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

References GTEST_DISALLOW_ASSIGN_.

2863  {
2864  return this->MatchAndExplainImpl(false, container, listener);
2865  }
bool MatchAndExplainImpl(bool all_elements_should_match, Container container, MatchResultListener *listener) const
template<typename Container >
virtual bool testing::internal::ContainsMatcherImpl< Container >::MatchAndExplain ( Container  container,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< Container >.

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

References GTEST_DISALLOW_ASSIGN_.

2863  {
2864  return this->MatchAndExplainImpl(false, container, listener);
2865  }
bool MatchAndExplainImpl(bool all_elements_should_match, Container container, MatchResultListener *listener) const

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