Monero
Loading...
Searching...
No Matches
testing::Action< F > Class Template Reference

#include <gmock-actions.h>

Collaboration diagram for testing::Action< F >:

Public Types

typedef internal::Function< F >::Result Result
typedef internal::Function< F >::ArgumentTuple ArgumentTuple

Public Member Functions

 Action ()
 Action (ActionInterface< F > *impl)
 Action (const Action &action)
template<typename Func>
 Action (const Action< Func > &action)
bool IsDoDefault () const
Result Perform (const ArgumentTuple &args) const
template<typename From>
 Action (const Action< From > &from)

Private Attributes

internal::linked_ptr< ActionInterface< F > > impl_

Friends

template<typename F1, typename F2>
class internal::ActionAdaptor

Member Typedef Documentation

◆ ArgumentTuple

template<typename F>
typedef internal::Function<F>::ArgumentTuple testing::Action< F >::ArgumentTuple

◆ Result

template<typename F>
typedef internal::Function<F>::Result testing::Action< F >::Result

Constructor & Destructor Documentation

◆ Action() [1/5]

template<typename F>
testing::Action< F >::Action ( )
inline

◆ Action() [2/5]

template<typename F>
testing::Action< F >::Action ( ActionInterface< F > * impl)
inlineexplicit

◆ Action() [3/5]

template<typename F>
testing::Action< F >::Action ( const Action< F > & action)
inline

◆ Action() [4/5]

template<typename F>
template<typename Func>
testing::Action< F >::Action ( const Action< Func > & action)
explicit

◆ Action() [5/5]

template<typename F>
template<typename From>
testing::Action< F >::Action ( const Action< From > & from)

Member Function Documentation

◆ IsDoDefault()

template<typename F>
bool testing::Action< F >::IsDoDefault ( ) const
inline

◆ Perform()

template<typename F>
Result testing::Action< F >::Perform ( const ArgumentTuple & args) const
inline

◆ internal::ActionAdaptor

template<typename F>
template<typename F1, typename F2>
friend class internal::ActionAdaptor
friend

Member Data Documentation

◆ impl_

template<typename F>
internal::linked_ptr<ActionInterface<F> > testing::Action< F >::impl_
private

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