Agora  1.2.0
Agora project
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< Toperator&& (MatcherBase const &other) const
 
MatchAnyOf< Toperator|| (MatcherBase const &other) const
 
MatchNotOf< Toperator! () 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
 

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

Implements Catch::Matchers::Impl::MatcherUntypedBase.

Here is the call graph for this function:

◆ 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

template<typename T , typename Alloc >
T const& Catch::Matchers::Vector::ContainsElementMatcher< T, Alloc >::m_comparator

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