Monero
Loading...
Searching...
No Matches
testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >:
Collaboration diagram for testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >:

Public Types

typedef internal::StlContainerView< GTEST_REMOVE_REFERENCE_AND_CONST_(Container)> ContainerView
typedef std::iterator_traits< typenameContainerView::type::const_iterator >::difference_type DistanceType

Public Member Functions

 Impl (const DistanceMatcher &distance_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::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (Impl)

Private Attributes

const Matcher< DistanceTypedistance_matcher_

Member Typedef Documentation

◆ ContainerView

template<typename DistanceMatcher>
template<typename Container>
typedef internal::StlContainerView< GTEST_REMOVE_REFERENCE_AND_CONST_(Container)> testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >::ContainerView

◆ DistanceType

template<typename DistanceMatcher>
template<typename Container>
typedef std::iterator_traits<typenameContainerView::type::const_iterator>::difference_type testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >::DistanceType

Constructor & Destructor Documentation

◆ Impl()

template<typename DistanceMatcher>
template<typename Container>
testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >::Impl ( const DistanceMatcher & distance_matcher)
inlineexplicit

Member Function Documentation

◆ DescribeNegationTo()

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

◆ DescribeTo()

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

◆ GTEST_DISALLOW_ASSIGN_()

template<typename DistanceMatcher>
template<typename Container>
testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >::GTEST_DISALLOW_ASSIGN_ ( Impl< Container > )
private

◆ MatchAndExplain()

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

Member Data Documentation

◆ distance_matcher_

template<typename DistanceMatcher>
template<typename Container>
const Matcher<DistanceType> testing::internal::BeginEndDistanceIsMatcher< DistanceMatcher >::Impl< Container >::distance_matcher_
private

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