API
Catch::Matchers::Impl::MatchAnyOf< ArgT > Struct Template Referenceabstract

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Impl::MatchAnyOf< ArgT >:
Inheritance graph
Collaboration diagram for Catch::Matchers::Impl::MatchAnyOf< ArgT >:
Collaboration graph

Public Member Functions

bool match (ArgT const &arg) const override
 
std::string describe () const override
 
MatchAnyOf< ArgT > operator|| (MatcherBase< ArgT > const &other)
 
MatchAllOf< ArgT > operator&& (MatcherBase const &other) const
 
MatchAnyOf< ArgT > operator|| (MatcherBase const &other) const
 
MatchNotOf< ArgT > operator! () const
 
std::string toString () const
 
virtual bool match (ObjectT const &arg) const =0
 

Public Attributes

std::vector< MatcherBase< ArgT > const * > m_matchers
 

Protected Attributes

std::string m_cachedToString
 

Detailed Description

template<typename ArgT>
struct Catch::Matchers::Impl::MatchAnyOf< ArgT >

Definition at line 3321 of file catch.hpp.

Member Function Documentation

◆ describe()

template<typename ArgT >
std::string Catch::Matchers::Impl::MatchAnyOf< ArgT >::describe ( ) const
inlineoverridevirtual

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

Definition at line 3330 of file catch.hpp.

◆ match() [1/2]

template<typename ArgT >
bool Catch::Matchers::Impl::MatchAnyOf< ArgT >::match ( ArgT const &  arg) const
inlineoverride

Definition at line 3323 of file catch.hpp.

◆ match() [2/2]

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

◆ operator!()

MatchNotOf< ArgT > Catch::Matchers::Impl::MatcherBase< ArgT >::operator!
inherited

Definition at line 3284 of file catch.hpp.

◆ operator&&()

MatchAllOf< ArgT > Catch::Matchers::Impl::MatcherBase< ArgT >::operator&& ( MatcherBase< ArgT > const &  other) const
inherited

Definition at line 3282 of file catch.hpp.

◆ operator||() [1/2]

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

Definition at line 3283 of file catch.hpp.

◆ operator||() [2/2]

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

Definition at line 3346 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 3253 of file catch.hpp.

◆ m_matchers

template<typename ArgT >
std::vector<MatcherBase<ArgT> const*> Catch::Matchers::Impl::MatchAnyOf< ArgT >::m_matchers

Definition at line 3352 of file catch.hpp.


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