Electroneum
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 804 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 808 of file gmock-actions.h.

808 : value_(value) {}
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1225

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

811  {
812  CompileAssertTypesEqual<void, Result>();
813  *::testing::get<N>(args) = value_;
814  }

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