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

#include <gmock-matchers.h>

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

Public Member Functions

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

Static Protected Member Functions

static string GetToName ()
 
static string GetToName ()
 
static string GetToName ()
 

Protected Attributes

const Matcher< Tomatcher_
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (WhenDynamicCastToMatcherBase)
 
 GTEST_DISALLOW_ASSIGN_ (WhenDynamicCastToMatcherBase)
 
 GTEST_DISALLOW_ASSIGN_ (WhenDynamicCastToMatcherBase)
 

Static Private Member Functions

static void GetCastTypeDescription (::std::ostream *os)
 
static void GetCastTypeDescription (::std::ostream *os)
 
static void GetCastTypeDescription (::std::ostream *os)
 

Detailed Description

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

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

Constructor & Destructor Documentation

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) {}
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) {}
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

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

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

2118  {
2121  }
static void GetCastTypeDescription(::std::ostream *os)
void DescribeNegationTo(::std::ostream *os) const
template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeNegationTo ( ::std::ostream *  os) const
inline

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

2118  {
2121  }
static void GetCastTypeDescription(::std::ostream *os)
void DescribeNegationTo(::std::ostream *os) const
template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeNegationTo ( ::std::ostream *  os) const
inline

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

2118  {
2121  }
static void GetCastTypeDescription(::std::ostream *os)
void DescribeNegationTo(::std::ostream *os) const
template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeTo ( ::std::ostream *  os) const
inline

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

2113  {
2115  matcher_.DescribeTo(os);
2116  }
static void GetCastTypeDescription(::std::ostream *os)
void DescribeTo(::std::ostream *os) const
template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeTo ( ::std::ostream *  os) const
inline

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

2113  {
2115  matcher_.DescribeTo(os);
2116  }
static void GetCastTypeDescription(::std::ostream *os)
void DescribeTo(::std::ostream *os) const
template<typename To>
void testing::internal::WhenDynamicCastToMatcherBase< To >::DescribeTo ( ::std::ostream *  os) const
inline

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

2113  {
2115  matcher_.DescribeTo(os);
2116  }
static void GetCastTypeDescription(::std::ostream *os)
void DescribeTo(::std::ostream *os) const
template<typename To>
static void testing::internal::WhenDynamicCastToMatcherBase< To >::GetCastTypeDescription ( ::std::ostream *  os)
inlinestaticprivate

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

2135  {
2136  *os << "when dynamic_cast to " << GetToName() << ", ";
2137  }
template<typename To>
static void testing::internal::WhenDynamicCastToMatcherBase< To >::GetCastTypeDescription ( ::std::ostream *  os)
inlinestaticprivate

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

2135  {
2136  *os << "when dynamic_cast to " << GetToName() << ", ";
2137  }
template<typename To>
static void testing::internal::WhenDynamicCastToMatcherBase< To >::GetCastTypeDescription ( ::std::ostream *  os)
inlinestaticprivate

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

2135  {
2136  *os << "when dynamic_cast to " << GetToName() << ", ";
2137  }
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  }
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  }
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  }
template<typename To>
testing::internal::WhenDynamicCastToMatcherBase< To >::GTEST_DISALLOW_ASSIGN_ ( WhenDynamicCastToMatcherBase< To )
private
template<typename To>
testing::internal::WhenDynamicCastToMatcherBase< To >::GTEST_DISALLOW_ASSIGN_ ( WhenDynamicCastToMatcherBase< To )
private
template<typename To>
testing::internal::WhenDynamicCastToMatcherBase< To >::GTEST_DISALLOW_ASSIGN_ ( WhenDynamicCastToMatcherBase< To )
private

Member Data Documentation

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: