Electroneum
testing::internal::WhenDynamicCastToMatcherBase< To > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::WhenDynamicCastToMatcherBase< To >:
Collaboration diagram for testing::internal::WhenDynamicCastToMatcherBase< To >:

Public Member Functions

 WhenDynamicCastToMatcherBase (const Matcher< To > &matcher)
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 

Static Protected Member Functions

static string GetToName ()
 

Protected Attributes

const Matcher< To > matcher_
 

Detailed Description

template<typename To>
class testing::internal::WhenDynamicCastToMatcherBase< To >

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

Constructor & Destructor Documentation

◆ WhenDynamicCastToMatcherBase()

template<typename To>
testing::internal::WhenDynamicCastToMatcherBase< To >::WhenDynamicCastToMatcherBase ( const Matcher< To > &  matcher)
inlineexplicit

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

2111  : matcher_(matcher) {}

Member Function Documentation

◆ DescribeNegationTo()

template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeNegationTo ( ::std::ostream *  os) const
inline

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

2118  {
2119  GetCastTypeDescription(os);
2121  }
void DescribeNegationTo(::std::ostream *os) const

◆ DescribeTo()

template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeTo ( ::std::ostream *  os) const
inline

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

2113  {
2114  GetCastTypeDescription(os);
2115  matcher_.DescribeTo(os);
2116  }
void DescribeTo(::std::ostream *os) const

◆ GetToName()

template<typename To>
static string testing::internal::WhenDynamicCastToMatcherBase< To >::GetToName ( )
inlinestaticprotected

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

2126  {
2127 #if GTEST_HAS_RTTI
2128  return GetTypeName<To>();
2129 #else // GTEST_HAS_RTTI
2130  return "the target type";
2131 #endif // GTEST_HAS_RTTI
2132  }

Member Data Documentation

◆ matcher_

template<typename To>
const Matcher<To> testing::internal::WhenDynamicCastToMatcherBase< To >::matcher_
protected

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


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