ManaPlus
Public Member Functions | Data Fields
Catch::MessageBuilder Struct Reference

#include <catch.hpp>

Public Member Functions

 MessageBuilder (std::string const &macroName, SourceLineInfo const &lineInfo, ResultWas::OfType type)
 
template<typename T >
MessageBuilderoperator<< (T const &value)
 

Data Fields

MessageInfo m_info
 
std::ostringstream m_stream
 

Detailed Description

Definition at line 1927 of file catch.hpp.

Constructor & Destructor Documentation

◆ MessageBuilder()

Catch::MessageBuilder::MessageBuilder ( std::string const &  macroName,
SourceLineInfo const &  lineInfo,
ResultWas::OfType  type 
)
inline

Definition at line 1928 of file catch.hpp.

1931  : m_info( macroName, lineInfo, type )
1932  {}
MessageInfo m_info
Definition: catch.hpp:1940

Member Function Documentation

◆ operator<<()

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

Definition at line 1935 of file catch.hpp.

1935  {
1936  m_stream << value;
1937  return *this;
1938  }
std::ostringstream m_stream
Definition: catch.hpp:1941

Field Documentation

◆ m_info

MessageInfo Catch::MessageBuilder::m_info

Definition at line 1940 of file catch.hpp.

◆ m_stream

std::ostringstream Catch::MessageBuilder::m_stream

Definition at line 1941 of file catch.hpp.


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