Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::FloatingEqMatcher< FloatType >::Impl< T > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-matchers.h>

+ Inheritance diagram for testing::internal::FloatingEqMatcher< FloatType >::Impl< T >:
+ Collaboration diagram for testing::internal::FloatingEqMatcher< FloatType >::Impl< T >:

Public Member Functions

 Impl (FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
 
virtual bool MatchAndExplain (T value, MatchResultListener *listener) const
 
virtual void DescribeTo (::std::ostream *os) const
 
virtual void DescribeNegationTo (::std::ostream *os) const
 

Private Member Functions

bool HasMaxAbsError () const
 
 GTEST_DISALLOW_ASSIGN_ (Impl)
 

Private Attributes

const FloatType expected_
 
const bool nan_eq_nan_
 
const FloatType max_abs_error_
 

Detailed Description

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

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

View newest version in sPHENIX GitHub at line 1914 of file gmock-matchers.h

Constructor & Destructor Documentation

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 1916 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 1916 of file gmock-matchers.h

Member Function Documentation

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

Reimplemented from testing::MatcherDescriberInterface.

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

View newest version in sPHENIX GitHub at line 1977 of file gmock-matchers.h

References testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::expected_, testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_, and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::nan_eq_nan_.

+ Here is the call graph for this function:

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

Implements testing::MatcherDescriberInterface.

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

View newest version in sPHENIX GitHub at line 1956 of file gmock-matchers.h

References testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::expected_, testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_, and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::nan_eq_nan_.

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 1998 of file gmock-matchers.h

References testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_.

Referenced by testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeNegationTo(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeTo(), and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain().

+ Here is the caller graph for this function:

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

Member Data Documentation

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

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