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

#include <gmock.h>

Public Member Functions

void DescribeNegationTo (::std::ostream *os) const
 
void DescribeTo (::std::ostream *os) const
 
 FieldMatcher (FieldType Class::*field, const Matcher< const FieldType & > &matcher)
 
template<typename T >
bool MatchAndExplain (const T &value, MatchResultListener *listener) const
 

Private Member Functions

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

Private Attributes

const FieldType Class::* field_
 
const Matcher< const FieldType & > matcher_
 

Detailed Description

template<typename Class, typename FieldType>
class testing::internal::FieldMatcher< Class, FieldType >

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

Constructor & Destructor Documentation

◆ FieldMatcher()

template<typename Class , typename FieldType >
testing::internal::FieldMatcher< Class, FieldType >::FieldMatcher ( FieldType Class::*  field,
const Matcher< const FieldType & > &  matcher 
)
inline

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

Member Function Documentation

◆ DescribeNegationTo()

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

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

◆ DescribeTo()

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

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

◆ GTEST_DISALLOW_ASSIGN_()

template<typename Class , typename FieldType >
testing::internal::FieldMatcher< Class, FieldType >::GTEST_DISALLOW_ASSIGN_ ( FieldMatcher< Class, FieldType >  )
private

◆ MatchAndExplain()

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

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

◆ MatchAndExplainImpl() [1/2]

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

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

◆ MatchAndExplainImpl() [2/2]

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

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

Member Data Documentation

◆ field_

template<typename Class , typename FieldType >
const FieldType Class::* testing::internal::FieldMatcher< Class, FieldType >::field_
private

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

◆ matcher_

template<typename Class , typename FieldType >
const Matcher<const FieldType&> testing::internal::FieldMatcher< Class, FieldType >::matcher_
private

Definition at line 7047 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:49