Agora  1.2.0
Agora project
Catch::BinaryExpr< LhsT, RhsT > Class Template Reference

#include <catch.hpp>

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

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
 
- Public Member Functions inherited from Catch::ITransientExpression
auto isBinaryExpression () const -> bool
 
auto getResult () const -> bool
 
 ITransientExpression (bool isBinaryExpression, bool result)
 
virtual ~ITransientExpression ()
 

Private Member Functions

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

Private Attributes

LhsT m_lhs
 
StringRef m_op
 
RhsT m_rhs
 

Additional Inherited Members

- Public Attributes inherited from Catch::ITransientExpression
bool m_isBinaryExpression
 
bool m_result
 

Constructor & Destructor Documentation

◆ BinaryExpr()

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

Member Function Documentation

◆ operator!=()

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

◆ operator&&()

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

◆ operator<()

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

◆ operator<=()

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

◆ operator==()

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

◆ operator>()

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

◆ operator>=()

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

◆ operator||()

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

◆ streamReconstructedExpression()

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

Implements Catch::ITransientExpression.

Here is the call graph for this function:

Member Data Documentation

◆ 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_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: