Public Member Functions | Private Attributes | List of all members
Catch::Matchers::Floating::WithinUlpsMatcher Struct Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Floating::WithinUlpsMatcher:
Inheritance graph
[legend]

Public Member Functions

std::string describe () const override
 
bool match (double const &matchee) const override
 
 WithinUlpsMatcher (double target, int ulps, FloatingPointKind baseType)
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T >
MatchNotOf< T > operator! () const
 
MatchAllOf< T > operator&& (MatcherBase const &other) const
 
MatchAnyOf< T > operator|| (MatcherBase const &other) const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
 MatcherUntypedBase ()=default
 
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
std::string toString () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T >
virtual bool match (T const &arg) const=0
 

Private Attributes

double m_target
 
FloatingPointKind m_type
 
int m_ulps
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
virtual ~MatcherUntypedBase ()
 
- Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase
std::string m_cachedToString
 

Detailed Description

Definition at line 3057 of file catch.hpp.

Constructor & Destructor Documentation

◆ WithinUlpsMatcher()

Catch::Matchers::Floating::WithinUlpsMatcher::WithinUlpsMatcher ( double  target,
int  ulps,
FloatingPointKind  baseType 
)

Member Function Documentation

◆ describe()

std::string Catch::Matchers::Floating::WithinUlpsMatcher::describe ( ) const
overridevirtual

◆ match()

bool Catch::Matchers::Floating::WithinUlpsMatcher::match ( double const &  matchee) const
override

Member Data Documentation

◆ m_target

double Catch::Matchers::Floating::WithinUlpsMatcher::m_target
private

Definition at line 3062 of file catch.hpp.

◆ m_type

FloatingPointKind Catch::Matchers::Floating::WithinUlpsMatcher::m_type
private

Definition at line 3064 of file catch.hpp.

◆ m_ulps

int Catch::Matchers::Floating::WithinUlpsMatcher::m_ulps
private

Definition at line 3063 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10