Public Member Functions | Public Attributes | List of all members
Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch > Struct Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >:
Inheritance graph
[legend]

Public Member Functions

 ApproxMatcher (std::vector< T, AllocComp > const &comparator)
 
std::string describe () const override
 
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcherepsilon (T const &newEpsilon)
 
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatchermargin (T const &newMargin)
 
bool match (std::vector< T, AllocMatch > const &v) const override
 
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcherscale (T const &newScale)
 

Public Attributes

Catch::Detail::Approx approx = Catch::Detail::Approx::custom()
 
std::vector< T, AllocComp > const & m_comparator
 

Detailed Description

template<typename T, typename AllocComp, typename AllocMatch>
struct Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >

Definition at line 3678 of file catch.hpp.

Constructor & Destructor Documentation

template<typename T , typename AllocComp , typename AllocMatch >
Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::ApproxMatcher ( std::vector< T, AllocComp > const &  comparator)
inline

Definition at line 3680 of file catch.hpp.

Member Function Documentation

template<typename T , typename AllocComp , typename AllocMatch >
std::string Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::describe ( ) const
inlineoverride

Definition at line 3690 of file catch.hpp.

template<typename T , typename AllocComp , typename AllocMatch >
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcher& Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::epsilon ( T const &  newEpsilon)
inline

Definition at line 3694 of file catch.hpp.

template<typename T , typename AllocComp , typename AllocMatch >
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcher& Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::margin ( T const &  newMargin)
inline

Definition at line 3699 of file catch.hpp.

template<typename T , typename AllocComp , typename AllocMatch >
bool Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::match ( std::vector< T, AllocMatch > const &  v) const
inlineoverride

Definition at line 3682 of file catch.hpp.

template<typename T , typename AllocComp , typename AllocMatch >
template<typename = typename std::enable_if<std::is_constructible<double, T>::value>::type>
ApproxMatcher& Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::scale ( T const &  newScale)
inline

Definition at line 3704 of file catch.hpp.

Member Data Documentation

template<typename T , typename AllocComp , typename AllocMatch >
Catch::Detail::Approx Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::approx = Catch::Detail::Approx::custom()
mutable

Definition at line 3710 of file catch.hpp.

template<typename T , typename AllocComp , typename AllocMatch >
std::vector<T, AllocComp> const& Catch::Matchers::Vector::ApproxMatcher< T, AllocComp, AllocMatch >::m_comparator

Definition at line 3709 of file catch.hpp.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36