proxygen
testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > > Class Template Reference

#include <gmock-generated-actions.h>

Static Public Member Functions

template<typename Function >
static R Invoke (Function function, const ::testing::tuple< A1, A2 > &args)
 
template<class Class , typename MethodPtr >
static R InvokeMethod (Class *obj_ptr, MethodPtr method_ptr, const ::testing::tuple< A1, A2 > &args)
 
template<typename Function >
static R Invoke (Function function, const ::testing::tuple< A1, A2 > &args)
 
template<class Class , typename MethodPtr >
static R InvokeMethod (Class *obj_ptr, MethodPtr method_ptr, const ::testing::tuple< A1, A2 > &args)
 
template<typename Function >
static R Invoke (Function function, const ::testing::tuple< A1, A2 > &args)
 
template<class Class , typename MethodPtr >
static R InvokeMethod (Class *obj_ptr, MethodPtr method_ptr, const ::testing::tuple< A1, A2 > &args)
 

Detailed Description

template<typename R, typename A1, typename A2>
class testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > >

Definition at line 86 of file gmock-generated-actions.h.

Member Function Documentation

template<typename R , typename A1 , typename A2 >
template<typename Function >
static R testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > >::Invoke ( Function  function,
const ::testing::tuple< A1, A2 > &  args 
)
inlinestatic

Definition at line 89 of file gmock-generated-actions.h.

89  {
90  return function(get<0>(args), get<1>(args));
91  }
template<typename R , typename A1 , typename A2 >
template<typename Function >
static R testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > >::Invoke ( Function  function,
const ::testing::tuple< A1, A2 > &  args 
)
inlinestatic

Definition at line 89 of file gmock-generated-actions.h.

89  {
90  return function(get<0>(args), get<1>(args));
91  }
template<typename R , typename A1 , typename A2 >
template<typename Function >
static R testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > >::Invoke ( Function  function,
const ::testing::tuple< A1, A2 > &  args 
)
inlinestatic

Definition at line 89 of file gmock-generated-actions.h.

89  {
90  return function(get<0>(args), get<1>(args));
91  }
template<typename R , typename A1 , typename A2 >
template<class Class , typename MethodPtr >
static R testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > >::InvokeMethod ( Class *  obj_ptr,
MethodPtr  method_ptr,
const ::testing::tuple< A1, A2 > &  args 
)
inlinestatic

Definition at line 94 of file gmock-generated-actions.h.

96  {
97  return (obj_ptr->*method_ptr)(get<0>(args), get<1>(args));
98  }
template<typename R , typename A1 , typename A2 >
template<class Class , typename MethodPtr >
static R testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > >::InvokeMethod ( Class *  obj_ptr,
MethodPtr  method_ptr,
const ::testing::tuple< A1, A2 > &  args 
)
inlinestatic

Definition at line 94 of file gmock-generated-actions.h.

96  {
97  return (obj_ptr->*method_ptr)(get<0>(args), get<1>(args));
98  }
template<typename R , typename A1 , typename A2 >
template<class Class , typename MethodPtr >
static R testing::internal::InvokeHelper< R,::testing::tuple< A1, A2 > >::InvokeMethod ( Class *  obj_ptr,
MethodPtr  method_ptr,
const ::testing::tuple< A1, A2 > &  args 
)
inlinestatic

Definition at line 94 of file gmock-generated-actions.h.

96  {
97  return (obj_ptr->*method_ptr)(get<0>(args), get<1>(args));
98  }

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