Electroneum
Loading...
Searching...
No Matches
testing::internal::SetArgumentPointeeAction< N, Proto, true > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 SetArgumentPointeeAction (const Proto &proto)
template<typename Result, typename ArgumentTuple>
void Perform (const ArgumentTuple &args) const

Detailed Description

template<size_t N, typename Proto>
class testing::internal::SetArgumentPointeeAction< N, Proto, true >

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

Constructor & Destructor Documentation

◆ SetArgumentPointeeAction()

template<size_t N, typename Proto>
testing::internal::SetArgumentPointeeAction< N, Proto, true >::SetArgumentPointeeAction ( const Proto & proto)
inlineexplicit

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

829 : proto_(new Proto) {
830 proto_->CopyFrom(proto);
831 }

Member Function Documentation

◆ Perform()

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

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

834 {
836 ::testing::get<N>(args)->CopyFrom(*proto_);
837 }

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h