proxygen
testing::internal::SetErrnoAndReturnAction< T > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 SetErrnoAndReturnAction (int errno_value, T result)
 
template<typename Result , typename ArgumentTuple >
Result Perform (const ArgumentTuple &) const
 
 SetErrnoAndReturnAction (int errno_value, T result)
 
template<typename Result , typename ArgumentTuple >
Result Perform (const ArgumentTuple &) const
 
 SetErrnoAndReturnAction (int errno_value, T result)
 
template<typename Result , typename ArgumentTuple >
Result Perform (const ArgumentTuple &) const
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (SetErrnoAndReturnAction)
 
 GTEST_DISALLOW_ASSIGN_ (SetErrnoAndReturnAction)
 
 GTEST_DISALLOW_ASSIGN_ (SetErrnoAndReturnAction)
 

Private Attributes

const int errno_
 
const T result_
 

Detailed Description

template<typename T>
class testing::internal::SetErrnoAndReturnAction< T >

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

Constructor & Destructor Documentation

template<typename T >
testing::internal::SetErrnoAndReturnAction< T >::SetErrnoAndReturnAction ( int  errno_value,
T  result 
)
inline

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

template<typename T >
testing::internal::SetErrnoAndReturnAction< T >::SetErrnoAndReturnAction ( int  errno_value,
T  result 
)
inline

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

template<typename T >
testing::internal::SetErrnoAndReturnAction< T >::SetErrnoAndReturnAction ( int  errno_value,
T  result 
)
inline

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

Member Function Documentation

template<typename T >
testing::internal::SetErrnoAndReturnAction< T >::GTEST_DISALLOW_ASSIGN_ ( SetErrnoAndReturnAction< T )
private
template<typename T >
testing::internal::SetErrnoAndReturnAction< T >::GTEST_DISALLOW_ASSIGN_ ( SetErrnoAndReturnAction< T )
private
template<typename T >
testing::internal::SetErrnoAndReturnAction< T >::GTEST_DISALLOW_ASSIGN_ ( SetErrnoAndReturnAction< T )
private
template<typename T >
template<typename Result , typename ArgumentTuple >
Result testing::internal::SetErrnoAndReturnAction< T >::Perform ( const ArgumentTuple &  ) const
inline

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

785  {
786  errno = errno_;
787  return result_;
788  }
template<typename T >
template<typename Result , typename ArgumentTuple >
Result testing::internal::SetErrnoAndReturnAction< T >::Perform ( const ArgumentTuple &  ) const
inline

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

References GTEST_DISALLOW_ASSIGN_.

785  {
786  errno = errno_;
787  return result_;
788  }
template<typename T >
template<typename Result , typename ArgumentTuple >
Result testing::internal::SetErrnoAndReturnAction< T >::Perform ( const ArgumentTuple &  ) const
inline

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

References GTEST_DISALLOW_ASSIGN_.

785  {
786  errno = errno_;
787  return result_;
788  }

Member Data Documentation

template<typename T >
const int testing::internal::SetErrnoAndReturnAction< T >::errno_
private

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

template<typename T >
const T testing::internal::SetErrnoAndReturnAction< T >::result_
private

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


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