spdlog
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Catch::Matchers::Vector::ContainsMatcher< T > Struct Template Referenceabstract

Detailed Description

template<typename T>
struct Catch::Matchers::Vector::ContainsMatcher< T >

Definition at line 3436 of file catch.hpp.

Inheritance diagram for Catch::Matchers::Vector::ContainsMatcher< T >:
[legend]

Public Member Functions

 ContainsMatcher (std::vector< T > const &comparator)
 
bool match (std::vector< T > const &v) const override
 
std::string describe () const override
 
MatchAllOf< Toperator&& (MatcherBase const &other) const
 
MatchAnyOf< Toperator|| (MatcherBase const &other) const
 
MatchNotOf< Toperator! () const
 
std::string toString () const
 
virtual bool match (T const &arg) const=0
 

Public Attributes

std::vector< T > const & m_comparator
 

Protected Attributes

std::string m_cachedToString
 

Constructor & Destructor Documentation

◆ ContainsMatcher()

template<typename T >
Catch::Matchers::Vector::ContainsMatcher< T >::ContainsMatcher ( std::vector< T > const &  comparator)
inline

Definition at line 3438 of file catch.hpp.

Member Function Documentation

◆ describe()

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

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

Definition at line 3458 of file catch.hpp.

◆ match() [1/2]

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

Definition at line 3440 of file catch.hpp.

◆ match() [2/2]

virtual bool Catch::Matchers::Impl::MatcherMethod< T >::match ( T const &  arg) const
pure virtualinherited

◆ operator!()

template<typename T >
MatchNotOf< T > Catch::Matchers::Impl::MatcherBase< T >::operator! ( ) const
inherited

Definition at line 3232 of file catch.hpp.

◆ operator&&()

template<typename T >
MatchAllOf< T > Catch::Matchers::Impl::MatcherBase< T >::operator&& ( MatcherBase< T > const &  other) const
inherited

Definition at line 3224 of file catch.hpp.

◆ operator||()

template<typename T >
MatchAnyOf< T > Catch::Matchers::Impl::MatcherBase< T >::operator|| ( MatcherBase< T > const &  other) const
inherited

Definition at line 3228 of file catch.hpp.

◆ toString()

std::string Catch::Matchers::Impl::MatcherUntypedBase::toString ( ) const
inherited

Member Data Documentation

◆ m_cachedToString

std::string Catch::Matchers::Impl::MatcherUntypedBase::m_cachedToString
mutableprotectedinherited

Definition at line 3117 of file catch.hpp.

◆ m_comparator

template<typename T >
std::vector<T> const& Catch::Matchers::Vector::ContainsMatcher< T >::m_comparator

Definition at line 3462 of file catch.hpp.


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