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

Static Private Attributes

static ValueProducerproducer_ = nullptr
 

Detailed Description

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

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

Member Typedef Documentation

◆ FactoryFunction

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

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

Member Function Documentation

◆ Clear()

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

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

◆ Exists()

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

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

◆ Get()

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

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

◆ IsSet()

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

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

◆ Set()

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

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

◆ SetFactory()

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

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

Member Data Documentation

◆ producer_

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

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


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11