Monero
Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::PropertyMatcher< Class, PropertyType > Class Template Reference

#include <gmock-matchers.h>

Collaboration diagram for testing::internal::PropertyMatcher< Class, PropertyType >:
Collaboration graph
[legend]

Public Member Functions

typedef GTEST_REFERENCE_TO_CONST_ (PropertyType) RefToConstProperty
 
 PropertyMatcher (PropertyType(Class::*property)() const, const Matcher< RefToConstProperty > &matcher)
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
template<typename T >
bool MatchAndExplain (const T &value, MatchResultListener *listener) const
 

Private Member Functions

bool MatchAndExplainImpl (false_type, const Class &obj, MatchResultListener *listener) const
 
bool MatchAndExplainImpl (true_type, const Class *p, MatchResultListener *listener) const
 
 GTEST_DISALLOW_ASSIGN_ (PropertyMatcher)
 

Private Attributes

PropertyType(Class::* property_ )() const
 
const Matcher< RefToConstProperty > matcher_
 

Constructor & Destructor Documentation

◆ PropertyMatcher()

template<typename Class , typename PropertyType >
testing::internal::PropertyMatcher< Class, PropertyType >::PropertyMatcher ( PropertyType(Class::*)() const  property,
const Matcher< RefToConstProperty > &  matcher 
)
inline

Member Function Documentation

◆ DescribeNegationTo()

template<typename Class , typename PropertyType >
void testing::internal::PropertyMatcher< Class, PropertyType >::DescribeNegationTo ( ::std::ostream *  os) const
inline

◆ DescribeTo()

template<typename Class , typename PropertyType >
void testing::internal::PropertyMatcher< Class, PropertyType >::DescribeTo ( ::std::ostream *  os) const
inline

◆ GTEST_DISALLOW_ASSIGN_()

template<typename Class , typename PropertyType >
testing::internal::PropertyMatcher< Class, PropertyType >::GTEST_DISALLOW_ASSIGN_ ( PropertyMatcher< Class, PropertyType >  )
private

◆ GTEST_REFERENCE_TO_CONST_()

template<typename Class , typename PropertyType >
typedef testing::internal::PropertyMatcher< Class, PropertyType >::GTEST_REFERENCE_TO_CONST_ ( PropertyType  )

◆ MatchAndExplain()

template<typename Class , typename PropertyType >
template<typename T >
bool testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplain ( const T value,
MatchResultListener listener 
) const
inline

◆ MatchAndExplainImpl() [1/2]

template<typename Class , typename PropertyType >
bool testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplainImpl ( false_type  ,
const Class &  obj,
MatchResultListener listener 
) const
inlineprivate

◆ MatchAndExplainImpl() [2/2]

template<typename Class , typename PropertyType >
bool testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplainImpl ( true_type  ,
const Class *  p,
MatchResultListener listener 
) const
inlineprivate

Member Data Documentation

◆ matcher_

template<typename Class , typename PropertyType >
const Matcher<RefToConstProperty> testing::internal::PropertyMatcher< Class, PropertyType >::matcher_
private

◆ property_

template<typename Class , typename PropertyType >
PropertyType(Class::* testing::internal::PropertyMatcher< Class, PropertyType >::property_) () const
private

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