Catch::Matchers::StdString::ContainsMatcher Struct Referenceabstract

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::StdString::ContainsMatcher:
Inheritance graph

Public Member Functions

 ContainsMatcher (CasedString const &comparator)
 
bool match (std::string const &source) const override
 
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
 

Constructor & Destructor Documentation

◆ ContainsMatcher()

Catch::Matchers::StdString::ContainsMatcher::ContainsMatcher ( CasedString const &  comparator)

Member Function Documentation

◆ describe()

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

◆ match() [1/2]

bool Catch::Matchers::StdString::ContainsMatcher::match ( std::string const &  source) const
override

◆ 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!
inherited

◆ operator&&()

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

◆ operator||()

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

◆ toString()

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

Member Data Documentation

◆ m_cachedToString

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

◆ m_comparator

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

◆ m_operation

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

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