Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Static Public Member Functions | Static Private Attributes | List of all members
testing::DefaultValue< T > Class Template Reference

#include <gmock-actions.h>

Classes

class  FactoryValueProducer
 
class  FixedValueProducer
 
class  ValueProducer
 

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_ = nullptr
 

Detailed Description

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

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

Member Typedef Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

Member Data Documentation

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

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


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