Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::AssignAction< T1, T2 > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 AssignAction (T1 *ptr, T2 value)
 
template<typename Result , typename ArgumentTuple >
void Perform (const ArgumentTuple &) const
 

Detailed Description

template<typename T1, typename T2>
class testing::internal::AssignAction< T1, T2 >

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

Constructor & Destructor Documentation

◆ AssignAction()

template<typename T1 , typename T2 >
testing::internal::AssignAction< T1, T2 >::AssignAction ( T1 * ptr,
T2 value )
inline

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

789: ptr_(ptr), value_(value) {}
#define value
Definition pkcs11.h:157

Member Function Documentation

◆ Perform()

template<typename T1 , typename T2 >
template<typename Result , typename ArgumentTuple >
void testing::internal::AssignAction< T1, T2 >::Perform ( const ArgumentTuple & ) const
inline

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

792 {
793 *ptr_ = value_;
794 }

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