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

#include <gmock.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

template<typename Class, typename PropertyType>
class testing::internal::PropertyMatcher< Class, PropertyType >

Definition at line 7055 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Constructor & Destructor Documentation

◆ PropertyMatcher()

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

Definition at line 7063 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Function Documentation

◆ DescribeNegationTo()

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

Definition at line 7072 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ DescribeTo()

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

Definition at line 7067 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ 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

Definition at line 7078 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ MatchAndExplainImpl() [1/2]

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

Definition at line 7089 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ MatchAndExplainImpl() [2/2]

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

Definition at line 7105 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Data Documentation

◆ matcher_

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

Definition at line 7118 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ property_

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

Definition at line 7117 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:50