v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | List of all members
testing::internal::FloatingEqMatcher< FloatType >::Impl< T > Class Template Reference

#include <gmock-matchers.h>

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

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
 

Detailed Description

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

Definition 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.

Member Function Documentation

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

Implements testing::MatcherInterface< T >.

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

References testing::internal::FloatingPoint< RawType >::is_nan(), and testing::MatchResultListener::IsInterested().

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.

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.

References GTEST_DISALLOW_ASSIGN_.


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