Monero
Loading...
Searching...
No Matches
testing::internal::ElementsAreMatcherImpl< Container > Class Template Reference

#include <gmock-matchers.h>

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

Public Types

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

Public Member Functions

typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (Container) RawContainer
template<typename InputIter>
 ElementsAreMatcherImpl (InputIter first, InputIter last)
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::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_

Member Typedef Documentation

◆ Element

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

◆ StlContainer

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

◆ StlContainerReference

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

◆ View

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

Constructor & Destructor Documentation

◆ ElementsAreMatcherImpl()

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

Member Function Documentation

◆ count()

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

◆ 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>
Message testing::internal::ElementsAreMatcherImpl< Container >::Elements ( size_t count)
inlinestaticprivate

◆ 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

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