Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
testing::internal::ElementsAreMatcherImpl< Container > Class Template Reference

#include <gmock.h>

Inheritance diagram for testing::internal::ElementsAreMatcherImpl< Container >:
Inheritance graph
[legend]

Public Types

typedef StlContainer::value_type Element
 
typedef View::type StlContainer
 
typedef View::const_reference StlContainerReference
 
typedef internal::StlContainerView< RawContainer > View
 

Public Member Functions

virtual void DescribeNegationTo (::std::ostream *os) const
 
virtual void DescribeTo (::std::ostream *os) const
 
template<typename InputIter >
 ElementsAreMatcherImpl (InputIter first, InputIter last)
 
typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (Container) RawContainer
 
virtual bool MatchAndExplain (Container container, MatchResultListener *listener) const
 
- Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()
 

Private Member Functions

size_t count () const
 
 GTEST_DISALLOW_ASSIGN_ (ElementsAreMatcherImpl)
 

Static Private Member Functions

static Message Elements (size_t count)
 

Private Attributes

::std::vector< Matcher< const Element & > > matchers_
 

Detailed Description

template<typename Container>
class testing::internal::ElementsAreMatcherImpl< Container >

Definition at line 7927 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Typedef Documentation

◆ Element

template<typename Container >
typedef StlContainer::value_type testing::internal::ElementsAreMatcherImpl< Container >::Element

Definition at line 7933 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ StlContainer

template<typename Container >
typedef View::type testing::internal::ElementsAreMatcherImpl< Container >::StlContainer

Definition at line 7931 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ StlContainerReference

template<typename Container >
typedef View::const_reference testing::internal::ElementsAreMatcherImpl< Container >::StlContainerReference

Definition at line 7932 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ View

template<typename Container >
typedef internal::StlContainerView<RawContainer> testing::internal::ElementsAreMatcherImpl< Container >::View

Definition at line 7930 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Constructor & Destructor Documentation

◆ ElementsAreMatcherImpl()

template<typename Container >
template<typename InputIter >
testing::internal::ElementsAreMatcherImpl< Container >::ElementsAreMatcherImpl ( InputIter  first,
InputIter  last 
)
inline

Definition at line 7938 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Function Documentation

◆ count()

template<typename Container >
size_t testing::internal::ElementsAreMatcherImpl< Container >::count ( ) const
inlineprivate

Definition at line 8065 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ DescribeNegationTo()

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

◆ DescribeTo()

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

◆ Elements()

template<typename Container >
static Message testing::internal::ElementsAreMatcherImpl< Container >::Elements ( size_t  count)
inlinestaticprivate

Definition at line 8061 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ GTEST_DISALLOW_ASSIGN_()

template<typename Container >
testing::internal::ElementsAreMatcherImpl< Container >::GTEST_DISALLOW_ASSIGN_ ( ElementsAreMatcherImpl< Container >  )
private

◆ GTEST_REMOVE_REFERENCE_AND_CONST_()

template<typename Container >
typedef testing::internal::ElementsAreMatcherImpl< Container >::GTEST_REMOVE_REFERENCE_AND_CONST_ ( Container  )

◆ MatchAndExplain()

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

Member Data Documentation

◆ matchers_

template<typename Container >
::std::vector<Matcher<const Element&> > testing::internal::ElementsAreMatcherImpl< Container >::matchers_
private

Definition at line 8067 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:49