Xmipp  v3.23.11-Nereus
Classes | Public Member Functions | List of all members
testing::internal::DoAllAction< FinalAction > Class Template Reference

#include <gmock-actions.h>

Classes

struct  UserConstructorTag
 

Public Member Functions

template<typename T >
 DoAllAction (UserConstructorTag, T &&action)
 
template<typename R , typename... Args, typename std::enable_if< std::is_convertible< FinalAction, OnceAction< R(Args...)>>::value, int >::type = 0>
 operator OnceAction< R (Args...)>() &&
 
template<typename R , typename... Args, typename std::enable_if< std::is_convertible< const FinalAction &, Action< R(Args...)>>::value, int >::type = 0>
 operator Action< R (Args...)>() const
 

Detailed Description

template<typename FinalAction>
class testing::internal::DoAllAction< FinalAction >

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

Constructor & Destructor Documentation

◆ DoAllAction()

template<typename FinalAction >
template<typename T >
testing::internal::DoAllAction< FinalAction >::DoAllAction ( UserConstructorTag  ,
T &&  action 
)
inlineexplicit

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

1484  : final_action_(std::forward<T>(action)) {}

Member Function Documentation

◆ operator Action< R()

template<typename FinalAction >
template<typename R , typename... Args, typename std::enable_if< std::is_convertible< const FinalAction &, Action< R(Args...)>>::value, int >::type = 0>
testing::internal::DoAllAction< FinalAction >::operator Action< R ( Args...  ) const
inline

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

1505  { // NOLINT
1506  return final_action_;
1507  }

◆ operator OnceAction< R()

template<typename FinalAction >
template<typename R , typename... Args, typename std::enable_if< std::is_convertible< FinalAction, OnceAction< R(Args...)>>::value, int >::type = 0>
testing::internal::DoAllAction< FinalAction >::operator OnceAction< R ( Args...  ) &&
inline

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

1496  { // NOLINT
1497  return std::move(final_action_);
1498  }

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