Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::ScopedMessage Class Reference

#include <catch_message.h>

Collaboration diagram for Catch::ScopedMessage:

Public Member Functions

 ScopedMessage (MessageBuilder const &builder)
 
 ScopedMessage (ScopedMessage &duplicate)=delete
 
 ScopedMessage (ScopedMessage &&old)
 
 ~ScopedMessage ()
 
 ScopedMessage (MessageBuilder const &builder)
 
 ScopedMessage (ScopedMessage &duplicate)=delete
 
 ScopedMessage (ScopedMessage &&old)
 
 ~ScopedMessage ()
 

Public Attributes

MessageInfo m_info
 
bool m_moved
 

Detailed Description

Definition at line 2266 of file catch.hpp.

Constructor & Destructor Documentation

◆ ScopedMessage() [1/6]

Catch::ScopedMessage::ScopedMessage ( MessageBuilder const & builder)
explicit

Definition at line 50 of file catch_message.cpp.

51 : m_info( builder.m_info ), m_moved()
52 {
53 m_info.message = builder.m_stream.str();
55 }
IResultCapture & getResultCapture()
virtual void pushScopedMessage(MessageInfo const &message)=0
std::string message
Here is the call graph for this function:

◆ ScopedMessage() [2/6]

Catch::ScopedMessage::ScopedMessage ( ScopedMessage & duplicate)
delete

◆ ScopedMessage() [3/6]

Catch::ScopedMessage::ScopedMessage ( ScopedMessage && old)

Definition at line 57 of file catch_message.cpp.

58 : m_info( old.m_info ), m_moved()
59 {
60 old.m_moved = true;
61 }

◆ ~ScopedMessage() [1/2]

Catch::ScopedMessage::~ScopedMessage ( )

Definition at line 63 of file catch_message.cpp.

63 {
64 if ( !uncaught_exceptions() && !m_moved ){
66 }
67 }
virtual void popScopedMessage(MessageInfo const &message)=0
Here is the call graph for this function:

◆ ScopedMessage() [4/6]

Catch::ScopedMessage::ScopedMessage ( MessageBuilder const & builder)
explicit

◆ ScopedMessage() [5/6]

Catch::ScopedMessage::ScopedMessage ( ScopedMessage & duplicate)
delete

◆ ScopedMessage() [6/6]

Catch::ScopedMessage::ScopedMessage ( ScopedMessage && old)

◆ ~ScopedMessage() [2/2]

Catch::ScopedMessage::~ScopedMessage ( )

Member Data Documentation

◆ m_info

MessageInfo Catch::ScopedMessage::m_info

Definition at line 71 of file catch_message.h.

◆ m_moved

bool Catch::ScopedMessage::m_moved

Definition at line 72 of file catch_message.h.


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