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 Set (T x)
 
static void SetFactory (FactoryFunction factory)
 
static void Clear ()
 
static bool IsSet ()
 
static bool Exists ()
 
static T Get ()
 

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() [1/2]

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

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

◆ Clear() [1/2]

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

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

◆ IsSet() [1/2]

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

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

◆ Exists() [1/2]

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

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

◆ Get() [1/2]

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

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

◆ Set() [2/2]

static void testing::DefaultValue< T >::Set ( T x)
inlinestatic

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

◆ SetFactory()

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

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

◆ Clear() [2/2]

static void testing::DefaultValue< T >::Clear ( )
inlinestatic

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

◆ IsSet() [2/2]

static bool testing::DefaultValue< T >::IsSet ( )
inlinestatic

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

◆ Exists() [2/2]

static bool testing::DefaultValue< T >::Exists ( )
inlinestatic

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

◆ Get() [2/2]

static T testing::DefaultValue< T >::Get ( )
inlinestatic

Definition at line 323 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: