Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::MessageBuilder Struct Reference

#include <catch_message.h>

Inheritance diagram for Catch::MessageBuilder:
Collaboration diagram for Catch::MessageBuilder:

Public Member Functions

 MessageBuilder (StringRef const &macroName, SourceLineInfo const &lineInfo, ResultWas::OfType type)
 
template<typename T >
MessageBuilderoperator<< (T const &value)
 
 MessageBuilder (StringRef const &macroName, SourceLineInfo const &lineInfo, ResultWas::OfType type)
 
template<typename T >
MessageBuilderoperator<< (T const &value)
 
- Public Member Functions inherited from Catch::MessageStream
template<typename T >
MessageStreamoperator<< (T const &value)
 
template<typename T >
MessageStreamoperator<< (T const &value)
 

Public Attributes

MessageInfo m_info
 
- Public Attributes inherited from Catch::MessageStream
ReusableStringStream m_stream
 

Detailed Description

Definition at line 2252 of file catch.hpp.

Constructor & Destructor Documentation

◆ MessageBuilder() [1/2]

Catch::MessageBuilder::MessageBuilder ( StringRef const & macroName,
SourceLineInfo const & lineInfo,
ResultWas::OfType type )

Definition at line 42 of file catch_message.cpp.

45 :m_info(macroName, lineInfo, type) {}

◆ MessageBuilder() [2/2]

Catch::MessageBuilder::MessageBuilder ( StringRef const & macroName,
SourceLineInfo const & lineInfo,
ResultWas::OfType type )

Member Function Documentation

◆ operator<<() [1/2]

template<typename T >
MessageBuilder & Catch::MessageBuilder::operator<< ( T const & value)
inline

Definition at line 56 of file catch_message.h.

56 {
57 m_stream << value;
58 return *this;
59 }
#define value
Definition pkcs11.h:157
ReusableStringStream m_stream

◆ operator<<() [2/2]

template<typename T >
MessageBuilder & Catch::MessageBuilder::operator<< ( T const & value)
inline

Definition at line 2258 of file catch.hpp.

2258 {
2259 m_stream << value;
2260 return *this;
2261 }

Member Data Documentation

◆ m_info

MessageInfo Catch::MessageBuilder::m_info

Definition at line 61 of file catch_message.h.


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