API
Catch::Matchers::StdString::StringMatcherBase Struct Referenceabstract

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::StdString::StringMatcherBase:
Inheritance graph
Collaboration diagram for Catch::Matchers::StdString::StringMatcherBase:
Collaboration graph

Public Member Functions

 StringMatcherBase (std::string const &operation, CasedString const &comparator)
 
std::string describe () const override
 
MatchAllOf< T > operator&& (MatcherBase const &other) const
 
MatchAnyOf< T > operator|| (MatcherBase const &other) const
 
MatchNotOf< T > operator! () const
 
std::string toString () const
 
virtual bool match (T const &arg) const=0
 

Public Attributes

CasedString m_comparator
 
std::string m_operation
 

Protected Attributes

std::string m_cachedToString
 

Detailed Description

Definition at line 3548 of file catch.hpp.

Constructor & Destructor Documentation

◆ StringMatcherBase()

Catch::Matchers::StdString::StringMatcherBase::StringMatcherBase ( std::string const &  operation,
CasedString const &  comparator 
)

Member Function Documentation

◆ describe()

std::string Catch::Matchers::StdString::StringMatcherBase::describe ( ) const
overridevirtual

◆ match()

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

◆ operator!()

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

Definition at line 3379 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 3371 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 3375 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_comparator

CasedString Catch::Matchers::StdString::StringMatcherBase::m_comparator

Definition at line 3552 of file catch.hpp.

◆ m_operation

std::string Catch::Matchers::StdString::StringMatcherBase::m_operation

Definition at line 3553 of file catch.hpp.


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