proxygen
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
 
 AssignAction (T1 *ptr, T2 value)
 
template<typename Result , typename ArgumentTuple >
void Perform (const ArgumentTuple &) const
 
 AssignAction (T1 *ptr, T2 value)
 
template<typename Result , typename ArgumentTuple >
void Perform (const ArgumentTuple &) const
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (AssignAction)
 
 GTEST_DISALLOW_ASSIGN_ (AssignAction)
 
 GTEST_DISALLOW_ASSIGN_ (AssignAction)
 

Private Attributes

T1 *const ptr_
 
const T2 value_
 

Detailed Description

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

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

Constructor & Destructor Documentation

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

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

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

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

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

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

Member Function Documentation

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

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

References ptr_.

763  {
764  *ptr_ = value_;
765  }
template<typename T1 , typename T2 >
template<typename Result , typename ArgumentTuple >
void testing::internal::AssignAction< T1, T2 >::Perform ( const ArgumentTuple &  ) const
inline

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

References GTEST_DISALLOW_ASSIGN_, and ptr_.

763  {
764  *ptr_ = value_;
765  }
template<typename T1 , typename T2 >
template<typename Result , typename ArgumentTuple >
void testing::internal::AssignAction< T1, T2 >::Perform ( const ArgumentTuple &  ) const
inline

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

References GTEST_DISALLOW_ASSIGN_, and ptr_.

763  {
764  *ptr_ = value_;
765  }

Member Data Documentation

template<typename T1 , typename T2 >
T1 *const testing::internal::AssignAction< T1, T2 >::ptr_
private

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

template<typename T1 , typename T2 >
const T2 testing::internal::AssignAction< T1, T2 >::value_
private

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


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