Public Member Functions | Public Attributes | Friends | List of all members
doctest::Approx Struct Reference

#include <doctest.h>

Public Member Functions

 Approx (double value)
 
Approxepsilon (double newEpsilon)
 
Approx operator() (double value) const
 
Approxscale (double newScale)
 

Public Attributes

double m_epsilon
 
double m_scale
 
double m_value
 

Friends

DOCTEST_INTERFACE friend bool operator!= (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator!= (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator< (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator< (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator<= (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator<= (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator== (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator== (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator> (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator> (double lhs, const Approx &rhs)
 
DOCTEST_INTERFACE friend bool operator>= (const Approx &lhs, double rhs)
 
DOCTEST_INTERFACE friend bool operator>= (double lhs, const Approx &rhs)
 

Detailed Description

Definition at line 1171 of file doctest.h.

Constructor & Destructor Documentation

◆ Approx()

doctest::Approx::Approx ( double  value)

Member Function Documentation

◆ epsilon()

Approx& doctest::Approx::epsilon ( double  newEpsilon)

◆ operator()()

Approx doctest::Approx::operator() ( double  value) const

◆ scale()

Approx& doctest::Approx::scale ( double  newScale)

Friends And Related Function Documentation

◆ operator!= [1/2]

DOCTEST_INTERFACE friend bool operator!= ( const Approx lhs,
double  rhs 
)
friend

◆ operator!= [2/2]

DOCTEST_INTERFACE friend bool operator!= ( double  lhs,
const Approx rhs 
)
friend

◆ operator< [1/2]

DOCTEST_INTERFACE friend bool operator< ( const Approx lhs,
double  rhs 
)
friend

◆ operator< [2/2]

DOCTEST_INTERFACE friend bool operator< ( double  lhs,
const Approx rhs 
)
friend

◆ operator<= [1/2]

DOCTEST_INTERFACE friend bool operator<= ( const Approx lhs,
double  rhs 
)
friend

◆ operator<= [2/2]

DOCTEST_INTERFACE friend bool operator<= ( double  lhs,
const Approx rhs 
)
friend

◆ operator== [1/2]

DOCTEST_INTERFACE friend bool operator== ( const Approx lhs,
double  rhs 
)
friend

◆ operator== [2/2]

DOCTEST_INTERFACE friend bool operator== ( double  lhs,
const Approx rhs 
)
friend

◆ operator> [1/2]

DOCTEST_INTERFACE friend bool operator> ( const Approx lhs,
double  rhs 
)
friend

◆ operator> [2/2]

DOCTEST_INTERFACE friend bool operator> ( double  lhs,
const Approx rhs 
)
friend

◆ operator>= [1/2]

DOCTEST_INTERFACE friend bool operator>= ( const Approx lhs,
double  rhs 
)
friend

◆ operator>= [2/2]

DOCTEST_INTERFACE friend bool operator>= ( double  lhs,
const Approx rhs 
)
friend

Member Data Documentation

◆ m_epsilon

double doctest::Approx::m_epsilon

Definition at line 1243 of file doctest.h.

◆ m_scale

double doctest::Approx::m_scale

Definition at line 1244 of file doctest.h.

◆ m_value

double doctest::Approx::m_value

Definition at line 1245 of file doctest.h.


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


rosbag_fancy
Author(s):
autogenerated on Tue Feb 20 2024 03:20:59