Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::SetArgumentPointeeAction< N, A, kIsProto > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 SetArgumentPointeeAction (const A &value)
 
template<typename Result , typename ArgumentTuple >
void Perform (const ArgumentTuple &args) const
 

Detailed Description

template<size_t N, typename A, bool kIsProto>
class testing::internal::SetArgumentPointeeAction< N, A, kIsProto >

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

Constructor & Destructor Documentation

◆ SetArgumentPointeeAction()

template<size_t N, typename A , bool kIsProto>
testing::internal::SetArgumentPointeeAction< N, A, kIsProto >::SetArgumentPointeeAction ( const A & value)
inlineexplicit

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

837: value_(value) {}
#define value
Definition pkcs11.h:157

Member Function Documentation

◆ Perform()

template<size_t N, typename A , bool kIsProto>
template<typename Result , typename ArgumentTuple >
void testing::internal::SetArgumentPointeeAction< N, A, kIsProto >::Perform ( const ArgumentTuple & args) const
inline

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

840 {
841 CompileAssertTypesEqual<void, Result>();
842 *::testing::get<N>(args) = value_;
843 }

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