Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

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

Detailed Description

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

Definition at line 900 of file gmock-actions.h.

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 902 of file gmock-actions.h.

903 : obj_ptr_(obj_ptr), method_ptr_(method_ptr) {}

Member Function Documentation

◆ 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 906 of file gmock-actions.h.

906 {
907 return (obj_ptr_->*method_ptr_)();
908 }

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