Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > Struct Template Reference

#include <gmock-actions.h>

Public Types

using ReturnType = typename std::result_of< MethodPtr(Class *)>::type
 
using ReturnType = typename std::result_of< MethodPtr(Class *)>::type
 
using ReturnType = typename std::result_of< MethodPtr(Class *)>::type
 
using ReturnType = decltype((std::declval< Class * >() -> *std::declval< MethodPtr >())())
 

Public Member Functions

 InvokeMethodWithoutArgsAction (Class *obj_ptr, MethodPtr method_ptr)
 
template<typename... Args>
ReturnType operator() (const Args &...) const
 
template<typename... Args>
ReturnType operator() (const Args &...) const
 
template<typename... Args>
ReturnType operator() (const Args &...) const
 
template<typename... Args>
ReturnType operator() (const Args &...) const
 
template<typename Result , typename ArgumentTuple >
Result Perform (const ArgumentTuple &) const
 

Public Attributes

const MethodPtr method_ptr
 
Class *const obj_ptr
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (InvokeMethodWithoutArgsAction)
 

Private Attributes

const MethodPtr method_ptr_
 
Class *const obj_ptr_
 

Detailed Description

template<class Class, typename MethodPtr>
struct testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >

Definition at line 814 of file bloaty/third_party/googletest/googlemock/include/gmock/gmock-actions.h.

Member Typedef Documentation

◆ ReturnType [1/4]

template<class Class , typename MethodPtr >
using testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::ReturnType = typename std::result_of<MethodPtr(Class*)>::type

◆ ReturnType [2/4]

template<class Class , typename MethodPtr >
using testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::ReturnType = typename std::result_of<MethodPtr(Class*)>::type

◆ ReturnType [3/4]

template<class Class , typename MethodPtr >
using testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::ReturnType = typename std::result_of<MethodPtr(Class*)>::type

◆ ReturnType [4/4]

template<class Class , typename MethodPtr >
using testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::ReturnType = decltype((std::declval<Class*>()->*std::declval<MethodPtr>())())

Constructor & Destructor Documentation

◆ InvokeMethodWithoutArgsAction()

template<class Class , typename MethodPtr >
testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::InvokeMethodWithoutArgsAction ( Class *  obj_ptr,
MethodPtr  method_ptr 
)
inline

Definition at line 1849 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Function Documentation

◆ GTEST_DISALLOW_ASSIGN_()

template<class Class , typename MethodPtr >
testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::GTEST_DISALLOW_ASSIGN_ ( InvokeMethodWithoutArgsAction< Class, MethodPtr >  )
private

◆ operator()() [1/4]

template<class Class , typename MethodPtr >
template<typename... Args>
ReturnType testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::operator() ( const Args ...) const
inline

◆ operator()() [2/4]

template<class Class , typename MethodPtr >
template<typename... Args>
ReturnType testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::operator() ( const Args ...) const
inline

◆ operator()() [3/4]

template<class Class , typename MethodPtr >
template<typename... Args>
ReturnType testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::operator() ( const Args ...) const
inline

◆ operator()() [4/4]

template<class Class , typename MethodPtr >
template<typename... Args>
ReturnType testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::operator() ( const Args ...) const
inline

◆ Perform()

template<class Class , typename MethodPtr >
template<typename Result , typename ArgumentTuple >
Result testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::Perform ( const ArgumentTuple &  ) const
inline

Definition at line 1853 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Data Documentation

◆ method_ptr

template<class Class , typename MethodPtr >
const MethodPtr testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::method_ptr

◆ method_ptr_

template<class Class , typename MethodPtr >
const MethodPtr testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::method_ptr_
private

Definition at line 1859 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ obj_ptr

template<class Class , typename MethodPtr >
Class *const testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::obj_ptr

◆ obj_ptr_

template<class Class , typename MethodPtr >
Class* const testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::obj_ptr_
private

Definition at line 1858 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.


The documentation for this struct was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:49