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

#include <gmock-actions.h>

Collaboration diagram for testing::DefaultValue< T >:

Classes

class  ValueProducer
class  FixedValueProducer
class  FactoryValueProducer

Public Types

typedef T(* FactoryFunction) ()

Static Public Member Functions

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

Static Private Attributes

static ValueProducerproducer_

Member Typedef Documentation

◆ FactoryFunction

template<typename T>
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()

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

Member Data Documentation

◆ producer_

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

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