Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::DefaultValue< T > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-actions.h>

+ Collaboration diagram for testing::DefaultValue< T >:

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

Detailed Description

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

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

View newest version in sPHENIX GitHub at line 200 of file gmock-actions.h

Member Typedef Documentation

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

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

View newest version in sPHENIX GitHub at line 212 of file gmock-actions.h

Member Function Documentation

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

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

View newest version in sPHENIX GitHub at line 219 of file gmock-actions.h

References testing::DefaultValue< T >::producer_.

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

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

View newest version in sPHENIX GitHub at line 229 of file gmock-actions.h

References testing::internal::BuiltInDefaultValue< T >::Exists(), and testing::DefaultValue< T >::IsSet().

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 236 of file gmock-actions.h

References testing::internal::BuiltInDefaultValue< T >::Get(), testing::DefaultValue< T >::ValueProducer::Produce(), and testing::DefaultValue< T >::producer_.

Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::PerformDefaultAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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

View newest version in sPHENIX GitHub at line 225 of file gmock-actions.h

References testing::DefaultValue< T >::producer_.

Referenced by testing::DefaultValue< T >::Exists().

+ Here is the caller graph for this function:

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

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

View newest version in sPHENIX GitHub at line 204 of file gmock-actions.h

References testing::DefaultValue< T >::producer_.

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

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

View newest version in sPHENIX GitHub at line 213 of file gmock-actions.h

References testing::DefaultValue< T >::producer_.

Member Data Documentation

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

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