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

#include <catch.hpp>

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

Public Member Functions

std::string describe () const override
 
bool match (double const &matchee) const override
 
 WithinAbsMatcher (double target, double margin)
 
- 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_margin
 
double m_target
 

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 3048 of file catch.hpp.

Constructor & Destructor Documentation

◆ WithinAbsMatcher()

Catch::Matchers::Floating::WithinAbsMatcher::WithinAbsMatcher ( double  target,
double  margin 
)

Member Function Documentation

◆ describe()

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

◆ match()

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

Member Data Documentation

◆ m_margin

double Catch::Matchers::Floating::WithinAbsMatcher::m_margin
private

Definition at line 3054 of file catch.hpp.

◆ m_target

double Catch::Matchers::Floating::WithinAbsMatcher::m_target
private

Definition at line 3053 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03