ManaPlus
Public Member Functions | Data Fields
doctest::detail::MessageBuilder Struct Reference

#include <doctest.h>

Inheritance diagram for doctest::detail::MessageBuilder:
doctest::MessageData

Public Member Functions

 MessageBuilder (const char *file, int line, assertType::Enum severity)
 
 MessageBuilder ()=delete
 
 ~MessageBuilder ()
 
 MessageBuilder (const MessageBuilder &)=delete
 
MessageBuilderoperator= (const MessageBuilder &)=delete
 
template<typename T >
MessageBuilderoperator<< (const T &in)
 
bool log ()
 
void react ()
 
- Public Member Functions inherited from doctest::MessageData
 MessageData ()
 
 ~ MessageData ()
 
 MessageData (const MessageData &)=delete
 
MessageDataoperator= (const MessageData &)=delete
 

Data Fields

std::ostream * m_stream
 
- Data Fields inherited from doctest::MessageData
String m_string
 
const char * m_file
 
int m_line
 
assertType::Enum m_severity
 

Detailed Description

Definition at line 1632 of file doctest.h.

Constructor & Destructor Documentation

◆ MessageBuilder() [1/3]

doctest::detail::MessageBuilder::MessageBuilder ( const char *  file,
int  line,
assertType::Enum  severity 
)

◆ MessageBuilder() [2/3]

doctest::detail::MessageBuilder::MessageBuilder ( )
delete

◆ ~MessageBuilder()

doctest::detail::MessageBuilder::~MessageBuilder ( )

◆ MessageBuilder() [3/3]

doctest::detail::MessageBuilder::MessageBuilder ( const MessageBuilder )
delete

Member Function Documentation

◆ log()

bool doctest::detail::MessageBuilder::log ( )

◆ operator<<()

template<typename T >
MessageBuilder& doctest::detail::MessageBuilder::operator<< ( const T &  in)
inline

Definition at line 1643 of file doctest.h.

1643  {
1644  toStream(m_stream, in);
1645  return *this;
1646  }
void toStream(std::ostream *s, const T &value)
Definition: doctest.h:1504

References doctest::detail::toStream().

◆ operator=()

MessageBuilder& doctest::detail::MessageBuilder::operator= ( const MessageBuilder )
delete

◆ react()

void doctest::detail::MessageBuilder::react ( )

Field Documentation

◆ m_stream

std::ostream* doctest::detail::MessageBuilder::m_stream

Definition at line 1634 of file doctest.h.


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