Classes | Public Member Functions | Private Attributes | List of all members
Catch::ResultBuilder Class Reference

#include <catch.hpp>

Classes

struct  ExprComponents
 

Public Member Functions

bool allowThrows () const
 
AssertionResult build () const
 
void captureExpression ()
 
void captureResult (ResultWas::OfType resultType)
 
void endExpression ()
 
template<typename RhsT >
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison & operator&& (RhsT const &)
 
template<typename T >
ResultBuilderoperator<< (T const &value)
 
template<typename T >
ExpressionLhs< T const & > operator<= (T const &operand)
 
ExpressionLhs< bool > operator<= (bool value)
 
template<typename RhsT >
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison & operator|| (RhsT const &)
 
void react ()
 
std::string reconstructExpression () const
 
 ResultBuilder (char const *macroName, SourceLineInfo const &lineInfo, char const *capturedExpression, ResultDisposition::Flags resultDisposition)
 
ResultBuildersetLhs (std::string const &lhs)
 
ResultBuildersetOp (std::string const &op)
 
ResultBuildersetResultType (ResultWas::OfType result)
 
ResultBuildersetResultType (bool result)
 
ResultBuildersetRhs (std::string const &rhs)
 
bool shouldDebugBreak () const
 
void useActiveException (ResultDisposition::Flags resultDisposition=ResultDisposition::Normal)
 

Private Attributes

AssertionInfo m_assertionInfo
 
AssertionResultData m_data
 
struct Catch::ResultBuilder::ExprComponents m_exprComponents
 
bool m_shouldDebugBreak
 
bool m_shouldThrow
 
CopyableStream m_stream
 

Detailed Description

Definition at line 782 of file catch.hpp.

Constructor & Destructor Documentation

Catch::ResultBuilder::ResultBuilder ( char const *  macroName,
SourceLineInfo const &  lineInfo,
char const *  capturedExpression,
ResultDisposition::Flags  resultDisposition 
)

Member Function Documentation

bool Catch::ResultBuilder::allowThrows ( ) const
AssertionResult Catch::ResultBuilder::build ( ) const
void Catch::ResultBuilder::captureExpression ( )
void Catch::ResultBuilder::captureResult ( ResultWas::OfType  resultType)
void Catch::ResultBuilder::endExpression ( )
template<typename RhsT >
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& Catch::ResultBuilder::operator&& ( RhsT const &  )
template<typename T >
ResultBuilder& Catch::ResultBuilder::operator<< ( T const &  value)
inline

Definition at line 794 of file catch.hpp.

ExpressionLhs< bool > Catch::ResultBuilder::operator<= ( bool  value)
inline

Definition at line 1402 of file catch.hpp.

template<typename T >
ExpressionLhs< T const & > Catch::ResultBuilder::operator<= ( T const &  operand)
inline

Definition at line 1398 of file catch.hpp.

template<typename RhsT >
STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison& Catch::ResultBuilder::operator|| ( RhsT const &  )
void Catch::ResultBuilder::react ( )
std::string Catch::ResultBuilder::reconstructExpression ( ) const
ResultBuilder& Catch::ResultBuilder::setLhs ( std::string const &  lhs)
ResultBuilder& Catch::ResultBuilder::setOp ( std::string const &  op)
ResultBuilder& Catch::ResultBuilder::setResultType ( ResultWas::OfType  result)
ResultBuilder& Catch::ResultBuilder::setResultType ( bool  result)
ResultBuilder& Catch::ResultBuilder::setRhs ( std::string const &  rhs)
bool Catch::ResultBuilder::shouldDebugBreak ( ) const
void Catch::ResultBuilder::useActiveException ( ResultDisposition::Flags  resultDisposition = ResultDisposition::Normal)

Member Data Documentation

AssertionInfo Catch::ResultBuilder::m_assertionInfo
private

Definition at line 821 of file catch.hpp.

AssertionResultData Catch::ResultBuilder::m_data
private

Definition at line 822 of file catch.hpp.

struct Catch::ResultBuilder::ExprComponents Catch::ResultBuilder::m_exprComponents
private
bool Catch::ResultBuilder::m_shouldDebugBreak
private

Definition at line 830 of file catch.hpp.

bool Catch::ResultBuilder::m_shouldThrow
private

Definition at line 831 of file catch.hpp.

CopyableStream Catch::ResultBuilder::m_stream
private

Definition at line 828 of file catch.hpp.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19