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) ()
 
typedef T(* FactoryFunction) ()
 
typedef T(* FactoryFunction) ()
 
typedef T(* FactoryFunction) ()
 
typedef T(* FactoryFunction) ()
 

Static Public Member Functions

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

Static Private Attributes

static ValueProducerproducer_ = nullptr
 

Detailed Description

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

Definition at line 187 of file bloaty/third_party/googletest/googlemock/include/gmock/gmock-actions.h.

Member Typedef Documentation

◆ FactoryFunction [1/5]

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

◆ FactoryFunction [2/5]

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

◆ FactoryFunction [3/5]

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

◆ FactoryFunction [4/5]

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

◆ FactoryFunction [5/5]

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

Definition at line 1188 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Function Documentation

◆ Clear() [1/5]

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

◆ Clear() [2/5]

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

◆ Clear() [3/5]

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

◆ Clear() [4/5]

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

◆ Clear() [5/5]

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

Definition at line 1195 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ Exists() [1/5]

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

◆ Exists() [2/5]

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

◆ Exists() [3/5]

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

◆ Exists() [4/5]

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

◆ Exists() [5/5]

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

Definition at line 1205 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ Get() [1/5]

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

◆ Get() [2/5]

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

◆ Get() [3/5]

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

◆ Get() [4/5]

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

◆ Get() [5/5]

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

Definition at line 1212 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ IsSet() [1/5]

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

◆ IsSet() [2/5]

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

◆ IsSet() [3/5]

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

◆ IsSet() [4/5]

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

◆ IsSet() [5/5]

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

Definition at line 1201 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ Set() [1/5]

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

◆ Set() [2/5]

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

◆ Set() [3/5]

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

◆ Set() [4/5]

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

◆ Set() [5/5]

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

Definition at line 1180 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ SetFactory() [1/5]

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

◆ SetFactory() [2/5]

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

◆ SetFactory() [3/5]

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

◆ SetFactory() [4/5]

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

◆ SetFactory() [5/5]

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

Definition at line 1189 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Data Documentation

◆ producer_

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:45