proxygen
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
 
 SetArgumentPointeeAction (const A &value)
 
template<typename Result , typename ArgumentTuple >
void Perform (const ArgumentTuple &args) const
 
 SetArgumentPointeeAction (const A &value)
 
template<typename Result , typename ArgumentTuple >
void Perform (const ArgumentTuple &args) const
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (SetArgumentPointeeAction)
 
 GTEST_DISALLOW_ASSIGN_ (SetArgumentPointeeAction)
 
 GTEST_DISALLOW_ASSIGN_ (SetArgumentPointeeAction)
 

Private Attributes

const A value_
 

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

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) {}
static const char *const value
Definition: Conv.cpp:50
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) {}
static const char *const value
Definition: Conv.cpp:50
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) {}
static const char *const value
Definition: Conv.cpp:50

Member Function Documentation

template<size_t N, typename A , bool kIsProto>
testing::internal::SetArgumentPointeeAction< N, A, kIsProto >::GTEST_DISALLOW_ASSIGN_ ( SetArgumentPointeeAction< N, A, kIsProto >  )
private
template<size_t N, typename A , bool kIsProto>
testing::internal::SetArgumentPointeeAction< N, A, kIsProto >::GTEST_DISALLOW_ASSIGN_ ( SetArgumentPointeeAction< N, A, kIsProto >  )
private
template<size_t N, typename A , bool kIsProto>
testing::internal::SetArgumentPointeeAction< N, A, kIsProto >::GTEST_DISALLOW_ASSIGN_ ( SetArgumentPointeeAction< N, A, kIsProto >  )
private
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  }
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.

References testing::A(), and GTEST_DISALLOW_ASSIGN_.

811  {
812  CompileAssertTypesEqual<void, Result>();
813  *::testing::get<N>(args) = value_;
814  }
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.

References testing::A(), and GTEST_DISALLOW_ASSIGN_.

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

Member Data Documentation

template<size_t N, typename A , bool kIsProto>
const A testing::internal::SetArgumentPointeeAction< N, A, kIsProto >::value_
private

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


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