proxygen
testing::PolymorphicMatcher< Impl > Class Template Reference

#include <gmock-matchers.h>

Classes

class  MonomorphicImpl
 

Public Member Functions

 PolymorphicMatcher (const Impl &an_impl)
 
Impl & mutable_impl ()
 
const Impl & impl () const
 
template<typename T >
 operator Matcher< T > () const
 
 PolymorphicMatcher (const Impl &an_impl)
 
Impl & mutable_impl ()
 
const Impl & impl () const
 
template<typename T >
 operator Matcher< T > () const
 
 PolymorphicMatcher (const Impl &an_impl)
 
Impl & mutable_impl ()
 
const Impl & impl () const
 
template<typename T >
 operator Matcher< T > () const
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (PolymorphicMatcher)
 
 GTEST_DISALLOW_ASSIGN_ (PolymorphicMatcher)
 
 GTEST_DISALLOW_ASSIGN_ (PolymorphicMatcher)
 

Private Attributes

Impl impl_
 

Detailed Description

template<class Impl>
class testing::PolymorphicMatcher< Impl >

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

Constructor & Destructor Documentation

template<class Impl>
testing::PolymorphicMatcher< Impl >::PolymorphicMatcher ( const Impl &  an_impl)
inlineexplicit

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

432 : impl_(an_impl) {}
template<class Impl>
testing::PolymorphicMatcher< Impl >::PolymorphicMatcher ( const Impl &  an_impl)
inlineexplicit

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

432 : impl_(an_impl) {}
template<class Impl>
testing::PolymorphicMatcher< Impl >::PolymorphicMatcher ( const Impl &  an_impl)
inlineexplicit

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

432 : impl_(an_impl) {}

Member Function Documentation

template<class Impl>
testing::PolymorphicMatcher< Impl >::GTEST_DISALLOW_ASSIGN_ ( PolymorphicMatcher< Impl >  )
private
template<class Impl>
testing::PolymorphicMatcher< Impl >::GTEST_DISALLOW_ASSIGN_ ( PolymorphicMatcher< Impl >  )
private
template<class Impl>
testing::PolymorphicMatcher< Impl >::GTEST_DISALLOW_ASSIGN_ ( PolymorphicMatcher< Impl >  )
private
template<class Impl>
const Impl& testing::PolymorphicMatcher< Impl >::impl ( ) const
inline

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

Referenced by testing::gmock_matchers_test::TEST().

440 { return impl_; }
template<class Impl>
const Impl& testing::PolymorphicMatcher< Impl >::impl ( ) const
inline

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

440 { return impl_; }
template<class Impl>
const Impl& testing::PolymorphicMatcher< Impl >::impl ( ) const
inline

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

440 { return impl_; }
template<class Impl>
Impl& testing::PolymorphicMatcher< Impl >::mutable_impl ( )
inline

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

436 { return impl_; }
template<class Impl>
Impl& testing::PolymorphicMatcher< Impl >::mutable_impl ( )
inline

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

Referenced by testing::gmock_matchers_test::TEST().

436 { return impl_; }
template<class Impl>
Impl& testing::PolymorphicMatcher< Impl >::mutable_impl ( )
inline

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

436 { return impl_; }
template<class Impl>
template<typename T >
testing::PolymorphicMatcher< Impl >::operator Matcher< T > ( ) const
inline

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

443  {
444  return Matcher<T>(new MonomorphicImpl<T>(impl_));
445  }
template<class Impl>
template<typename T >
testing::PolymorphicMatcher< Impl >::operator Matcher< T > ( ) const
inline

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

443  {
444  return Matcher<T>(new MonomorphicImpl<T>(impl_));
445  }
template<class Impl>
template<typename T >
testing::PolymorphicMatcher< Impl >::operator Matcher< T > ( ) const
inline

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

443  {
444  return Matcher<T>(new MonomorphicImpl<T>(impl_));
445  }

Member Data Documentation

template<class Impl>
Impl testing::PolymorphicMatcher< Impl >::impl_
private

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


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