Electroneum
testing::DefaultValue< T & > Class Template Reference

#include <gmock-actions.h>

Static Public Member Functions

static void Set (T &x)
 
static void Clear ()
 
static bool IsSet ()
 
static bool Exists ()
 
static TGet ()
 

Detailed Description

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

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

Member Function Documentation

◆ Clear()

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

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

283  {
284  address_ = NULL;
285  }

◆ Exists()

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

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

Here is the call graph for this function:

◆ Get()

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

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

299  {
300  return address_ == NULL ?
302  }
Here is the call graph for this function:

◆ IsSet()

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

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

288 { return address_ != NULL; }

◆ Set()

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

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

278  { // NOLINT
279  address_ = &x;
280  }

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