proxygen
testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 > Class Template Reference

#include <gmock-generated-matchers.h>

Inheritance diagram for testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >:
testing::MatcherInterface< ArgsTuple > testing::MatcherInterface< ArgsTuple > testing::MatcherInterface< ArgsTuple > testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface testing::MatcherDescriberInterface

Public Types

typedef internal::TupleFields< RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::type SelectedArgs
 
typedef Matcher< const SelectedArgs & > MonomorphicInnerMatcher
 
typedef internal::TupleFields< RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::type SelectedArgs
 
typedef Matcher< const SelectedArgs & > MonomorphicInnerMatcher
 
typedef internal::TupleFields< RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::type SelectedArgs
 
typedef Matcher< const SelectedArgs & > MonomorphicInnerMatcher
 

Public Member Functions

typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (ArgsTuple) RawArgsTuple
 
template<typename InnerMatcher >
 ArgsMatcherImpl (const InnerMatcher &inner_matcher)
 
virtual bool MatchAndExplain (ArgsTuple args, MatchResultListener *listener) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (ArgsTuple) RawArgsTuple
 
template<typename InnerMatcher >
 ArgsMatcherImpl (const InnerMatcher &inner_matcher)
 
virtual bool MatchAndExplain (ArgsTuple args, MatchResultListener *listener) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
typedef GTEST_REMOVE_REFERENCE_AND_CONST_ (ArgsTuple) RawArgsTuple
 
template<typename InnerMatcher >
 ArgsMatcherImpl (const InnerMatcher &inner_matcher)
 
virtual bool MatchAndExplain (ArgsTuple args, MatchResultListener *listener) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 
- Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()
 
virtual ~MatcherDescriberInterface ()
 
virtual ~MatcherDescriberInterface ()
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (ArgsMatcherImpl)
 
 GTEST_DISALLOW_ASSIGN_ (ArgsMatcherImpl)
 
 GTEST_DISALLOW_ASSIGN_ (ArgsMatcherImpl)
 

Static Private Member Functions

static SelectedArgs GetSelectedArgs (ArgsTuple args)
 
static void PrintIndices (::std::ostream *os)
 
static SelectedArgs GetSelectedArgs (ArgsTuple args)
 
static void PrintIndices (::std::ostream *os)
 
static SelectedArgs GetSelectedArgs (ArgsTuple args)
 
static void PrintIndices (::std::ostream *os)
 

Private Attributes

const MonomorphicInnerMatcher inner_matcher_
 

Detailed Description

template<class ArgsTuple, int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
class testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >

Definition at line 211 of file gmock-generated-matchers.h.

Member Typedef Documentation

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef Matcher<const SelectedArgs&> testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::MonomorphicInnerMatcher

Definition at line 217 of file gmock-generated-matchers.h.

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef Matcher<const SelectedArgs&> testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::MonomorphicInnerMatcher

Definition at line 217 of file gmock-generated-matchers.h.

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef Matcher<const SelectedArgs&> testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::MonomorphicInnerMatcher

Definition at line 217 of file gmock-generated-matchers.h.

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef internal::TupleFields<RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9>::type testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::SelectedArgs

Definition at line 216 of file gmock-generated-matchers.h.

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef internal::TupleFields<RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9>::type testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::SelectedArgs

Definition at line 216 of file gmock-generated-matchers.h.

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef internal::TupleFields<RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9>::type testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::SelectedArgs

Definition at line 216 of file gmock-generated-matchers.h.

Constructor & Destructor Documentation

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
template<typename InnerMatcher >
testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::ArgsMatcherImpl ( const InnerMatcher &  inner_matcher)
inlineexplicit

Definition at line 220 of file gmock-generated-matchers.h.

221  : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
template<typename InnerMatcher >
testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::ArgsMatcherImpl ( const InnerMatcher &  inner_matcher)
inlineexplicit

Definition at line 220 of file gmock-generated-matchers.h.

221  : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
template<typename InnerMatcher >
testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::ArgsMatcherImpl ( const InnerMatcher &  inner_matcher)
inlineexplicit

Definition at line 220 of file gmock-generated-matchers.h.

221  : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
const MonomorphicInnerMatcher inner_matcher_

Member Function Documentation

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

Definition at line 245 of file gmock-generated-matchers.h.

