Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
testing::DefaultValue< T & > Class Template Reference

#include <gmock-actions.h>

Inheritance diagram for testing::DefaultValue< T & >:

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_

Detailed Description

template<typename T>
class testing::DefaultValue< T & >

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

Member Typedef Documentation

◆ FactoryFunction

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

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

Member Function Documentation

◆ Set()

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

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

◆ Clear()

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

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

◆ IsSet()

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

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

◆ Exists()

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

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

◆ Get()

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

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

◆ SetFactory()

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

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

Member Data Documentation

◆ address_

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

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

◆ producer_

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

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


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