Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
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 276 of file gmock-actions.h.

Member Function Documentation

◆ Clear()

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

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

284 {
285 address_ = NULL;
286 }

◆ Exists()

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

Definition at line 293 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 300 of file gmock-actions.h.

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

◆ IsSet()

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

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

289{ return address_ != NULL; }

◆ Set()

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

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

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

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