Agora  1.2.0
Agora project
Catch::Matchers::StdString::RegexMatcher Struct Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::StdString::RegexMatcher:
Collaboration diagram for Catch::Matchers::StdString::RegexMatcher:

Public Member Functions

 RegexMatcher (std::string regex, CaseSensitive::Choice caseSensitivity)
 
bool match (std::string const &matchee) const override
 
std::string describe () const override
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T >
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
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T >
virtual bool match (T const &arg) const=0
 

Private Attributes

std::string m_regex
 
CaseSensitive::Choice m_caseSensitivity
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ RegexMatcher()

Catch::Matchers::StdString::RegexMatcher::RegexMatcher ( std::string  regex,
CaseSensitive::Choice  caseSensitivity 
)

Member Function Documentation

◆ describe()

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

◆ match()

bool Catch::Matchers::StdString::RegexMatcher::match ( std::string const &  matchee) const
override

Member Data Documentation

◆ m_caseSensitivity

CaseSensitive::Choice Catch::Matchers::StdString::RegexMatcher::m_caseSensitivity
private

◆ m_regex

std::string Catch::Matchers::StdString::RegexMatcher::m_regex
private

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