245  {
246  *os << "are a tuple ";
247  PrintIndices(os);
249  }
static void PrintIndices(::std::ostream *os)
void DescribeNegationTo(::std::ostream *os) const
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

Definition at line 245 of file gmock-generated-matchers.h.

245  {
246  *os << "are a tuple ";
247  PrintIndices(os);
249  }
static void PrintIndices(::std::ostream *os)
void DescribeNegationTo(::std::ostream *os) const
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

Definition at line 245 of file gmock-generated-matchers.h.

245  {
246  *os << "are a tuple ";
247  PrintIndices(os);
249  }
static void PrintIndices(::std::ostream *os)
void DescribeNegationTo(::std::ostream *os) const
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

Definition at line 239 of file gmock-generated-matchers.h.

239  {
240  *os << "are a tuple ";
241  PrintIndices(os);
243  }
static void PrintIndices(::std::ostream *os)
void DescribeTo(::std::ostream *os) const
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

Definition at line 239 of file gmock-generated-matchers.h.

239  {
240  *os << "are a tuple ";
241  PrintIndices(os);
243  }
static void PrintIndices(::std::ostream *os)
void DescribeTo(::std::ostream *os) const
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

Definition at line 239 of file gmock-generated-matchers.h.

239  {
240  *os << "are a tuple ";
241  PrintIndices(os);
243  }
static void PrintIndices(::std::ostream *os)
void DescribeTo(::std::ostream *os) const
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
static SelectedArgs testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GetSelectedArgs ( ArgsTuple  args)
inlinestaticprivate

Definition at line 252 of file gmock-generated-matchers.h.

References testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GetSelectedFields().

252  {
253  return TupleFields<RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8,
254  k9>::GetSelectedFields(args);
255  }
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
static SelectedArgs testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GetSelectedArgs ( ArgsTuple  args)
inlinestaticprivate

Definition at line 252 of file gmock-generated-matchers.h.

References testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GetSelectedFields().

252  {
253  return TupleFields<RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8,
254  k9>::GetSelectedFields(args);
255  }
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
static SelectedArgs testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GetSelectedArgs ( ArgsTuple  args)
inlinestaticprivate

Definition at line 252 of file gmock-generated-matchers.h.

References testing::internal::TupleFields< Tuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GetSelectedFields().

