| The Gaudi Framework v32r1 (f65d50dc)

Classes | Functions
Message.h File Reference
`#include "GaudiKernel/EventContext.h"`
`#include "GaudiKernel/Kernel.h"`
`#include "GaudiKernel/ThreadLocalContext.h"`
`#include <iostream>`
`#include <string>`
Include dependency graph for Message.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | Message
| The Message class. More...

## Functions
GAUDI_API std::ostream & | operator<< (std::ostream &stream, const Message &msg)
| Insert the message into a stream. More...
GAUDI_API bool | operator== (const Message &a, const Message &b)
| Insert the message into a stream. More...

## Function Documentation

## ◆ operator<<()

GAUDI_API std::ostream& operator<< | ( | std::ostream & | stream,
|  | const Message & | msg
| ) |  |

Insert the message into a stream.

Definition at line 94 of file Message.cpp.

94 {
95 msg.makeFormattedMsg( msg.m_format );
96 stream << msg.m_formatted_msg;
97 return stream;
98 }
GaudiMP.FdsRegistry.msg
msg
Definition: FdsRegistry.py:8

## ◆ operator==()

GAUDI_API bool operator== | ( | const Message & | a,
|  | const Message & | b
| ) |  |

Insert the message into a stream.

Definition at line 116 of file Message.cpp.

116 {
117 return a.m_source == b.m_source && a.m_type == b.m_type && a.m_message == b.m_message;
118 }
Message::m_message
std::string m_message
The message text.
Definition: Message.h:92
Message::m_source
std::string m_source
The message source.
Definition: Message.h:93
Message::m_type
int m_type
The message type/level.
Definition: Message.h:94