Monero
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >:
Inheritance graph
[legend]
Collaboration diagram for testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >:
Collaboration graph
[legend]

Public Types

typedef internal::StlContainerView< GTEST_REMOVE_REFERENCE_AND_CONST_(LhsContainer)> LhsView
 
typedef LhsView::type LhsStlContainer
 
typedef LhsView::const_reference LhsStlContainerReference
 
typedef RemoveConstFromKey< typenameLhsStlContainer::value_type >::type LhsValue
 

Public Member Functions

 Impl (const Comparator &comparator, const ContainerMatcher &matcher)
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
virtual bool MatchAndExplain (LhsContainer lhs, MatchResultListener *listener) const
 
- Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (Impl)
 

Private Attributes

const Comparator comparator_
 
const Matcher< const ::std::vector< LhsValue > & > matcher_
 

Member Typedef Documentation

◆ LhsStlContainer

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
typedef LhsView::type testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::LhsStlContainer

◆ LhsStlContainerReference

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
typedef LhsView::const_reference testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::LhsStlContainerReference

◆ LhsValue

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
typedef RemoveConstFromKey<typenameLhsStlContainer::value_type>::type testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::LhsValue

◆ LhsView

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
typedef internal::StlContainerView< GTEST_REMOVE_REFERENCE_AND_CONST_(LhsContainer)> testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::LhsView

Constructor & Destructor Documentation

◆ Impl()

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::Impl ( const Comparator & comparator,
const ContainerMatcher & matcher )
inline

Member Function Documentation

◆ DescribeNegationTo()

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
virtual void testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::DescribeNegationTo ( ::std::ostream * os) const
inlinevirtual

◆ DescribeTo()

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
virtual void testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::DescribeTo ( ::std::ostream * os) const
inlinevirtual

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( Impl< LhsContainer > )
private

◆ MatchAndExplain()

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
virtual bool testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::MatchAndExplain ( LhsContainer lhs,
MatchResultListener * listener ) const
inlinevirtual

Member Data Documentation

◆ comparator_

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
const Comparator testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::comparator_
private

◆ matcher_

template<typename Comparator , typename ContainerMatcher >
template<typename LhsContainer >
const Matcher<const ::std::vector<LhsValue>&> testing::internal::WhenSortedByMatcher< Comparator, ContainerMatcher >::Impl< LhsContainer >::matcher_
private

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