Monero
Loading...
Searching...
No Matches
testing::DefaultValue< T & > Class Template Reference

#include <gmock-actions.h>

Public Types

typedef T(* FactoryFunction) ()

Static Public Member Functions

static void Set (T &x)
static void Clear ()
static bool IsSet ()
static bool Exists ()
static TGet ()
static void SetFactory (FactoryFunction factory)

Static Private Attributes

static Taddress_
static ValueProducer * producer_

Member Typedef Documentation

◆ FactoryFunction

typedef T(* testing::DefaultValue< T >::FactoryFunction) ()

Member Function Documentation

◆ Clear()

template<typename T>
void testing::DefaultValue< T & >::Clear ( )
inlinestatic

◆ Exists()

template<typename T>
bool testing::DefaultValue< T & >::Exists ( )
inlinestatic

◆ Get()

template<typename T>
T & testing::DefaultValue< T & >::Get ( )
inlinestatic

◆ IsSet()

template<typename T>
bool testing::DefaultValue< T & >::IsSet ( )
inlinestatic

◆ Set()

template<typename T>
void testing::DefaultValue< T & >::Set ( T & x)
inlinestatic

◆ SetFactory()

void testing::DefaultValue< T >::SetFactory ( FactoryFunction factory)
inlinestatic

Member Data Documentation

◆ address_

template<typename T>
T* testing::DefaultValue< T & >::address_
staticprivate

◆ producer_

ValueProducer* testing::DefaultValue< T >::producer_
staticprivate

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