API
Catch::BinaryExpr< LhsT, RhsT > Class Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::BinaryExpr< LhsT, RhsT >:
Inheritance graph
Collaboration diagram for Catch::BinaryExpr< LhsT, RhsT >:
Collaboration graph

Public Member Functions

 BinaryExpr (bool comparisonResult, LhsT lhs, StringRef op, RhsT rhs)
 
template<typename T >
auto operator&& (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator|| (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator== (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator!= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator> (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator< (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator>= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
template<typename T >
auto operator<= (T) const -> BinaryExpr< LhsT, RhsT const & > const
 
auto isBinaryExpression () const -> bool
 
auto getResult () const -> bool
 

Public Attributes

bool m_isBinaryExpression
 
bool m_result
 

Private Member Functions

void streamReconstructedExpression (std::ostream &os) const override
 

Private Attributes

LhsT m_lhs
 
StringRef m_op
 
RhsT m_rhs
 

Detailed Description

template<typename LhsT, typename RhsT>
class Catch::BinaryExpr< LhsT, RhsT >

Definition at line 2224 of file catch.hpp.

Constructor & Destructor Documentation

◆ BinaryExpr()

template<typename LhsT , typename RhsT >
Catch::BinaryExpr< LhsT, RhsT >::BinaryExpr ( bool  comparisonResult,
LhsT  lhs,
StringRef  op,
RhsT  rhs 
)
inline

Definition at line 2235 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.

◆ operator!=()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator!= ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2264 of file catch.hpp.

◆ operator&&()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator&& ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2243 of file catch.hpp.

◆ operator<()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator< ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2278 of file catch.hpp.

◆ operator<=()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator<= ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2292 of file catch.hpp.

◆ operator==()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator== ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2257 of file catch.hpp.

◆ operator>()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator> ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2271 of file catch.hpp.

◆ operator>=()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator>= ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2285 of file catch.hpp.

◆ operator||()

template<typename LhsT , typename RhsT >
template<typename T >
auto Catch::BinaryExpr< LhsT, RhsT >::operator|| ( ) const -> BinaryExpr<LhsT, RhsT const&> const
inline

Definition at line 2250 of file catch.hpp.

◆ streamReconstructedExpression()

template<typename LhsT , typename RhsT >
void Catch::BinaryExpr< LhsT, RhsT >::streamReconstructedExpression ( std::ostream &  os) const
inlineoverrideprivatevirtual

Implements Catch::ITransientExpression.

Definition at line 2229 of file catch.hpp.

Member Data Documentation

◆ m_isBinaryExpression

bool Catch::ITransientExpression::m_isBinaryExpression
inherited

Definition at line 2216 of file catch.hpp.

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

◆ m_lhs

template<typename LhsT , typename RhsT >
LhsT Catch::BinaryExpr< LhsT, RhsT >::m_lhs
private

◆ m_op

template<typename LhsT , typename RhsT >
StringRef Catch::BinaryExpr< LhsT, RhsT >::m_op
private

◆ m_result

bool Catch::ITransientExpression::m_result
inherited

Definition at line 2217 of file catch.hpp.

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

◆ m_rhs

template<typename LhsT , typename RhsT >
RhsT Catch::BinaryExpr< LhsT, RhsT >::m_rhs
private

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