Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
Catch::Detail::Approx Class Reference

#include <catch.hpp>

Public Member Functions

 Approx (double value)
 
 Approx (Approx const &other)
 
Approxepsilon (double newEpsilon)
 
Approx operator() (double value)
 
Approxscale (double newScale)
 
std::string toString () const
 

Static Public Member Functions

static Approx custom ()
 

Private Attributes

double m_epsilon
 
double m_scale
 
double m_value
 

Friends

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

Detailed Description

Definition at line 2113 of file catch.hpp.

Constructor & Destructor Documentation

Catch::Detail::Approx::Approx ( double  value)
inlineexplicit

Definition at line 2115 of file catch.hpp.

Catch::Detail::Approx::Approx ( Approx const &  other)
inline

Definition at line 2121 of file catch.hpp.

Member Function Documentation

static Approx Catch::Detail::Approx::custom ( )
inlinestatic

Definition at line 2127 of file catch.hpp.

Approx& Catch::Detail::Approx::epsilon ( double  newEpsilon)
inline

Definition at line 2155 of file catch.hpp.

Approx Catch::Detail::Approx::operator() ( double  value)
inline

Definition at line 2131 of file catch.hpp.

Approx& Catch::Detail::Approx::scale ( double  newScale)
inline

Definition at line 2160 of file catch.hpp.

std::string Catch::Detail::Approx::toString ( ) const
inline

Definition at line 2165 of file catch.hpp.

Friends And Related Function Documentation

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

Definition at line 2147 of file catch.hpp.

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

Definition at line 2151 of file catch.hpp.

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

Definition at line 2138 of file catch.hpp.

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

Definition at line 2143 of file catch.hpp.

Member Data Documentation

double Catch::Detail::Approx::m_epsilon
private

Definition at line 2172 of file catch.hpp.

double Catch::Detail::Approx::m_scale
private

Definition at line 2173 of file catch.hpp.

double Catch::Detail::Approx::m_value
private

Definition at line 2174 of file catch.hpp.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19