v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Classes | Public Types | Static Public Member Functions | List of all members
testing::DefaultValue< T > Class Template Reference

#include <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 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.

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

References testing::internal::BuiltInDefaultValue< T >::Exists().

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.

References testing::internal::BuiltInDefaultValue< T >::Get(), and GTEST_DISALLOW_COPY_AND_ASSIGN_.

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:


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