Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::UnorderedElementsAreMatcher< MatcherTuple > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 UnorderedElementsAreMatcher (const MatcherTuple &args)
 
template<typename Container >
 operator Matcher< Container > () const
 

Detailed Description

template<typename MatcherTuple>
class testing::internal::UnorderedElementsAreMatcher< MatcherTuple >

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

Constructor & Destructor Documentation

◆ UnorderedElementsAreMatcher()

template<typename MatcherTuple >
testing::internal::UnorderedElementsAreMatcher< MatcherTuple >::UnorderedElementsAreMatcher ( const MatcherTuple & args)
inlineexplicit

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

3819 : matchers_(args) {}

Member Function Documentation

◆ operator Matcher< Container >()

template<typename MatcherTuple >
template<typename Container >
testing::internal::UnorderedElementsAreMatcher< MatcherTuple >::operator Matcher< Container > ( ) const
inline

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

3822 {
3823 typedef GTEST_REMOVE_REFERENCE_AND_CONST_(Container) RawContainer;
3825 typedef typename View::value_type Element;
3826 typedef ::std::vector<Matcher<const Element&> > MatcherVec;
3827 MatcherVec matchers;
3828 matchers.reserve(::testing::tuple_size<MatcherTuple>::value);
3829 TransformTupleValues(CastAndAppendTransform<const Element&>(), matchers_,
3830 ::std::back_inserter(matchers));
3831 return MakeMatcher(new UnorderedElementsAreMatcherImpl<Container>(
3832 UnorderedMatcherRequire::ExactMatch, matchers.begin(), matchers.end()));
3833 }
#define GTEST_REMOVE_REFERENCE_AND_CONST_(T)
OutIter TransformTupleValues(Func f, const Tuple &t, OutIter out)
Matcher< T > MakeMatcher(const MatcherInterface< T > *impl)
Here is the call graph for this function:

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