F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
testing::DefaultValue< T > Class Template Reference

#include <googletest/googlemock/include/gmock/gmock-actions.h>

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 ()
 

Detailed Description

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

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

Member Typedef Documentation

◆ FactoryFunction

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

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

Member Function Documentation

◆ Clear()

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

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

◆ Exists()

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

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

◆ Get()

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

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

◆ IsSet()

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

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

◆ Set()

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

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

◆ SetFactory()

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

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


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