Public Member Functions | Static Public Member Functions | Private Attributes | Friends
Catch::Detail::Approx Class Reference

#include <catch.hpp>

List of all members.

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


Constructor & Destructor Documentation

Catch::Detail::Approx::Approx ( double  value) [inline, explicit]

Definition at line 2631 of file catch.hpp.

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

Definition at line 2637 of file catch.hpp.


Member Function Documentation

static Approx Catch::Detail::Approx::custom ( ) [inline, static]

Definition at line 2643 of file catch.hpp.

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

Definition at line 2671 of file catch.hpp.

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

Definition at line 2647 of file catch.hpp.

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

Definition at line 2676 of file catch.hpp.

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

Definition at line 2681 of file catch.hpp.


Friends And Related Function Documentation

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

Definition at line 2663 of file catch.hpp.

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

Definition at line 2667 of file catch.hpp.

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

Definition at line 2654 of file catch.hpp.

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

Definition at line 2659 of file catch.hpp.


Member Data Documentation

Definition at line 2688 of file catch.hpp.

Definition at line 2689 of file catch.hpp.

Definition at line 2690 of file catch.hpp.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:10