Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::Matchers::Impl::MatcherBase< T > Struct Template Reference

#include <catch_matchers.h>

Inheritance diagram for Catch::Matchers::Impl::MatcherBase< T >:
Collaboration diagram for Catch::Matchers::Impl::MatcherBase< T >:

Public Member Functions

MatchAllOf< Toperator&& (MatcherBase const &other) const
 
MatchAnyOf< Toperator|| (MatcherBase const &other) const
 
MatchNotOf< Toperator! () const
 
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
 
 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
 
virtual bool match (T const &arg) const=0
 

Additional Inherited Members

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

Detailed Description

template<typename T>
struct Catch::Matchers::Impl::MatcherBase< T >

Definition at line 2925 of file catch.hpp.

Member Function Documentation

◆ operator!() [1/2]

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

Definition at line 150 of file catch_matchers.h.

150 {
151 return MatchNotOf<T>( *this );
152 }

◆ operator!() [2/2]

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

◆ operator&&() [1/2]

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

Definition at line 142 of file catch_matchers.h.

142 {
143 return MatchAllOf<T>() && *this && other;
144 }

◆ operator&&() [2/2]

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

◆ operator||() [1/2]

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

Definition at line 146 of file catch_matchers.h.

146 {
147 return MatchAnyOf<T>() || *this || other;
148 }

◆ operator||() [2/2]

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

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