Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc > Struct Template Reference

#include <catch.hpp>

+ Inheritance diagram for Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc >:
+ Collaboration diagram for Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc >:

Public Member Functions

 ContainsElementMatcher (T const &comparator)
 
bool match (std::vector< T, Alloc > const &v) const override
 
std::string describe () const override
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T >
MatchAllOf< T > operator&& (MatcherBase const &other) const
 
MatchAnyOf< T > operator|| (MatcherBase const &other) const
 
MatchNotOf< T > operator! () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
 MatcherUntypedBase ()=default
 
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
std::string toString () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T >
virtual bool match (T const &arg) const=0
 

Public Attributes

T const & m_comparator
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
virtual ~MatcherUntypedBase ()
 
- Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase
std::string m_cachedToString
 

Detailed Description

template<typename T, typename Alloc>
struct Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc >

Definition at line 3607 of file catch.hpp.

Constructor & Destructor Documentation

◆ ContainsElementMatcher()

template<typename T , typename Alloc >
Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc >::ContainsElementMatcher ( T const & comparator)
inline

Member Function Documentation

◆ describe()

template<typename T , typename Alloc >
std::string Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc >::describe ( ) const
inlineoverridevirtual

◆ match()

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

Member Data Documentation

◆ m_comparator


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