proxygen
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 ()
 
static void Set (T &x)
 
static void Clear ()
 
static bool IsSet ()
 
static bool Exists ()
 
static TGet ()
 
static void Set (T &x)
 
static void Clear ()
 
static bool IsSet ()
 
static bool Exists ()
 
static TGet ()
 

Static Private Attributes

static Taddress_ = NULL
 

Detailed Description

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

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

Member Function Documentation

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

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

283  {
284  address_ = NULL;
285  }
template<typename T >
static void testing::DefaultValue< T & >::Clear ( )
inlinestatic

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

283  {
284  address_ = NULL;
285  }
template<typename T >
static void testing::DefaultValue< T & >::Clear ( )
inlinestatic

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

283  {
284  address_ = NULL;
285  }
template<typename T >
static bool testing::DefaultValue< T & >::Exists ( )
inlinestatic
template<typename T >
static bool testing::DefaultValue< T & >::Exists ( )
inlinestatic
template<typename T >
static bool testing::DefaultValue< T & >::Exists ( )
inlinestatic
template<typename T >
static T& testing::DefaultValue< T & >::Get ( )
inlinestatic
template<typename T >
static T& testing::DefaultValue< T & >::Get ( )
inlinestatic
template<typename T >
static T& testing::DefaultValue< T & >::Get ( )
inlinestatic
template<typename T >
static bool testing::DefaultValue< T & >::IsSet ( )
inlinestatic

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

288 { return address_ != NULL; }
template<typename T >
static bool testing::DefaultValue< T & >::IsSet ( )
inlinestatic

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

288 { return address_ != NULL; }
template<typename T >
static bool testing::DefaultValue< T & >::IsSet ( )
inlinestatic

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

288 { return address_ != NULL; }
template<typename T >
static void testing::DefaultValue< T & >::Set ( T x)
inlinestatic

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

References x.

278  { // NOLINT
279  address_ = &x;
280  }
const int x
template<typename T >
static void testing::DefaultValue< T & >::Set ( T x)
inlinestatic

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

References x.

278  { // NOLINT
279  address_ = &x;
280  }
const int x
template<typename T >
static void testing::DefaultValue< T & >::Set ( T x)
inlinestatic

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

References x.

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

Member Data Documentation

template<typename T >
T * testing::DefaultValue< T & >::address_ = NULL
staticprivate

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


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