proxygen
testing::internal::IsNullMatcher Class Reference

#include <gmock-matchers.h>

Public Member Functions

template<typename Pointer >
bool MatchAndExplain (const Pointer &p, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
template<typename Pointer >
bool MatchAndExplain (const Pointer &p, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
template<typename Pointer >
bool MatchAndExplain (const Pointer &p, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 

Detailed Description

Definition at line 977 of file gmock-matchers.h.

Member Function Documentation

void testing::internal::IsNullMatcher::DescribeNegationTo ( ::std::ostream *  os) const
inline

Definition at line 990 of file gmock-matchers.h.

990  {
991  *os << "isn't NULL";
992  }
void testing::internal::IsNullMatcher::DescribeNegationTo ( ::std::ostream *  os) const
inline

Definition at line 990 of file gmock-matchers.h.

990  {
991  *os << "isn't NULL";
992  }
void testing::internal::IsNullMatcher::DescribeNegationTo ( ::std::ostream *  os) const
inline

Definition at line 990 of file gmock-matchers.h.

990  {
991  *os << "isn't NULL";
992  }
void testing::internal::IsNullMatcher::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 989 of file gmock-matchers.h.

989 { *os << "is NULL"; }
void testing::internal::IsNullMatcher::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 989 of file gmock-matchers.h.

989 { *os << "is NULL"; }
void testing::internal::IsNullMatcher::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 989 of file gmock-matchers.h.

989 { *os << "is NULL"; }
template<typename Pointer >
bool testing::internal::IsNullMatcher::MatchAndExplain ( const Pointer &  p,
MatchResultListener  
) const
inline

Definition at line 980 of file gmock-matchers.h.

References testing::internal::GetRawPointer().

981  {
982 #if GTEST_LANG_CXX11
983  return p == nullptr;
984 #else // GTEST_LANG_CXX11
985  return GetRawPointer(p) == NULL;
986 #endif // GTEST_LANG_CXX11
987  }
const Pointer::element_type * GetRawPointer(const Pointer &p)
template<typename Pointer >
bool testing::internal::IsNullMatcher::MatchAndExplain ( const Pointer &  p,
MatchResultListener  
) const
inline

Definition at line 980 of file gmock-matchers.h.

References testing::internal::GetRawPointer().

981  {
982 #if GTEST_LANG_CXX11
983  return p == nullptr;
984 #else // GTEST_LANG_CXX11
985  return GetRawPointer(p) == NULL;
986 #endif // GTEST_LANG_CXX11
987  }
const Pointer::element_type * GetRawPointer(const Pointer &p)
template<typename Pointer >
bool testing::internal::IsNullMatcher::MatchAndExplain ( const Pointer &  p,
MatchResultListener  
) const
inline

Definition at line 980 of file gmock-matchers.h.

References testing::internal::GetRawPointer().

981  {
982 #if GTEST_LANG_CXX11
983  return p == nullptr;
984 #else // GTEST_LANG_CXX11
985  return GetRawPointer(p) == NULL;
986 #endif // GTEST_LANG_CXX11
987  }
const Pointer::element_type * GetRawPointer(const Pointer &p)

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