proxygen
testing::internal::EitherOfMatcher< Matcher1, Matcher2 > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 EitherOfMatcher (Matcher1 matcher1, Matcher2 matcher2)
 
template<typename T >
 operator Matcher< T > () const
 
 EitherOfMatcher (Matcher1 matcher1, Matcher2 matcher2)
 
template<typename T >
 operator Matcher< T > () const
 
 EitherOfMatcher (Matcher1 matcher1, Matcher2 matcher2)
 
template<typename T >
 operator Matcher< T > () const
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (EitherOfMatcher)
 
 GTEST_DISALLOW_ASSIGN_ (EitherOfMatcher)
 
 GTEST_DISALLOW_ASSIGN_ (EitherOfMatcher)
 

Private Attributes

Matcher1 matcher1_
 
Matcher2 matcher2_
 

Detailed Description

template<typename Matcher1, typename Matcher2>
class testing::internal::EitherOfMatcher< Matcher1, Matcher2 >

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

Constructor & Destructor Documentation

template<typename Matcher1 , typename Matcher2 >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::EitherOfMatcher ( Matcher1  matcher1,
Matcher2  matcher2 
)
inline

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

template<typename Matcher1 , typename Matcher2 >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::EitherOfMatcher ( Matcher1  matcher1,
Matcher2  matcher2 
)
inline

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

template<typename Matcher1 , typename Matcher2 >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::EitherOfMatcher ( Matcher1  matcher1,
Matcher2  matcher2 
)
inline

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

Member Function Documentation

template<typename Matcher1 , typename Matcher2 >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::GTEST_DISALLOW_ASSIGN_ ( EitherOfMatcher< Matcher1, Matcher2 >  )
private
template<typename Matcher1 , typename Matcher2 >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::GTEST_DISALLOW_ASSIGN_ ( EitherOfMatcher< Matcher1, Matcher2 >  )
private
template<typename Matcher1 , typename Matcher2 >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::GTEST_DISALLOW_ASSIGN_ ( EitherOfMatcher< Matcher1, Matcher2 >  )
private
template<typename Matcher1 , typename Matcher2 >
template<typename T >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::operator Matcher< T > ( ) const
inline

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

1742  {
1743  return Matcher<T>(new EitherOfMatcherImpl<T>(
1744  SafeMatcherCast<T>(matcher1_), SafeMatcherCast<T>(matcher2_)));
1745  }
template<typename Matcher1 , typename Matcher2 >
template<typename T >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::operator Matcher< T > ( ) const
inline

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

References GTEST_DISALLOW_ASSIGN_.

1742  {
1743  return Matcher<T>(new EitherOfMatcherImpl<T>(
1744  SafeMatcherCast<T>(matcher1_), SafeMatcherCast<T>(matcher2_)));
1745  }
template<typename Matcher1 , typename Matcher2 >
template<typename T >
testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::operator Matcher< T > ( ) const
inline

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

References GTEST_DISALLOW_ASSIGN_.

1742  {
1743  return Matcher<T>(new EitherOfMatcherImpl<T>(
1744  SafeMatcherCast<T>(matcher1_), SafeMatcherCast<T>(matcher2_)));
1745  }

Member Data Documentation

template<typename Matcher1 , typename Matcher2 >
Matcher1 testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::matcher1_
private

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

template<typename Matcher1 , typename Matcher2 >
Matcher2 testing::internal::EitherOfMatcher< Matcher1, Matcher2 >::matcher2_
private

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


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