252  {
253  return TupleFields<RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8,
254  k9>::GetSelectedFields(args);
255  }
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GTEST_DISALLOW_ASSIGN_ ( ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >  )
private
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GTEST_DISALLOW_ASSIGN_ ( ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >  )
private
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GTEST_DISALLOW_ASSIGN_ ( ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >  )
private
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GTEST_REMOVE_REFERENCE_AND_CONST_ ( ArgsTuple  )
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GTEST_REMOVE_REFERENCE_AND_CONST_ ( ArgsTuple  )
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
typedef testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::GTEST_REMOVE_REFERENCE_AND_CONST_ ( ArgsTuple  )
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual bool testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::MatchAndExplain ( ArgsTuple  args,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< ArgsTuple >.

Definition at line 223 of file gmock-generated-matchers.h.

References testing::MatchResultListener::IsInterested(), testing::internal::PrintIfNotEmpty(), testing::PrintToString(), testing::StringMatchResultListener::str(), and testing::MatchResultListener::stream().

224  {
225  const SelectedArgs& selected_args = GetSelectedArgs(args);
226  if (!listener->IsInterested())
227  return inner_matcher_.Matches(selected_args);
228 
229  PrintIndices(listener->stream());
230  *listener << "are " << PrintToString(selected_args);
231 
232  StringMatchResultListener inner_listener;
233  const bool match = inner_matcher_.MatchAndExplain(selected_args,
234  &inner_listener);
235  PrintIfNotEmpty(inner_listener.str(), listener->stream());
236  return match;
237  }
::std::string PrintToString(const T &value)
static void PrintIndices(::std::ostream *os)
internal::TupleFields< RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::type SelectedArgs
bool MatchAndExplain(T x, MatchResultListener *listener) const
void PrintIfNotEmpty(const internal::string &explanation,::std::ostream *os)
static SelectedArgs GetSelectedArgs(ArgsTuple args)
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual bool testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::MatchAndExplain ( ArgsTuple  args,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< ArgsTuple >.

Definition at line 223 of file gmock-generated-matchers.h.

References testing::MatchResultListener::IsInterested(), testing::internal::PrintIfNotEmpty(), testing::PrintToString(), testing::StringMatchResultListener::str(), and testing::MatchResultListener::stream().

224  {
225  const SelectedArgs& selected_args = GetSelectedArgs(args);
226  if (!listener->IsInterested())
227  return inner_matcher_.Matches(selected_args);
228 
229  PrintIndices(listener->stream());
230  *listener << "are " << PrintToString(selected_args);
231 
232  StringMatchResultListener inner_listener;
233  const bool match = inner_matcher_.MatchAndExplain(selected_args,
234  &inner_listener);
235  PrintIfNotEmpty(inner_listener.str(), listener->stream());
236  return match;
237  }
::std::string PrintToString(const T &value)
static void PrintIndices(::std::ostream *os)
internal::TupleFields< RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::type SelectedArgs
bool MatchAndExplain(T x, MatchResultListener *listener) const
void PrintIfNotEmpty(const internal::string &explanation,::std::ostream *os)
static SelectedArgs GetSelectedArgs(ArgsTuple args)
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
virtual bool testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::MatchAndExplain ( ArgsTuple  args,
MatchResultListener listener 
) const
inlinevirtual

Implements testing::MatcherInterface< ArgsTuple >.

Definition at line 223 of file gmock-generated-matchers.h.

References testing::MatchResultListener::IsInterested(), testing::internal::PrintIfNotEmpty(), testing::PrintToString(), testing::StringMatchResultListener::str(), and testing::MatchResultListener::stream().

224  {
225  const SelectedArgs& selected_args = GetSelectedArgs(args);
226  if (!listener->IsInterested())
227  return inner_matcher_.Matches(selected_args);
228 
229  PrintIndices(listener->stream());
230  *listener << "are " << PrintToString(selected_args);
231 
232  StringMatchResultListener inner_listener;
233  const bool match = inner_matcher_.MatchAndExplain(selected_args,
234  &inner_listener);
235  PrintIfNotEmpty(inner_listener.str(), listener->stream());
236  return match;
237  }
::std::string PrintToString(const T &value)
static void PrintIndices(::std::ostream *os)
internal::TupleFields< RawArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::type SelectedArgs
bool MatchAndExplain(T x, MatchResultListener *listener) const
void PrintIfNotEmpty(const internal::string &explanation,::std::ostream *os)
static SelectedArgs GetSelectedArgs(ArgsTuple args)
const MonomorphicInnerMatcher inner_matcher_
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
static void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::PrintIndices ( ::std::ostream *  os)
inlinestaticprivate

Definition at line 258 of file gmock-generated-matchers.h.

References i.

258  {
259  *os << "whose fields (";
260  const int indices[10] = { k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 };
261  for (int i = 0; i < 10; i++) {
262  if (indices[i] < 0)
263  break;
264 
265  if (i >= 1)
266  *os << ", ";
267 
268  *os << "#" << indices[i];
269  }
270  *os << ") ";
271  }
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
static void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::PrintIndices ( ::std::ostream *  os)
inlinestaticprivate

Definition at line 258 of file gmock-generated-matchers.h.

References GTEST_DISALLOW_ASSIGN_, and i.

258  {
259  *os << "whose fields (";
260  const int indices[10] = { k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 };
261  for (int i = 0; i < 10; i++) {
262  if (indices[i] < 0)
263  break;
264 
265  if (i >= 1)
266  *os << ", ";
267 
268  *os << "#" << indices[i];
269  }
270  *os << ") ";
271  }
template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
static void testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::PrintIndices ( ::std::ostream *  os)
inlinestaticprivate

Definition at line 258 of file gmock-generated-matchers.h.

References GTEST_DISALLOW_ASSIGN_, and i.

258  {
259  *os << "whose fields (";
260  const int indices[10] = { k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 };
261  for (int i = 0; i < 10; i++) {
262  if (indices[i] < 0)
263  break;
264 
265  if (i >= 1)
266  *os << ", ";
267 
268  *os << "#" << indices[i];
269  }
270  *os << ") ";
271  }

Member Data Documentation

template<class ArgsTuple , int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1, int k4 = -1, int k5 = -1, int k6 = -1, int k7 = -1, int k8 = -1, int k9 = -1>
const MonomorphicInnerMatcher testing::internal::ArgsMatcherImpl< ArgsTuple, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9 >::inner_matcher_
private

Definition at line 273 of file gmock-generated-matchers.h.


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