Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::FloatingEqMatcher< FloatType >::Impl< T > Class Template Reference

#include <gmock.h>

Inheritance diagram for testing::internal::FloatingEqMatcher< FloatType >::Impl< T >:
Inheritance graph
[legend]

Public Member Functions

virtual void DescribeNegationTo (::std::ostream *os) const
 
virtual void DescribeTo (::std::ostream *os) const
 
 Impl (FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
 
virtual bool MatchAndExplain (T value, MatchResultListener *listener) const
 
- Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (Impl)
 
bool HasMaxAbsError () const
 

Private Attributes

const FloatType expected_
 
const FloatType max_abs_error_
 
const bool nan_eq_nan_
 

Detailed Description

template<typename FloatType>
template<typename T>
class testing::internal::FloatingEqMatcher< FloatType >::Impl< T >

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

Constructor & Destructor Documentation

◆ Impl()

template<typename FloatType >
template<typename T >
testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::Impl ( FloatType  expected,
bool  nan_eq_nan,
FloatType  max_abs_error 
)
inline

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

Member Function Documentation

◆ DescribeNegationTo()

template<typename FloatType >
template<typename T >
virtual void testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeNegationTo ( ::std::ostream *  os) const
inlinevirtual

◆ DescribeTo()

template<typename FloatType >
template<typename T >
virtual void testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeTo ( ::std::ostream *  os) const
inlinevirtual

◆ GTEST_DISALLOW_ASSIGN_()

template<typename FloatType >
template<typename T >
testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::GTEST_DISALLOW_ASSIGN_ ( Impl< T )
private

◆ HasMaxAbsError()

template<typename FloatType >
template<typename T >
bool testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError ( ) const
inlineprivate

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

◆ MatchAndExplain()

template<typename FloatType >
template<typename T >
virtual bool testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain ( T  value,
MatchResultListener listener 
) const
inlinevirtual

Member Data Documentation

◆ expected_

template<typename FloatType >
template<typename T >
const FloatType testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::expected_
private

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

◆ max_abs_error_

template<typename FloatType >
template<typename T >
const FloatType testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_
private

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

◆ nan_eq_nan_

template<typename FloatType >
template<typename T >
const bool testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::nan_eq_nan_
private

Definition at line 6822 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