API
Catch::MatchExpr< ArgT, MatcherT > Class Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::MatchExpr< ArgT, MatcherT >:
Inheritance graph
Collaboration diagram for Catch::MatchExpr< ArgT, MatcherT >:
Collaboration graph

Public Member Functions

 MatchExpr (ArgT const &arg, MatcherT const &matcher, StringRef const &matcherString)
 
void streamReconstructedExpression (std::ostream &os) const override
 
auto isBinaryExpression () const -> bool
 
auto getResult () const -> bool
 

Public Attributes

bool m_isBinaryExpression
 
bool m_result
 

Private Attributes

ArgT const & m_arg
 
MatcherT m_matcher
 
StringRef m_matcherString
 

Detailed Description

template<typename ArgT, typename MatcherT>
class Catch::MatchExpr< ArgT, MatcherT >

Definition at line 3770 of file catch.hpp.

Constructor & Destructor Documentation

◆ MatchExpr()

template<typename ArgT , typename MatcherT >
Catch::MatchExpr< ArgT, MatcherT >::MatchExpr ( ArgT const &  arg,
MatcherT const &  matcher,
StringRef const &  matcherString 
)
inline

Definition at line 3775 of file catch.hpp.

Member Function Documentation

◆ getResult()

auto Catch::ITransientExpression::getResult ( ) const -> bool
inlineinherited

Definition at line 2204 of file catch.hpp.

◆ isBinaryExpression()

auto Catch::ITransientExpression::isBinaryExpression ( ) const -> bool
inlineinherited

Definition at line 2203 of file catch.hpp.

◆ streamReconstructedExpression()

template<typename ArgT , typename MatcherT >
void Catch::MatchExpr< ArgT, MatcherT >::streamReconstructedExpression ( std::ostream &  os) const
inlineoverridevirtual

Implements Catch::ITransientExpression.

Definition at line 3782 of file catch.hpp.

Member Data Documentation

◆ m_arg

template<typename ArgT , typename MatcherT >
ArgT const& Catch::MatchExpr< ArgT, MatcherT >::m_arg
private

Definition at line 3771 of file catch.hpp.

◆ m_isBinaryExpression

bool Catch::ITransientExpression::m_isBinaryExpression
inherited

Definition at line 2216 of file catch.hpp.

Referenced by Catch::ITransientExpression::isBinaryExpression().

◆ m_matcher

template<typename ArgT , typename MatcherT >
MatcherT Catch::MatchExpr< ArgT, MatcherT >::m_matcher
private

Definition at line 3772 of file catch.hpp.

◆ m_matcherString

template<typename ArgT , typename MatcherT >
StringRef Catch::MatchExpr< ArgT, MatcherT >::m_matcherString
private

Definition at line 3773 of file catch.hpp.

◆ m_result

bool Catch::ITransientExpression::m_result
inherited

Definition at line 2217 of file catch.hpp.

Referenced by Catch::ITransientExpression::getResult().


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