Public Member Functions | Private Attributes | List of all members
Catch::Matchers::Generic::PredicateMatcher< T > Class Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Generic::PredicateMatcher< T >:
Inheritance graph
[legend]

Public Member Functions

std::string describe () const override
 
bool match (T const &item) const override
 
 PredicateMatcher (std::function< bool(T const &)> const &elem, std::string const &descr)
 

Private Attributes

std::string m_description
 
std::function< bool(T const &)> m_predicate
 

Detailed Description

template<typename T>
class Catch::Matchers::Generic::PredicateMatcher< T >

Definition at line 3492 of file catch.hpp.

Constructor & Destructor Documentation

template<typename T>
Catch::Matchers::Generic::PredicateMatcher< T >::PredicateMatcher ( std::function< bool(T const &)> const &  elem,
std::string const &  descr 
)
inline

Definition at line 3497 of file catch.hpp.

Member Function Documentation

template<typename T>
std::string Catch::Matchers::Generic::PredicateMatcher< T >::describe ( ) const
inlineoverride

Definition at line 3506 of file catch.hpp.

template<typename T>
bool Catch::Matchers::Generic::PredicateMatcher< T >::match ( T const &  item) const
inlineoverride

Definition at line 3502 of file catch.hpp.

Member Data Documentation

template<typename T>
std::string Catch::Matchers::Generic::PredicateMatcher< T >::m_description
private

Definition at line 3494 of file catch.hpp.

template<typename T>
std::function<bool(T const&)> Catch::Matchers::Generic::PredicateMatcher< T >::m_predicate
private

Definition at line 3493 of file catch.hpp.


The documentation for this class 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